logo

AQA A-Level Computer Science practice

Why must the volatile environment be saved when an interrupt is being serviced?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Structure and role of the processor and its components

Exam-style question

Try this first

Why must the volatile environment be saved when an interrupt is being serviced?.

  1. A.To ensure that the interrupted program can continue correctly afterwards
  2. B.To make the ISR execute without any instructions
  3. C.To permanently delete the interrupted program
  4. D.To prevent the processor from ever fetching another instruction

Answer and explanation

Concise answer

To ensure that the interrupted program can continue correctly afterwards

Why this is correct

The ISR may alter temporary processor information. Saving the volatile environment preserves the information needed to return to the interrupted program and continue its execution correctly.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions