Original English practice with worked guidance. Selected topics only. This is not a complete syllabus, official past-paper collection or predicted exam score. Check your own exam-board specification: these concepts are not certified against a particular board or exam year. Where a question shows a Cambridge 2027 reference, that is a conceptual placement only; no other exam board (such as Edexcel, AQA or OCR) is mapped, so do not assume this covers your board. Content here is written and checked with AI assistance; it has not been approved by an independent teacher or endorsed by any exam board.
160 original questions across 22 selected topic areas. No account or payment required to practise.
Cambridge International AS & A Level Computer Science (9618), examination year 2027: Conceptual alignment to official sources, not exam-board certification. Syllabus mapping and remaining coverage.
6 questions in this topic
Original questions with indicative worked guidance. Selected topics only.
All topics
Original practice in processor architecture and memory; indicative answers for unofficial practice.
6 of 6 questions shown
Loading saved responses
Question 1Hide question3 indicative marks
Describe3 indicative marksNo calculator
Describe the roles of the program counter and memory address register during instruction fetch.
Cambridge 2027: Partial conceptual match
PC/MAR fetch roles are accurate but omit most registers and the remaining fetch-execute register transfers.
Conceptual placement only, not official Cambridge endorsement or complete syllabus coverage.
Show indicative guidance
Worked guidance
Distinguish an address from instruction contents. The address register selects a memory location; the fetched bits then travel through the data path into an instruction register for decoding.
Self-marking points
Tick what your working earned. The count is your own self-assessment.
Self-assessed: not counted yet. This question is worth 3 marks.
Examiner tip
Do not say the program counter stores the instruction itself.
Question 2Explain why RAM and secondary storage serve different roles when running a program.3 indicative marks
Explain3 indicative marksNo calculator
Explain why RAM and secondary storage serve different roles when running a program.
Cambridge 2027: Partial conceptual match
Working RAM versus persistent backing storage addresses only part of the input/output/memory need; it is not a RAM-versus-ROM question.
Conceptual placement only, not official Cambridge endorsement or complete syllabus coverage.
Show indicative guidance
Worked guidance
Loading a program copies persistent contents into accessible working memory. Saving copies selected working data back to persistent storage; merely modifying RAM does not guarantee that change survives power loss.
Self-marking points
Tick what your working earned. The count is your own self-assessment.
Self-assessed: not counted yet. This question is worth 3 marks.
Examiner tip
Volatile means power-dependent, not 'changes frequently'.
Question 3A cache lookup takes 2 ns. On a miss, an additional 50 ns memory access is needed. With hit rate 0.90, calculate mean access time under this nonoverlapping model.3 indicative marks
Calculate3 indicative marksCalculator allowed
A cache lookup takes 2 ns. On a miss, an additional 50 ns memory access is needed. With hit rate 0.90, calculate mean access time under this nonoverlapping model.
Cambridge 2027: Partial conceptual match
The cache performance context is relevant, but weighted nanosecond access-time arithmetic is an extension of the qualitative listed performance factors.
Conceptual placement only, not official Cambridge endorsement or complete syllabus coverage.
Show indicative guidance
Worked guidance
Every request takes the lookup time, and one in ten also requires the additional memory access time. Equivalently, average time is 2 + 0.10(50), avoiding omission of lookup time on misses.
Self-marking points
Tick what your working earned. The count is your own self-assessment.
Self-assessed: not counted yet. This question is worth 3 marks.
Examiner tip
Read whether the miss penalty is additional or inclusive before averaging.
Question 4Explain how temporal and spatial locality can make a cache effective in a loop processing consecutive array elements.3 indicative marks
Explain3 indicative marksNo calculator
Explain how temporal and spatial locality can make a cache effective in a loop processing consecutive array elements.
Cambridge 2027: Partial conceptual match
Locality explains cache usefulness, one listed performance factor; temporal/spatial locality vocabulary and all processor factors are not prescribed by this row.
Conceptual placement only, not official Cambridge endorsement or complete syllabus coverage.
Show indicative guidance
Worked guidance
A cache benefits when future requests resemble recent ones. Repeated instruction fetches reuse cached bytes, while a block containing one array element may also contain the next elements.
Self-marking points
Tick what your working earned. The count is your own self-assessment.
Self-assessed: not counted yet. This question is worth 3 marks.
Examiner tip
Spatial locality refers to nearby addresses, not physical closeness of processors.
Question 5A program spends 60% of its original time in a section sped up by a factor of 3; the rest is unchanged. Calculate overall speedup and explain the bottleneck limit.4 indicative marks
Calculate and explain4 indicative marksCalculator allowed
A program spends 60% of its original time in a section sped up by a factor of 3; the rest is unchanged. Calculate overall speedup and explain the bottleneck limit.
Cambridge 2027: Board-neutral enrichment
Amdahl's exact speedup formula is not specified by the processor/parallel-computing objectives. Do not infer it merely from a parallel-processing heading.
Conceptual placement only, not official Cambridge endorsement or complete syllabus coverage.
Show indicative guidance
Worked guidance
Partition original runtime rather than averaging speed factors. Only the improved fraction is divided by three; the unchanged work sets a lower bound on total time.
Self-marking points
Tick what your working earned. The count is your own self-assessment.
Self-assessed: not counted yet. This question is worth 4 marks.
Examiner tip
A threefold component speedup does not mean a threefold program speedup.
Question 6An interrupt occurs while a user program is executing. Explain the state-saving and return requirements, and why disabling all interrupts permanently would not be a satisfactory solution to interruption overhead.4 indicative marks
Explain and evaluate4 indicative marksNo calculator
An interrupt occurs while a user program is executing. Explain the state-saving and return requirements, and why disabling all interrupts permanently would not be a satisfactory solution to interruption overhead.
Cambridge 2027: Direct conceptual match
Interrupt state saving, ISR transfer and safe resumption directly address the interrupt-handling requirement, not architecture-specific RISC/CISC handling.
Conceptual placement only, not official Cambridge endorsement or complete syllabus coverage.
Show indicative guidance
Worked guidance
An interrupt is controlled temporary diversion, not abandonment of the user program. State preservation makes it transparent; masking may protect short critical regions but cannot replace normal event handling indefinitely.
Self-marking points
Tick what your working earned. The count is your own self-assessment.
Self-assessed: not counted yet. This question is worth 4 marks.
Examiner tip
A return address alone may not preserve registers changed by the handler.