Discussion
In a compiler, keywords of a language are recognized during
Answer: C
Keywords are recognised during the lexical analysis of the program.
The lexical analyser (scanner) reads the character stream and groups it into tokens such as identifiers, numbers, operators and keywords. Keywords are usually recognised there, often by first matching an identifier and then looking it up in a table of reserved words.
The parser works on the tokens the scanner has already produced, and code generation and dataflow analysis come much later in the compiler.
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