Advanced Computing Theory Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is meant by an interrupt (2)

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give examples of an interrupt (3)

A

Power failure
Software Interrupt
Timer Interrupt
I/O put interrupt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain the need for interrupt priorities (2)

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe Insertion sort and its disadvantages and advantages

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly