

MCQOPTIONS
Saved Bookmarks
This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Compilers knowledge and support exam preparation. Choose a topic below to get started.
1. |
Shift reduce parsers ar? |
A. | Top down Parser |
B. | Bottom Up parser |
C. | May be top down or bottom up |
D. | None of the mentioned |
Answer» C. May be top down or bottom up | |
2. |
The optimization which avoids test at every iteration is |
A. | Loop unrolling |
B. | Loop jamming |
C. | Constant folding |
D. | None of the mentioned |
Answer» B. Loop jamming | |
3. |
Pee Hole optimization |
A. | Loop Optimization |
B. | Local Optimization |
C. | Constant folding |
D. | Data Flow analysis |
Answer» D. Data Flow analysis | |
4. |
A latch is constructed using two cross coupled |
A. | AND OR gates |
B. | AND gates |
C. | NAND and NOR gates |
D. | NAND gates |
Answer» E. | |
5. |
An optimizer Compiler |
A. | Is optimized to occupy less space |
B. | Both of the mentioned |
C. | Optimize the code |
D. | None of the mentioned |
Answer» E. | |
6. |
A grammar that produces more than one parse tree for some sentence is called |
A. | Ambiguous |
B. | Unambiguous |
C. | Regular |
D. | None of the mentioned |
Answer» B. Unambiguous | |