GATE CSE SDT, Intermediate Code, Optimization & Code Generation – Compiler Design | Set 1

Questions 41-45 of 100

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

Question 41

MCQ · Single Correct 1 mark

What is the maximum number of operands in a standard Three-Address Code instruction?

Answers for question 41

Question 42

MCQ · Single Correct 1 mark

Convert the statement 'if (a < b) $x = 1$; else x = 2;' into Three-Address Code using conditional jumps. What is the minimum number of TAC instructions?

Answers for question 42

Question 43

MCQ · Single Correct 1 mark

What is the primary difference between an Abstract Syntax Tree (AST) and a Parse Tree (Concrete Syntax Tree)?

Answers for question 43

Question 44

MCQ · Single Correct 1 mark

In intermediate code generation using backpatching, what are 'truelist' and 'falselist' synthesized attributes used for?

Answers for question 44

Question 45

MCQ · Single Correct 1 mark

Which intermediate code format represents expressions as a syntax tree where operators are interior nodes and operands are children?

Answers for question 45
Scroll to Top