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

Questions 56-60 of 100

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

Question 56

MCQ · Single Correct 1 mark

Convert the arithmetic expression a + b * c into Prefix (Polish) Notation:

Answers for question 56

Question 57

MCQ · Single Correct 1 mark

What is a Directed Acyclic Graph (DAG) used for in the intermediate code generation phase?

Answers for question 57

Question 58

MCQ · Single Correct 1 mark

In a Syntax-Directed Translation Scheme (SDT) based on an L-attributed SDD, where may semantic actions be placed?

Answers for question 58

Question 59

MCQ · Single Correct 1 mark

In backpatching techniques for boolean expressions and control flow, what is the role of makelist(i)?

Answers for question 59

Question 60

MCQ · Single Correct 1 mark

In backpatching, what does the function call backpatch(p, i) perform?

Answers for question 60
Scroll to Top