

MCQOPTIONS
Saved Bookmarks
This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your Compilers knowledge and support exam preparation. Choose a topic below to get started.
1. |
What is the task of the lexical analysis? |
A. | None of the mentioned |
B. | To build a literal and identifier table |
C. | To build a uniform symbol table |
D. | To build a uniform symbol table, literal and identifier table |
Answer» E. | |
2. |
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 | |
3. |
Given the language L-{ab, aa, baa}, which of the following strings are in LG? |
A. | 1,2 and 3 |
B. | 2,3 and 4 |
C. | 1,2 and 4 |
D. | 1,3 and 4View Answer |
Answer» D. 1,3 and 4View Answer | |
4. |
Which languages necessarily need heap allocation in the runtime environment? |
A. | Those that support recursion |
B. | Those that use dynamic scoping |
C. | Allow dynamic data structure |
D. | Those that use global variables |
Answer» D. Those that use global variables | |