PROCESS SCHEDULING AND COORDINATION

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

1/41

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:53 PM on 10/6/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

42 Terms

1
New cards

CPU Scheduling

is the sequence in which processes are executed as they are allotted the processor.

2
New cards

short-term scheduler

The scheduler responsible for this task is called.

3
New cards

CPU Utilization

is the ratio of the total CPU burst time to the total time spent processing all jobs in the ready queue. It is the percentage of time the processor is busy.

4
New cards

Throughput

is the number of processes that have completed their execution per time unit. It measures how much work is being performed in a given time.

5
New cards

Turn-around Time

- is the amount of time to execute particular processes. It is the time from when the process was submitted to its completion.

6
New cards

Waiting time

is the amount of time a process has been waiting in the ready queue before it is allotted to the processor.

7
New cards

Response time

is the amount of time it takes from when a request was submitted until the first response is produced.

8
New cards

Balanced Utilization

evaluates the percentage utilization of not only the CPU but also the memory, I/O devices, and other system resources.

9
New cards

Predictability

refers to consistency in response time.

10
New cards

Fairness

in scheduling refers to the equal opportunity given to all processes to execute such that no one is allowed to suffer from starvation.

11
New cards

Preferential Treatment

to processes with higher priorities may also be considered as a criterion.

12
New cards

Non-preemptive

- means that once a process is running, it continues to execute until it terminates.

13
New cards

Preemptive

means that currently running processes may be interrupted and moved to the ready state by the operating system, even if the total burst time (the allotted time to execute) has not been consumed.

14
New cards

First Come First Serve (FCFS)

Also known as First In, First Out (FIFO), this allocation method assigns the CPU based on time of arrival. It is one of the simplest and most commonly used CPU scheduling algorithms.

15
New cards

Convoy Effect

in which a long process at the front of the queue forces all shorter processes behind it to wait, reducing overall system performance.

16
New cards

Shortest Job First (SJF)/Shortest Job Next (SJN)

allocates the processor based on the shortest CPU burst. The ready queue is treated as a priority queue based on the smallest time requirement.

17
New cards

Non-Preemptive Priority (NPP) -

Its processing order is based on assigned priority: the highest-priority job is processed first, and incoming jobs in the ready queue are considered candidates.

18
New cards

Starvation

in which lower-priority processes may wait a long time if higher-priority processes continue to arrive.

19
New cards

Shortest Remaining Time First (SRTF)/ Shortest Time to Completion (STFC)

allocates the processor based on the shortest remaining burst and preempts if a shorter burst is found in the ready queue.

20
New cards

Round Robin (RR)

Allocates the processor based on a given time slice (quantum). This also uses a circular queue for the ready queue, wherein arriving jobs or preempted jobs are placed at the tail of the queue.

21
New cards

Time Slice

or quantum, defines the amount of time that a job is allocated to the processor.

22
New cards

Process Coordination

The operating system's method of organizing and managing concurrent processes so they can execute efficiently, communicate effectively, and share resources safely.

23
New cards

Process Synchronization

the mechanism used by an operating system to coordinate the execution of concurrent processes so that they access shared resources in an orderly and controlled manner.

24
New cards

Semaphores

A signaling mechanism that controls access to shared resources using an integer counter.

25
New cards

Mutex Locks

A synchronization mechanism that allows only one process or thread to access a critical section or shared resource at any given time.

26
New cards

Mutual Exclusion

A synchronization principle that allows only one (1) process at a time to access a shared resource or execute a critical section

27
New cards

Critical section

is the portion of a program where shared variables, files, or hardware devices are accessed or modified.

28
New cards

Interprocess Communication (IPC)

The methods that allow two or more processes to exchange information and coordinate their activities.

29
New cards

Shared Memory

Processes communicate by accessing the same memory region.

30
New cards

Pipes

Provide one-way communication between related processes.

31
New cards

Named Pipes

Unlike ordinary pipes, ___ allow communication between unrelated processes.

32
New cards

Message Queues

Processes exchange messages through queues managed by the operating system.

33
New cards

Signals

Notify a process that a particular event has occurred.

34
New cards

Sockets

Enable communication between processes running on different computers through a network.

35
New cards

Resource Sharing

The controlled allocation and utilization of system resources among multiple processes.

36
New cards

Deadlock

occurs when two or more processes wait indefinitely for resources held by one another, preventing any process from continuing.

37
New cards

Deadlock Prevention: The operating system prevents one of the necessary conditions for deadlock from occurring.

38
New cards

Deadlock Avoidance

The operating system examines each resource request and grants it only if doing so keeps the system in a safe state

39
New cards

Deadlock Detection

Instead of preventing deadlocks, the operating system periodically checks whether one has occurred. If detected, corrective action is taken.

40
New cards

Deadlock Recovery

Once a deadlock is detected, the operating system attempts to eliminate it

41
New cards

Reclaiming allocated resources

Process A is waiting for a printer that Process B holds. The operating system forcibly reclaims the printer from Process B and assigns it to Process A, breaking the deadlock.

42
New cards

Rolling back affected processes

The operating system restores Process B to a previously saved checkpoint before it acquired the scanner. The scanner is released, allowing Process A to complete. Once the deadlock is resolved, Process B restarts from the saved checkpoint