Difficulty distribution
How the classified questions are distributed by difficulty.
Your cart is empty.
Practice Code Generation and Optimization - Compiler Design - Computer Science & Information Technology previous year questions organised from real papers, with year-wise coverage and clear topic navigation.
Every graph below is calculated only from this selection.
Year-wise coverage for Code Generation and Optimization. Each bar uses a separate theme-derived color.
How the classified questions are distributed by difficulty.
MCQ, numerical, multiple-select and other formats found in these papers.
Top subjects by unique question coverage.
Top topics across the included previous year papers.
Top subtopics inside this exact selection.
Question coverage for the most populated papers. Every active PYP paper remains listed below.
Newest papers appear first. Sort by year, question coverage or name.
| Paper | Year / session | Questions in this view | Open |
|---|---|---|---|
| Computer Science and Information Technology (CS) 2026 | 2026 | 1 | View paper |
| Computer Science and Information Technology (CS) 2026 | 2026 | 1 | View paper |
| Computer Science & Information Technology (CS) 2025 [Session 1] | 2025 | 2 | View paper |
| Computer Science & Information Technology (CS) 2025 [Session 2] | 2025 | 1 | View paper |
| Computer Science & Information Technology (CS) 2024 [Session 1] | 2024 | 1 | View paper |
| Computer Science & Information Technology (CS) 2024 [Session 2] | 2024 | 1 | View paper |
| Computer Science & Information Technology (CS) 2021 [Session 2] | 2021 | 2 | View paper |
| Computer Science & Information Technology (CS) 2015 [Session 2] | 2015 | 1 | View paper |
| Computer Science & Information Technology (CS) 2014 [Session 1] | 2014 | 1 | View paper |
| Computer Science & Information Technology (CS) 2014 [Session 3] | 2014 | 2 | View paper |
| Computer Science & Information Technology (CS) 2013 [Session 1] | 2013 | 2 | View paper |
| Computer Science & Information Technology (CS) 2013 [Session 3] | 2013 | 2 | View paper |
| Computer Science & Information Technology (CS) 2013 [Session 4] | 2013 | 2 | View paper |
Practice every matching question in batches of 20, with every available option.
For a statement \(S\) in a program, in the context of liveness analysis, the following sets are defined:
\(USE(S)\) : the set of variables used in \(S\)
\(IN(S)\) : the set of variables that are live at the entry of \(S\)
\(OUT(S)\) : the set of variables that are live at the exit of \(S\)
Consider a basic block that consists of two statements, \(S_1\) followed by \(S_2\). Which one of the following statements is correct?
| (0) | + | p | r |
| (1) | |||
| (2) | uminus | (1) | |
| (3) | |||
| (4) | / | u | w |
| (5) | + | (3) | (4) |
| (6) | |||
| (7) | = | (6) | (5) |
Which ONE of the following techniques used in compiler code optimization uses live variable analysis?


