Advanced Computing Theory Flashcards
What is meant by an interrupt (2)
An interrupt is a signal sent to the processor so that it requests the processor for some processing time to allows the computer to prioritize data and do the important jobs first.
Give examples of an interrupt (3)
Power failure
Software Interrupt
Timer Interrupt
I/O put interrupt
Explain the need for interrupt priorities (2)
To ensure that the processor is used efficiently and to decide between the current task or interrupt as well as ensuring the most important task takes precedence first
Describe Insertion sort and its disadvantages and advantages
Insertion Sorts inserts one number at a time into its appropriate position comparing its value to the next data and when it meets its parameters it is inserted there.
Advantage: easy to code and is suitable for small data sets.
Disadvantages: Not suitable for large data sets. It’s inefficient.