COMPILER DESIGN

INTRODUCTION TO COMPILER DESIGN

KEY COMPONENTS OF A COMPILER

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Semantic Analyser is used for?
A
Generating Object code
B
Maintaining symbol table
C
Generating Object code & Maintaining symbol table
D
None of the mentioned
Explanation: 

Detailed explanation-1: -Semantic analysis or context sensitive analysis is a process in compiler construction, usually after parsing, to gather necessary semantic information from the source code.

Detailed explanation-2: -The syntax analysis is the essential step for the compilation of programs written in programming languages. In order to produce the object programs executable on the computer, the source program has to be analyzed with respect to its correctness, the correctness of the lexicon, syntax and semantics.

There is 1 question to complete.