CPU Scheduling: Algorithms, Concepts, and Real-Time Systems

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/22

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:22 PM on 5/20/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

23 Terms

1
New cards

What is CPU scheduling?

It is about the OS choosing which process is the next one to use the CPU and for how long.

2
New cards

What does the choice of a specific CPU scheduling algorithm depend on?

It depends on the purpose of the OS and the type of ready queue used.

3
New cards

What is a CPU burst?

A period of time when a process wants to use the CPU only.

4
New cards

What is an I/O burst?

A period of time when a process wants to use an I/O device.

5
New cards

Why is it beneficial to schedule short CPU burst processes before long ones?

It keeps the ready queue short and minimizes waiting time.

6
New cards

What does it mean for a CPU scheduling algorithm to be preemptive?

It means a process can be sent back to the ready queue if the CPU is needed for something more important.

7
New cards

What does it mean for a CPU scheduling algorithm to be non-preemptive?

It means a process runs until it finishes its CPU burst without interruption.

8
New cards

What does it mean for a CPU scheduling algorithm to be starvation free?

No process in the ready queue will wait forever; every process will eventually use the CPU.

9
New cards

What is the First-Come-First-Served (FCFS) algorithm?

It treats the ready queue as a real line and is non-preemptive.

10
New cards

What are the advantages of the FCFS algorithm?

It is fast to choose the next process and is starvation-free.

11
New cards

What are the disadvantages of the FCFS algorithm?

It can lead to long waiting times.

12
New cards

What is the Round-Robin (RR) algorithm?

It treats the ready queue as a real line but is preemptive, using a time slice for CPU usage.

13
New cards

What are the advantages of the Round-Robin algorithm?

It is fast, starvation-free, and fair.

14
New cards

What are the disadvantages of the Round-Robin algorithm?

It can lead to long waiting times.

15
New cards

What is priority scheduling?

Every process has a priority that specifies its importance.

16
New cards

What are the advantages of priority scheduling?

It allows prioritization of important processes.

17
New cards

What are the disadvantages of priority scheduling?

It is not starvation-free.

18
New cards

What is aging in CPU scheduling?

A method to combat starvation by increasing the priority of a process over time.

19
New cards

What is priority inversion?

A situation where a higher priority process waits for a lower priority process without a good reason.

20
New cards

What is priority donation?

A method to counter priority inversions by elevating the priority of a lower process while it waits.

21
New cards

What is real-time scheduling?

An approach where the OS ensures that real-time processes meet their execution deadlines.

22
New cards

What are soft real-time systems?

Systems that try to meet CPU scheduling deadlines without guarantees.

23
New cards

What are hard real-time systems?

Systems that must meet CPU scheduling deadlines, and failing to do so is unacceptable.