MCQOPTIONS
Saved Bookmarks
This section includes 5 Mcqs, each offering curated multiple-choice questions to sharpen your Compilers knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
An intermediate code form is ___________ |
| A. | Postfix Notation |
| B. | Syntax Trees |
| C. | Three address code |
| D. | All of the mentioned |
| Answer» E. | |
| 2. |
The address code involves _____________ |
| A. | Exactly 3 address |
| B. | At most Three address |
| C. | No unary operators |
| D. | None of the mentioned |
| Answer» E. | |
| 3. |
( Z,* ) be a structure, and * is defined by n * m =maximum (n, m) Which of the following statements is true for ( Z, * )? |
| A. | ( Z,* ) is a monoid |
| B. | ( Z,* ) is an algebraic group |
| C. | ( Z,* ) is a group |
| D. | None of the mentioned |
| Answer» E. | |
| 4. |
LR parsers are attractive because _________ |
| A. | It can be constructed to recognize CFG corresponding to almost all programming constructs |
| B. | It does not backtrack |
| C. | It can be constructed to recognize CFG corresponding to almost all programming constructs & It does not backtrack |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 5. |
In operator precedence parsing whose precedence relations are defined _________ |
| A. | For all pair of non-terminals |
| B. | For all pair of terminals |
| C. | To delimit the handle |
| D. | None of the mentioned |
| Answer» B. For all pair of terminals | |