Question 1
Consider the following compiler phases and compiler tasks.
Which one of the following correctly matches the compiler phases with their primary tasks?
P-4, Q-3, R-2, S-1
P-3, Q-4, R-2, S-1
P-4, Q-1, R-2, S-3
P-2, Q-3, R-4, S-1
Consider the following compiler phases and compiler tasks.
Which one of the following correctly matches the compiler phases with their primary tasks?
P-4, Q-3, R-2, S-1
P-3, Q-4, R-2, S-1
P-4, Q-1, R-2, S-3
P-2, Q-3, R-4, S-1
Which of the following describes a key programmatic difference between the functionality of an Interpreter and a Compiler toolchain?
Compilers execute code step-by-step at runtime, whereas interpreters translate the entire source program before execution.
Interpreters can provide immediate statement-level runtime feedback.
The machine-language target program produced by a compiler is typically 10 to 100 times slower than interpreter execution.
Compilers completely eliminate the need for a runtime environment or stack frame allocation.
Lexical Analysis
Syntax Analysis
Code Generation
Semantic Analysis
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.
The IIT Madras BS Compiler Design (Compiler Design) Quiz 1 paper sat on 19 Jul 2026, in the May 2026 term: 16 questions for 41 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.
| Feature | Compiler Design Quiz 1 19 Jul 2026 at a glance |
|---|---|
| Term | May 2026 term |
| Subject | Compiler Design |
| Course code | BSCS4032 |
| Questions | 16 |
| Marks | 41 |
| Duration | 120 min |
| MCQ | 11 |
| MSQ | 3 |
| Numerical | 2 |
| Official paper | Compiler Design 16 Jul 26 |
| Negative marking | No negative marking. |
| Updated |