COMPUTER SCIENCE AND ENGINEERING
COMPILER DESIGN
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Semantic Analyser is used for?
|
Generating Object code
|
|
Maintaining symbol table
|
|
Generating Object code & Maintaining symbol table
|
|
None of the mentioned
|
Explanation:
Detailed explanation-1: -Semantic analysis is the task of ensuring that the declarations and statements of a program are semantically correct, i.e, that their meaning is clear and consistent with the way in which control structures and data types are supposed to be used.
Detailed explanation-2: -What is the purpose of syntactic analysis? Its purpose is to understand the structure of input text, from the smallest basic symbols, all the way to sentences, and then derive logical meaning from it.
There is 1 question to complete.