Lesson 5 - Interrupts Flashcards Preview

A level - Computing > Lesson 5 - Interrupts > Flashcards

Flashcards in Lesson 5 - Interrupts Deck (14)
Loading flashcards...
1

What is an interrupt?

It is a signla generated that tells the processor to stop what it's currntly doing and give its attnetion to another process.

2

What is a hardware interrupt?

-Getting new inputs form a keyboard, or mouse, or connecting devices

3

What are priorty levels?

-How urgents the interrupts nee to be addressed.
-Similar to a queue.
-Interrupts are storeed in a data structure called a priority queue.
- Soted in the interrupt register.

4

When the does the processor check for interrupts?

-It checks for interrupts at the end of te fetch devocde execute cycle.

5

What does ISR stand for?

-Stands for Interrupt service rountine.

6

What is a job in the procesor?

-A process that is runing right now.

7

What is pre-emptive sheduling?

-Jobs can be started and stopped by the operating system

8

What is non pre-emptive sheduling?

-Once the job as started it can finish

9

What is the round robin sheduling routine?

-Each job is given a cetian amount of processor time. In which it can be executed.
-It is pre-emptive.

10

What are the advantages of RR?

-It insures that each process gets the same amount of processor time.

11

What are the disadvantages of Round Robin?

-Long jobs take alot longer to complete.

12

What are Multi-level feedback queues?

It uses multiple queues isntead of single queues- Almost like a vip folder.
- It is non pre-emptive.

13

What are the advantages of MLFQ?

- Each queue has a different level of priority.
-Each queue is ordered by priority.
-High priority jobs cna be executed first.

14

What are the disadvantages of MLFQ?

- it is difficult to impleemnt because deciding how to order tasks is difficult.