

MCQOPTIONS
Saved Bookmarks
This section includes 7 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 calle? |
A. | Compile and GO ” loader |
B. | Boot loader |
C. | Bootstrap Loader |
D. | Relating Loader |
Answer» D. Relating Loader | |
4. |
The identification of common sub-expression and replacement of run-time computations by compile-time computations is |
A. | Local optimization |
B. | Loop optimization |
C. | Constant folding |
D. | Data flow analysis |
Answer» D. Data flow analysis | |
5. |
In which of the following no information hiding is done? |
A. | Compile prig 1, prig 2 |
B. | Run test, prog |
C. | Load R1 , A |
D. | 001001000010101 |
Answer» E. | |
6. |
Which of the following features cannot be captured by CFG ? |
A. | Syntax of if-then-else statements |
B. | Syntax of recursive procedures |
C. | A variable is declared before its use |
D. | Matching nested parenthesis |
Answer» E. | |
7. |
Which is not true about syntax and semantic parts of a computer language? |
A. | Semantics is checked mechanically by a computer |
B. | Semantics is the responsibility of the programmer |
C. | All of the mentioned |
D. | None of the mentioned |
Answer» E. | |