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. |
In a two pass assembler the object code generation is done during the __________ |
| A. | Second pass |
| B. | First pass |
| C. | Zeroth pass |
| D. | Not done by assembler |
| Answer» B. First pass | |
| 2. |
What is an example of intermediate language? |
| A. | SNOBOL |
| B. | PASCAL |
| C. | COBOL |
| D. | UNCOL |
| Answer» E. | |
| 3. |
Bottom up parsing involves __________ |
| A. | Shift reduce |
| B. | Handle pruning |
| C. | Shift reduce & Handle pruning |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 4. |
Producer consumer problem can be solved using __________ |
| A. | Semaphores |
| B. | Event counters |
| C. | Monitors |
| D. | All of the mentioned |
| Answer» E. | |
| 5. |
Predictive parsers can be __________ |
| A. | Recursive |
| B. | Constructive |
| C. | Non recursive |
| D. | Both Recursive and Constructive |
| Answer» B. Constructive | |
| 6. |
What is linker? |
| A. | Is same as the loader |
| B. | Create a load module |
| C. | Is same as the loader & Create a load module |
| D. | None of the mentioned |
| Answer» C. Is same as the loader & Create a load module | |
| 7. |
A programming language is to be designed to run on a machine that does not have a big memory. |
| A. | Prefer a 2 pass compiler |
| B. | Prefer an interpreter |
| C. | Not support recursion |
| D. | All of the mentioned |
| Answer» E. | |
| 8. |
Which of the following is not a feature of the compiler? |
| A. | Converts it into machine code |
| B. | None of the mentioned |
| C. | Slow for debugging |
| D. | Execution time is more |
| Answer» E. | |