MCQOPTIONS
Saved Bookmarks
This section includes 8 Mcqs, each offering curated multiple-choice questions to sharpen your Compilers knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
RUNNING_TIME_OF_A_PROGRAM_DEPENDS_ON?$ |
| A. | Addressing mode |
| B. | Order of computations |
| C. | The usage of machine idioms |
| D. | All of the mentioned |
| Answer» E. | |
| 2. |
A_TOP_DOWN_PARSER_GENERATES?$ |
| A. | Rightmost Derivation |
| B. | Right most derivation in reverse |
| C. | Left most derivation |
| D. | Left most derivation in reverse |
| Answer» D. Left most derivation in reverse | |
| 3. |
AB+(A+B)’ is equivalent t?# |
| A. | A?B |
| B. | A+B |
| C. | (A+B)A |
| D. | (A+B)B |
| Answer» B. A+B | |
| 4. |
The action of parsing the source program into proper syntactic classes is called |
| A. | Syntax Analysis |
| B. | Lexical Analysis |
| C. | Interpretation analysis |
| D. | General Syntax Analysis |
| Answer» C. Interpretation analysis | |
| 5. |
A parser with the valid prefix property is advantageous because it |
| A. | Detects errors |
| B. | None |
| C. | Errors are passed to the text phase |
| D. | All of the mentioned |
| Answer» D. All of the mentioned | |
| 6. |
In an absolute loading scheme which loader function is accomplished by assembler |
| A. | Re-allocation |
| B. | Allocation |
| C. | Linking |
| D. | Loading |
| Answer» B. Allocation | |
| 7. |
YACC builds up |
| A. | SLR parsing table |
| B. | Canonical LR parsing table |
| C. | LALR parsing table |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 8. |
Inherited attribute is a natural choice in |
| A. | Variable declarations record is maintained |
| B. | L values and R values |
| C. | All of the mentioned |
| D. | None of the mentioned |
| Answer» B. L values and R values | |