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. |
Function of the storage assignment is |
| A. | Assign storage to all variables referenced in the source program |
| B. | Assign storage to all temporary locations that are necessary for intermediate results |
| C. | Assign storage to literals, and to ensure that the storage is allocated and appropriate locations are initialized |
| D. | All of the mentioned |
| Answer» E. | |
| 2. |
Disadvantage of ” Compile and GO ” loading scheme is that$ |
| A. | Memory is wasted because the case occupied by the assembler is unavailable to the object program |
| B. | Necessary to translate the users program |
| C. | It is very difficult to handle multiple segments, even when the source programs are in different languages and to produce orderly modular programs |
| D. | All of the mentioned |
| Answer» E. | |
| 3. |
When a computer is rebooted, a special type of loader is executed called |
| A. | Compile and GO ” loader |
| B. | Boot loader |
| C. | Bootstrap Loader |
| D. | Relating Loader |
| Answer» D. Relating Loader | |
| 4. |
The specific task storage manager performs |
| A. | Allocation/ deal location of programs |
| B. | Protection of storage area assigned to the program |
| C. | Both of the mentioned |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 5. |
The graph that shows basic blocks and their successor relationship is called |
| A. | Dag |
| B. | Flow Graph |
| C. | Control Graph |
| D. | Hamilton Graph |
| Answer» C. Control Graph | |