

MCQOPTIONS
Saved Bookmarks
This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Compilers knowledge and support exam preparation. Choose a topic below to get started.
1. |
Which of the following are Lexemes? |
A. | Identifiers |
B. | Constants |
C. | Keywords |
D. | All of the mentioned |
Answer» E. | |
2. |
Which concept of grammar is used in the compiler |
A. | Lexical analysis |
B. | Parser |
C. | Code generation |
D. | Code optimization |
Answer» C. Code generation | |
3. |
Which concept of FSA is used in the compiler? |
A. | Lexical analysis |
B. | Parser |
C. | Code generation |
D. | Code optimization |
Answer» B. Parser | |
4. |
Object program is a |
A. | Program written in machine language |
B. | Program to be translated into machine language |
C. | Translation of high-level language into machine language |
D. | None of the mentioned |
Answer» D. None of the mentioned | |
5. |
For operator precedence parsing, which one is true? |
A. | For all pair of non-terminal |
B. | For all pair of non-terminals |
C. | To delimit the handle |
D. | None of the mentioned |
Answer» B. For all pair of non-terminals | |
6. |
The output of lexical analyzer is |
A. | A set of RE |
B. | Syntax Tree |
C. | Set of Tokens |
D. | String Character |
Answer» D. String Character | |