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.
Compare question counts across years.
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. Search these papers or sort by year and name.
| Paper name | Year | Attempt | |
|---|---|---|---|
Computer Science and Information Technology (CS) 20262026 | 2026 |
|
|
Computer Science and Information Technology (CS) 20262026 | 2026 | |
|
Computer Science & Information Technology (CS) 2025 [Session 1]2025 | 2025 | |
|
Computer Science & Information Technology (CS) 2025 [Session 2]2025 | 2025 | |
|
Computer Science & Information Technology (CS) 2024 [Session 1]2024 | 2024 | |
|
Computer Science & Information Technology (CS) 2024 [Session 2]2024 | 2024 | |
|
Computer Science & Information Technology (CS) 2021 [Session 2]2021 | 2021 | |
|
Computer Science & Information Technology (CS) 2017 [Session 1]2017 | 2017 | |
|
Computer Science & Information Technology (CS) 2015 [Session 2]2015 | 2015 | |
|
Computer Science & Information Technology (CS) 2014 [Session 1]2014 | 2014 | |
|
Computer Science & Information Technology (CS) 2014 [Session 3]2014 | 2014 | |
|
Computer Science & Information Technology (CS) 2013 [Session 1]2013 | 2013 | |
|
Computer Science & Information Technology (CS) 2013 [Session 3]2013 | 2013 | |
|
Computer Science & Information Technology (CS) 2013 [Session 4]2013 | 2013 | |
|
Computer Science & Information Technology (CS) 20112011 | 2011 | |
|
Computer Science & Information Technology (CS) 20102010 | 2010 | |
|
Computer Science & Information Technology (CS) 20082008 | 2008 | |
|
Computer Science & Information Technology (CS) 20072007 | 2007 | |
|
Practice every matching question in batches of 20, with every available option.
The cyclomatic complexity of each of the modules A and B shown below is 10. What is the cyclomatic complexity of the sequential integration shown on the right hand side?

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?


Showing 20 of 21 questions