Quiz Space

Compiler Design Quiz 2: 16 August 2026 (May 2026 term)

Question 1

+2 marksOne or more correct options

Select all that apply.

  1. A
  2. B
  3. C
  4. D
  5. E

Question 2

+3 marksOne correct option

A lexical analyzer uses the following rules.

The keyword rule has higher priority than the identifier rule. Input

Which of the following gives the correct number of Keyword, Identifier, and Number tokens?

  1. A

    (3,1,0)

  2. B

    (2,2,0)

  3. C

    (3,2,0)

  4. D

    (2,1,1)

Question 3

+3 marksOne correct option

Convert the following infix expression to postfix notation:

Which one of the following is the correct postfix expression?

  1. A
  2. B
  3. C
  4. D

13 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 Quiz 2 16 Aug 2026 paper

The IIT Madras BS Compiler Design (Compiler Design) Quiz 2 paper sat on 16 Aug 2026, in the May 2026 term: 16 questions for 47 marks in 120 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 Quiz 2 16 Aug 2026 at a glance
TermMay 2026 term
SubjectCompiler Design
Course codeBSCS4032
Questions16
Marks47
Duration120 min
MSQ4
MCQ10
Numerical2
Official paperCompiler Design 14 Aug 26
Negative markingNo negative marking.
Updated

Same Quiz 2, other subjects

More Compiler Design