BPSC TRE – Compiler Design | Full-Length Test-1

Questions 36-40 of 100

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

Question 36

MCQ · Single Correct 1 mark

In YACC / BISON parser generators, what file extension is conventionally used for input parser specification files?

Answers for question 36

Question 37

MCQ · Single Correct 1 mark

What default action does YACC perform when encountering a Shift/Reduce conflict in an ambiguous context-free grammar?

Answers for question 37

Question 38

MCQ · Single Correct 1 mark

What default action does YACC perform when encountering a Reduce/Reduce conflict?

Answers for question 38

Question 39

MCQ · Single Correct 1 mark

In Panic-Mode Error Recovery for LL(1) parsers, which set of terminal symbols is chosen as synchronizing tokens?

Answers for question 39

Question 40

MCQ · Single Correct 1 mark

If a CFG rule is E -> E + T | T, how can left recursion be eliminated to make it suitable for top-down LL(1) parsing?

Answers for question 40
Scroll to Top