GIET MAIN CAMPUS, AUTONOMOUS GUNUPUR -765022COMPUTER SCIENCE AND ENGINEERINGCOMPILER DESIGN QUESTION BANK(A) Callee(B) Caller(C) Both Caller and Callee(D) None of the other optionsMCQ 18.Local storage is created by[CO3|PO1]
Get answer to your question and much more
MCQ 19.For the rule S -> L := E, if L is a single variable, L.place is equal to[CO 3/PO 2]
Get answer to your question and much more
MCQ 20.For the rule B -> B1 and B2, the operation "B1.false = B.false" requires twopasses as[CO3|PO2](A) B1.false is not known(B) B.false is not known(C) Both B1.false and B.false are unknown(D) None of the other optionsMCQ 21.For Boolean variable B, B.truelist contains[CO3|PO2](A) List of locations at which B is true(B) List of locations to jump to if B is true(C) List of locations at which B is true and the locations to branch to(D) None of the other options
MCQ 22.In the rule B -> B1 or MB2, the nonterminal M is used to remember the startaddress of[CO3|PO1]
Get answer to your question and much more
MCQ 23.In the rule S -> if B then M S1, M holds the start address for[CO3|PO1]
Get answer to your question and much more
Short Type Questions [2 Marks]:1.What are the different types of intermediate code generation?[CO3|PO1]2.Find out the quadruple representation of the following statement.[CO3|PO2]A:= -B*(C+D)3.What do you mean by inherited attribute?[CO3|PO1]4.What is the role of an error handler in parser?[CO3|PO1]5.What are the different parts of run time storage?[CO3|PO1]6.Differentiate between static and dynamic storage.[CO3|PO1]7.What is code motion?[CO3|PO1]8.What is the necessity of dead code elimination?[CO3|PO1]9.What do you mean by postfix translation?[CO3|PO1]10.What are the benefits of intermediate code generation?[CO3|PO1]