Quiz Space

Compiler Design End Term: 13 September 2026 (May 2026 term)

Question 1

+2 marksOne correct option
  1. A

    Lexical Analyzer

  2. B

    Syntax Analyzer (Parser)

  3. C

    Semantic Analyzer

  4. D

    Code Optimizer

Question 2

+2 marksOne correct option

Why does the Static Single Assignment (SSA) form simplify compiler optimization and dataflow analysis?

  1. A

    It gives each definition a unique SSA name so that every SSA name has exactly one static definition, simplifying def-use chains.

  2. B

    It converts non-deterministic context-free grammars into deterministic parsing tables.

  3. C

    It directly maps high-level syntax into binary machine code without an assembler.

  4. D

    It automatically executes hot code blocks dynamically at runtime.

Question 3

+2 marksOne correct option

Why do bottom-up LR parser generators (like Bison) handle left-recursive grammar rules efficiently, whereas predictive top-down LL(1) parsers cannot parse them directly?

  1. A

    LR parsers shift input symbols and reduce recognized handles rather than recursively expanding the leftmost nonterminal, so left recursion does not cause infinite recursive expansion.

  2. B

    LR parsers convert left recursion to right recursion at compile time.

  3. C

    Top-down parsers use state-splitting algorithms that eliminate shift actions.

  4. D

    LR parsers construct leftmost derivations.

18 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the Compiler Design End Term 13 Sept 2026 paper

The IIT Madras BS Compiler Design (Compiler Design) End Term paper sat on 13 Sept 2026, in the May 2026 term: 21 questions for 50 marks in 180 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureCompiler Design End Term 13 Sept 2026 at a glance
TermMay 2026 term
SubjectCompiler Design
Course codeBSCS4032
Questions21
Marks50
Duration180 min
MCQ13
Numerical5
MSQ3
Official paperCompiler Design 13 Sep 26
Negative markingNo negative marking.
Updated

Same End Term, other subjects

More Compiler Design