Interrupts and Polling Flashcards

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

What is polling

A

Polling is the regular checking of an event to see whether it has occurred.

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

What is the advantages of polling

A

It is predictable and will only occur at a specific point

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

What is the disadvantage of polling

A

It is inefficient in terms of the CPU processing time.

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

What is an interrupt

A

An interrupt is a signal with a priority label with either a high or low priority and if it is high the CPU will stop what it is doing and complete the interrupt task

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

What are disadvantages of polling?

A

It can increase the latency of the CPU

It can cause a stack overflow error

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