Course Hero Logo

Mcq 11 p code is used for co3po1 a stack based

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 15 - 18 out of 18 pages.

MCQ 11.P-code is used for[CO3|PO1](A) Stack-based machine(B) Accumulator based machine(C) Two operand addresses(D) None of the other options
MCQ 12.Backpatching is needed to generate intermediate code using[CO3|PO1]
MCQ 13.Jump table is suitable for[CO3|PO1]
MCQ 14.If case values are widely spaced, it is better to use[CO3|PO1]
MCQ 15.Q111. Function call actions are divided into sequences[CO3|PO1](A) Calling and return(B) Calling and composition(C) Return and composition(D) None of the other options
MCQ 16.Q112. Evaluation of actual parameters is done by[CO3|PO1]
MCQ 17.Register saving is done by[CO3|PO1]
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]
MCQ 19.For the rule S -> L := E, if L is a single variable, L.place is equal to[CO 3/PO 2]
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]
MCQ 23.In the rule S -> if B then M S1, M holds the start address for[CO3|PO1]
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]
GIET MAIN CAMPUS, AUTONOMOUS GUNUPUR -765022COMPUTER SCIENCE AND ENGINEERINGCOMPILER DESIGN QUESTION BANK11.Define back patching.[CO3|PO1]

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 18 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Spring
Professor
N/A
Tags
b c

Newly uploaded documents

Show More

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture