Bottom Up Parsing on Compiler related Questions and Answers

Question 2 : ( Z,* ) be a structure, and * is defined by n * m =maximum ( n , m ) Which of the following statements is true for ( Z, * ) ?
1. ( Z,* ) is a monoid
2. ( Z,* ) is an algebraic group
3. ( Z,* ) is a group
4. None of the mentioned
View Answer   Discuss with Members

Question 6 : In operator precedence parsing whose precedence relations are defined
1. For all pair of non-terminals
2. For all pair of terminals
3. To delimit the handle
4. None of the mentioned
View Answer   Discuss with Members

Question 7 : The symbol table implementation is based on the property of locality of reference is
1. Linear List
2. Search Tree
3. Hash table
4. Self Organization
View Answer   Discuss with Members

Question 8 : A shift reduce parser carries out the actions specified within braces immediately after reducing with the corresponding rule of grammar S—-> xxW ( PRINT “1”) S—-> y { print ” 2 ” } S—-> Sz { print ” 3 ” ) What is the translation of xxxxyzz using the syntax directed translation scheme described by the above rules ?
1. 23131
2. 11233
3. 11231
4. 33211
View Answer   Discuss with Members

Question 9 : Resolution of externally defined symbols is performed by
1. Linker
2. Loader
3. Compiler
4. Interpreter
View Answer   Discuss with Members


View 1 - 10 of 67 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter