Compilers Entrance Exams Online Exam Quiz
Compilers Entrance Exams GK Quiz. Question and Answers related to Compilers Entrance Exams. MCQ (Multiple Choice Questions with answers about Compilers Entrance Exams
What data structure in a complier is used for managing information about variables and their attributes?
Options
A : Abstract syntax tree
B : Symbol table
C : Semantic stack
D : Parse table
An LALR(1) parser for a grammar can have shift-reduce (S-R) conflicts if and only if ___________
Options
A : The SLR(1) parser for G has S-R conflicts
B : The LR(1) parser for G has S-R conflicts
C : The LR(0) parser for G has S-R conflicts
D : The LALR(1) parser for G has reduce-reduce conflicts
Some code optimizations are carried out on the intermediate code because _______________
Options
A : They enhance the portability of the complier to other target processors
B : Program analysis is name accurate on intermediate code than on machine code
C : The information from data flow analysis cannot otherwise be used for optimization
D : The information from the front end cannot otherwise be used for optimization
Chemical Engineering Basics - Part 1 more Online Exam Quiz
Compilers Context Free Grammar 1
Compilers Data Structure Representing Parsing Table 1
Compilers Error Recovery Lr Phase 1