GATE CS Compiler Design Previous Year Questions
9 solved GATE CS questions on Compiler Design, drawn from 1 exam year and grouped by year. Every question shows the official answer and a step-by-step solution.
GATE CS 20249 questions
- Set 1 Q26Which of the following is/are Bottom-Up Parser(s)?MSQ · +1 marks · Easy
- Set 1 Q37Consider the following syntax-directed definition (SDD). | Production | Semantic Rules | | ------ | ------ | |
S → DHTU|…MCQ · +2 marks · Medium - Set 1 Q38Consider the following grammar , with as the start symbol. The grammar has three incomplete productions denoted by (1), (2), and (3).…MCQ · +2 marks · Medium
- Set 1 Q39Consider the following pseudo-code. [code] Which one of the following options CORRECTLY specifies the number of basic blocks and the number of instructions in…MCQ · +2 marks · Medium
- Set 2 Q21Consider the following two sets: | Set X | Set Y | | :--- | :--- | | P. Lexical Analyzer | 1. Abstract Syntax Tree | | Q. Syntax Analyzer | 2. Token | | R.…MCQ · +1 marks · Easy
- Set 2 Q29Which of the following statements is/are FALSE?MSQ · +1 marks · Medium
- Set 2 Q40Consider the following context-free grammar where the start symbol is and the set of terminals is . …MCQ · +2 marks · Medium
- Set 2 Q43Consider the following expression: . The following sequence shows the list of triples representing the given expression, with…MCQ · +2 marks · Medium
- Set 2 Q65Consider the following augmented grammar, which is to be parsed with a SLR parser. The set of terminals is …NAT · +2 marks · Hard
Other GATE CS topics
Practice Compiler Design with adaptive difficulty
Timed practice, skill tracking, and AI explanations — free to start.
Start practicing free