MCQOPTIONS
Saved Bookmarks
This section includes 3 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. |
The lexical analyzer takes _________ as input and produces a stream of _______ as output. |
| A. | Source program, tokens |
| B. | Token, source program |
| C. | Either A and B |
| D. | None of the mentioned |
| Answer» B. Token, source program | |