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

Questions 21-25 of 100

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

Question 21

MCQ · Single Correct 1 mark

Syntax-Directed Definitions (SDDs) without side effects are also known as:

Answers for question 21

Question 22

MCQ · Single Correct 1 mark

Suppose an L-attributed grammar is parsed using a top-down predictive parser. How are inherited attributes passed to recursive functions?

Answers for question 22

Question 23

MCQ · Single Correct 1 mark

Which of the following problems can be solved using Syntax Directed Translation?

Answers for question 23

Question 24

MCQ · Single Correct 1 mark

In the context of SDD evaluation, what does a 'Topological Sort' of a dependency graph guarantee?

Answers for question 24

Question 25

MCQ · Single Correct 1 mark

In a Syntax-Directed Translation, side-effects such as 'print(E.val)' or 'insert_symboltable()' are known as:

Answers for question 25
Scroll to Top