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

Questions 46-50 of 100

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

Question 46

MCQ · Single Correct 1 mark

What stack operations are used by a Shift-Reduce Bottom-Up parser during parsing?

Answers for question 46

Question 47

MCQ · Single Correct 1 mark

In a parse tree for a context-free grammar, what do the leaf nodes represent?

Answers for question 47

Question 48

MCQ · Single Correct 1 mark

In a parse tree, what do the internal (interior) non-leaf nodes represent?

Answers for question 48

Question 49

MCQ · Single Correct 1 mark

Which parsing strategy builds the parse tree starting from the root non-terminal symbol down towards the input terminals?

Answers for question 49

Question 50

MCQ · Single Correct 1 mark

Which parsing strategy builds the parse tree starting from the input terminals upwards towards the root start symbol?

Answers for question 50
Scroll to Top