CPU Scheduling Review

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/18

flashcard set

Earn XP

Description and Tags

These flashcards cover essential vocabulary and concepts related to CPU scheduling and process states.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

19 Terms

1
New cards

Scheduler

A component that maintains the status of each process and decides the order of execution.

2
New cards

Process States

The various states a process can be in during its life cycle, including New, Ready, Running, Blocked, and Terminated.

3
New cards

New State

The state where a process has been created but is not yet in memory.

4
New cards

Ready State

The state where a process is in memory and waiting to be assigned a CPU.

5
New cards

Running State

The state where a process is currently being executed by the CPU.

6
New cards

Blocked State

The state where a process is waiting for some event to occur, such as a completion of an I/O operation.

7
New cards

Terminated State

The state where a process has completed its execution.

8
New cards

Context Switch

The process of saving the execution context of a currently running process and loading the context for the next process to execute.

9
New cards

Dispatch Latency

The amount of time it takes for the OS to stop one process and start another.

10
New cards

CPU Scheduling Algorithms

Methods that determine the order in which processes are executed on the CPU.

11
New cards

First Come First Served (FCFS)

A non-preemptive scheduling algorithm where processes are executed in the order they arrive.

12
New cards

Shortest Job First (SJF)

A scheduling algorithm that executes processes based on the length of their CPU burst, selecting the shortest first.

13
New cards

Priority Scheduling

A scheduling algorithm that executes processes based on priority levels, either numerical or defined by the system.

14
New cards

Round Robin (RR)

A preemptive scheduling algorithm that allows each process to run for a fixed time quantum before moving to the next.

15
New cards

Multi-Level Queue

A scheduling method that uses multiple queues for process management, with each queue having its own scheduling algorithm.

16
New cards

Multi-Level Feedback Queue

A scheduling method that allows processes to move between multiple queues, promoting and demoting their priority.

17
New cards

Starvation

A condition where a process is perpetually denied access to resources due to other processes continuously taking precedence.

18
New cards

Aging

A technique used in priority scheduling to prevent starvation, where the priority of a waiting process is gradually increased.

19
New cards

Time Quantum

The fixed amount of time a process is allowed to run in a time-sharing scheduling algorithm like Round Robin.