Back to marketplace

YEAR 1 CO1 WEEK 24 INTERUPTS

No description yet. This curated deck is ready for daily study.

Total cards: 15•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (15)

#1
Front (Question)

What are interrupts?

Back (Answer)

More efficient way of finding out whether device needs CPU time using an interrupt. Interrupt is a signal indicating process of device needs attention.

#2
Front (Question)

What are two ways of dealing with events ?

Back (Answer)

Polling and interrupts

#3
Front (Question)

What is polling?

Back (Answer)

The purpose of the CPU is to process data and follow instructions. Also must be able to respond to events as they happen. Polling checks device if it needs to do anything which is inefficient but is simple and predictable.

#4
Front (Question)

Advantages of polling?

Back (Answer)

Predictable and simple

#5
Front (Question)

Disadvantages of polling

Back (Answer)

Inefficient use of cpu

#6
Front (Question)

State the Interrupts Process.

Back (Answer)

If Interrupt level lower/ equal to current process current process continues. If higher priority CPUs finishes current FDE cycle. The contents of CPUs registers copied to stack in memory. Location of appropriate interrupt service routine loaded into PC. When ISR complete previous contents popped from stack and loaded back into registers.

#7
Front (Question)

What are priorities during interrupts?

Back (Answer)

If an interrupt arrives which is higher priority it will move the lower priority to a stack but if after that a lower priority appears it is told to wait then after that if the initial task is more important then it will take it out of stank and do that first or the other way round

#8
Front (Question)

What happens if the stack is full?

Back (Answer)

Stack over flow

#9
Front (Question)

What is ISR?

Back (Answer)

Interrupt service routine

#10
Front (Question)

What is a user interrupt?

Back (Answer)

A key press eg CTRL/ALT /DEL

#11
Front (Question)

What is a software interrupt

Back (Answer)

Run time error

#12
Front (Question)

I/O error

Back (Answer)

Printer out of paper

#13
Front (Question)

Hardware error

Back (Answer)

Out of battery waring

#14
Front (Question)

What are Higher order interrupts

Back (Answer)

Impending data loss

#15
Front (Question)

What is latency

Back (Answer)

Delay between input and desired output