Question
Which phase of the compiler checks the type consistency
of the program?Solution
Semantic analysis ensures type compatibility and checks declarations against usage in the program.
In a compiler, lexical analysis is responsible for:
Which of the following is TRUE about symbol tables?
DBMS periodically suspends all processing and synchronizes its files and journals through the use of
Which statement about intermediate code is TRUE?
Which of these is used for resolving operator precedence in parsing?
Which of the following grammars is suitable for top-down parsing?
What is the purpose of Normalization in database design?
Which of the following is NOT a type of intermediate code?
Which of the following is the first phase of a compiler?
Which optimization is performed after intermediate code generation?