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

Questions 51-55 of 100

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

Question 51

MCQ · Single Correct 1 mark

In Syntax-Directed Translation (SDT), what is the difference between a Parse Tree and an Abstract Syntax Tree (AST)?

Answers for question 51

Question 52

MCQ · Single Correct 1 mark

Which type of Intermediate Representation (IR) uses 3 memory address fields per instruction: op, arg1, arg2, result?

Answers for question 52

Question 53

MCQ · Single Correct 1 mark

How do Triples differ from Quadruples in Three-Address Code representations?

Answers for question 53

Question 54

MCQ · Single Correct 1 mark

What advantage do Indirect Triples offer over standard Triples during code optimization passes?

Answers for question 54

Question 55

MCQ · Single Correct 1 mark

Convert the arithmetic expression (a + b) * (c - d) into Postfix (Reverse Polish) Notation:

Answers for question 55
Scroll to Top