BPSC TRE – Compiler Design: Syntax Analysis & Parsing | Test 1

Questions 21-25 of 50

0% completed (0/50 answered)
Your score 0/50 0 answered
Correct 0 Incorrect 0 Unanswered 50 Accuracy 0%

Question 21

MCQ · Single Correct 1 mark

How does YACC / BISON resolve an un-annotated Shift/Reduce conflict by default?

Answers for question 21

Question 22

MCQ · Single Correct 1 mark

How does YACC / BISON resolve an un-annotated Reduce/Reduce conflict by default?

Answers for question 22

Question 23

MCQ · Single Correct 1 mark

In a parse tree representation of a derivation, what do the LEAF nodes represent?

Answers for question 23

Question 24

MCQ · Single Correct 1 mark

In a parse tree representation of a derivation, what do the INTERIOR (non-leaf) nodes represent?

Answers for question 24

Question 25

MCQ · Single Correct 1 mark

Which function in LL(1) parsing computes the set of terminal symbols that can appear as the first symbol of a string derived from a string of grammar symbols $\alpha$?

Answers for question 25
Scroll to Top