Discussion
In analyzing the compilation of PL/I (Programming Language One) program, the term "Lexical analysis" is associated with
Answer: B
Lexical analysis is associated with recognition of basic elements and creation of uniform symbols.
In the classic model of a PL/I compiler, the lexical phase scans the source, recognises its basic elements (identifiers, literals, operators and keywords) and replaces each by a uniform symbol, entering identifiers and literals in tables for later phases.
Recognising syntactic constructs through reductions is syntax analysis, and producing optimised matrices or assembly code belongs to the optimisation and code generation phases.
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