levo

Operating System Management

Interrupts and interrupt handling

  • 3 things to know
  • A2 Unit 4

Overview

Interrupt service routine and interrupt priority.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What is an interrupt?

Key term

Give three conditions that could generate an interrupt.

Key term

Give two further sources of interrupts.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is an interrupt?

    Model answer

    A signal to the processor that an event requires attention, causing the current sequence to be suspended.

  2. 2

    Give three conditions that could generate an interrupt.

    Model answer

    A hardware fault such as a power failure, completion of an input or output transfer, and a timer signalling the end of a time slice.

  3. 3

    Give two further sources of interrupts.

    Model answer

    A software error such as division by zero or an invalid instruction, and a user action such as pressing a key.

  4. 4

    When does the processor check for an interrupt?

    Model answer

    At the end of each fetch-execute cycle, before the next instruction is fetched.

  5. 5

    Why is the check made at that point rather than mid-instruction?

    Model answer

    So that the machine is in a consistent state, with the current instruction complete and the registers meaningful.

  6. 6

    What is an interrupt service routine?

    Model answer

    The block of code that deals with a particular kind of interrupt.

Other ways to work this

The same content, four other ways.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

See a huge jump in your memorisation

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Hardware: Architecture, Memory and Storage
Networks and Data Transmission
Logic Gates and Boolean Algebra
Data Representation and Data Types

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

Fetch, , execute.
decodecompilestore

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

AEncryption is reversible.
BThe stored form could be decrypted.
CA hash cannot be reversed.

Build It trains answer structure

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

A bit is a single binary digit.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Operating System Management, on a schedule.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.