Syntax-Directed Translation: GATE CS previous year questions
Syntax-Directed Translation is part of Compiler Design in the GATE CS syllabus. This page lists 8 past-paper questions on it from official GATE CS papers.
Syntax-directed translation
- Consider the following grammar and the semantic actions to support the inherited type…
- Which of the following statements is/are FALSE?
- Consider the syntax directed translation given by the following grammar and semantic…
- Given the following syntax directed translation rules: Rule 1: R → AB {B.i = R.i - 1…
- Consider the productions A → PQ and A → XY. Each of the five non-terminals A, P, Q, X…
- Consider the following syntax-directed definition (SDD). S → DHTU | { S.val = D.val +…
- Consider the following grammar (that admits a series of declarations, followed by…
- Consider the following Syntax Directed Translation Scheme (SDTS), with non-terminals {S…
More Compiler Design chapters
- Lexical Analysis
- Parsing
- Runtime Environments
- Intermediate Code Generation
- Local Optimisation
- Data Flow Analysis
Frequently asked questions
How many GATE CS questions are there on Syntax-Directed Translation?
PrepWiser has 8 past-paper questions on Syntax-Directed Translation from official GATE CS papers.
Are these real GATE CS questions?
Yes. Each one is from an official GATE CS paper and names its year and set. The answers come from the official answer keys.
Where are the step-by-step solutions?
Every question shows its answer, free. Step-by-step solutions, where available, are part of GATE CS Pro.