Phases of Compiler Design Mcqs

Our collections of Multiple choice questions and answers focuses on study of Phases of Compiler Design. These topics are chosen from a collection of most authoritative and best reference books on Phases of Compiler Design to prepare an individual for competitive exams like NTS, GAT, ECAT, University and College entrance exams and various tests and interviews. One should practice to assimilate Phases of Phases of Compiler Design Topic comprehensively.

Which of these is not a part of Synthesis phase

Obtain machine code corresponding to the mnemonic from the Mnemonics table

Obtain address of a memory operand from the symbol table

Perform LC processing

Synthesize a machine instruction or the machine form of a constant

The following features are needed to implement top down parsing

Source string marker

Prediction making mechanism

Matching and Backtracking mechanism

All of the above

Which of the following derivation a top-down parser use while parsing an input string? The input is assumed to be scanned in left to right order ?

Leftmost derivation

Leftmost derivation traced out in reverse

Rightmost derivation

Rightmost derivation traced out in reverse

Scroll to Top