Interrupts

A cpu processes things one at a time.

An interrupt is where a CPU compares multiple tasks to see which has the biggest priority. It then start the most important task before moving on to anything else.


Interrupts are recorded in the interrupt register.

An example of an interrupt would be: if music is playing but then the user opens PowerPoint, the computer will prioritise opening powerpoint and then quickly switch back to the music (all without the user knowing).


Interrupts are used in a computer system to prevent the computer system for slowing down and any data loss.

The main types of interrupts:







Comments

Popular posts from this blog

CPU Fetch-Decode-Execute Cycle

Scheduling

Utility Software