Discussion
Arrange the classical phases of a compiler in the order a source program passes through them.
1. semantic analysis
2. lexical analysis
3. intermediate code generation
4. syntax analysis
Answer: D
Characters become tokens in lexical analysis, tokens become a parse tree in syntax analysis, the tree is checked for meaning in semantic analysis, and only then is an intermediate representation emitted for the back end.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development