Compiler Design Questions and Answers
5. |
How many parts of compiler are there? |
|
|
6. |
Grammar of the programming is checked at _______ phase of compiler. |
|
- A. Semantic analysis
- B. Syntax analysis
- C. Code optimization
- D. Code generation
|
7. |
_________ is a process of finding a parse tree for a string of tokens. |
|
- A. Parsing
- B. Analysing
- C. Recognizing
- D. Tokenizing
|
8. |
What is the action of parsing the source program into proper syntactic classes? |
|
- A. Lexical analysis
- B. Syntax analysis
- C. General syntax analysis
- D. Interpretation analysis
|