

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. |
The best way to compare the different implementations of symbol table is to compare the time required to ____________ |
A. | Add a new name |
B. | Make an enquiry |
C. | Add a new name and make an enquiry |
D. | All of the mentioned |
Answer» E. | |
2. |
Generation of intermediate code based on a abstract machine model is useful in compilers because ____________ |
A. | Implementation of lexical analysis and syntax analysis is made easier |
B. | Writing for intermediate code generation |
C. | Portability of the front end of the compiler |
D. | None of the mentioned |
Answer» B. Writing for intermediate code generation | |
3. |
Relocation bits used by relocating loader are specified by ____________ |
A. | Relocating loader itself |
B. | Linker |
C. | Assembler |
D. | Macro processor |
Answer» C. Assembler | |
4. |
Which of the following can be accessed by the transfer vector approach of linking? |
A. | External data segments |
B. | External sub-routines |
C. | Data located in other procedure |
D. | All of the mentioned |
Answer» C. Data located in other procedure | |
5. |
Scissoring enables ______________ |
A. | A part of data to be displayed |
B. | Entire data to be displayed |
C. | Full data display on full screen |
D. | No data to be displayed |
Answer» B. Entire data to be displayed | |
6. |
A self-relocating program is one which? |
A. | Cannot execute in any area of storage other than the one designated |
B. | Consists of a program and information for its relocation |
C. | None of the mentioned |
D. | All of the mentioned |
Answer» D. All of the mentioned | |
7. |
A relocatable program form is one which? |
A. | Cannot execute in any area of storage other than the one designated |
B. | Consists of a program and information for its relocation |
C. | None of the mentioned |
D. | All of the mentioned |
Answer» D. All of the mentioned | |
8. |
A non relocatable program is the one which? |
A. | Cannot execute in any area of storage other than the one designated |
B. | Consists of a program and information for its relocation |
C. | None of the mentioned |
D. | All of the mentioned |
Answer» B. Consists of a program and information for its relocation | |