BPSC TRE – Compiler Design: Syntax-Directed Translation & Intermediate Code | Test 1

Questions 1-5 of 50

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

Question 1

MCQ · Single Correct 1 mark

What is Syntax-Directed Translation (SDT) in compiler design?

Answers for question 1

Question 2

MCQ · Single Correct 1 mark
Previous Year Question BPSC TRE 3.0 Class 11-12 PYQ PYQ

[BPSC TRE 3.0 Class 11-12 PYQ] In Syntax-Directed Definition (SDD), an attribute is synthesized if its value at a parse tree node is determined by:

Answers for question 2

Question 3

MCQ · Single Correct 1 mark

An attribute of a parse tree node is called an Inherited Attribute if its value is defined in terms of:

Answers for question 3

Question 4

MCQ · Single Correct 1 mark

Which of the following is true regarding an S-Attributed Definition?

Answers for question 4

Question 5

MCQ · Single Correct 1 mark

An L-Attributed Definition allows inherited attributes to depend on:

Answers for question 5
Scroll to Top