scheduling algorithms limitations

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

1/57

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:10 PM on 5/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

58 Terms

1
New cards

What is the primary function of a CPU scheduling algorithm?

Determining which process is allocated the CPU next.

2
New cards

Name three of the five performance goals mentioned for scheduling algorithms.

Fairness, speed, responsiveness, real-time guarantees, or efficiency.

3
New cards

In First-Come, First-Served (FCFS) scheduling, what determines the execution order?

The order in which processes arrive.

4
New cards

What is a major advantage of the First-Come, First-Served (FCFS) algorithm?

It is very simple and easy to implement.

5
New cards

Which scheduling algorithm is described as fair specifically in terms of arrival order?

First-Come, First-Served (FCFS).

6
New cards

The phenomenon where a long CPU-bound process delays several shorter processes is known as the _____.

Convoy Effect

7
New cards

Why is FCFS typically unsuitable for interactive users?

It can result in poor response times.

8
New cards

What does it mean for an algorithm like FCFS to be 'non-preemptive'?

A process cannot be interrupted once it has started execution.

9
New cards

How does the Shortest Process Next (SPN) algorithm select the next process?

It runs the process with the shortest CPU burst first.

10
New cards

Which scheduling algorithm is specifically designed to minimise average waiting time?

Shortest Process Next (SPN) / Shortest Job First (SJF).

11
New cards

For what type of system is Shortest Process Next (SPN) considered highly efficient?

Batch systems.

12
New cards

How can starvation occur in Shortest Process Next (SPN) scheduling?

Long processes may wait indefinitely if short jobs arrive continuously.

13
New cards

What is the primary practical difficulty for an OS using Shortest Job First (SJF)?

It is difficult to predict actual execution (burst) times in advance.

14
New cards

Why is SPN/SJF unsuitable for real-time environments?

It ignores task importance and deadlines.

15
New cards

In Round Robin (RR) scheduling, what is the name of the fixed time slice allocated to each process?

A quantum.

16
New cards

What are the two primary advantages of using Round Robin (RR) scheduling?

Fair CPU sharing and good responsiveness.

17
New cards

For which specific system type is Round Robin (RR) highly suitable?

Interactive systems.

18
New cards

What is the negative consequence of setting a very small time quantum in Round Robin?

It creates excessive overhead due to too many context switches.

19
New cards

If the time quantum in Round Robin is excessively large, how does the algorithm behave?

It behaves like First-Come, First-Served (FCFS).

20
New cards

Why is Round Robin considered weak for hard real-time systems?

It cannot provide guarantees regarding deadlines.

21
New cards

How does Priority Scheduling determine which process runs first?

Processes are assigned priorities, and the one with the highest priority runs first.

22
New cards

What is a major advantage of Priority Scheduling for real-time systems?

It ensures that important tasks execute earlier.

23
New cards

What is the main limitation of Priority Scheduling regarding low-priority processes?

They may suffer from starvation and never run.

24
New cards

Describe the limitation known as 'Priority Inversion'.

A low-priority process holding a resource blocks a high-priority process.

25
New cards

Which task does the Earliest Deadline First (EDF) algorithm run first?

The task with the nearest deadline.

26
New cards

Identify two advantages of Earliest Deadline First (EDF) in real-time systems.

Excellent for hard real-time and high CPU utilisation.

27
New cards

How does the EDF algorithm handle changing deadlines?

It adapts to deadlines dynamically.

28
New cards

What is a major risk of using EDF during a system overload?

The scheduler becomes unstable and may cause many missed deadlines.

29
New cards

Why does EDF have a higher implementation overhead than simpler algorithms?

It requires continuous deadline tracking and frequent preemption.

30
New cards

What is Rate Monotonic Scheduling (RMS)?

A fixed-priority real-time scheduling algorithm.

31
New cards

How are priorities assigned in Rate Monotonic Scheduling (RMS)?

Shorter periodic tasks receive higher priority.

32
New cards

What is the main benefit of RMS in a Real-Time Operating System (RTOS)?

It is highly predictable.

33
New cards

How does RMS compare to EDF in terms of CPU efficiency?

RMS has lower CPU utilisation because it cannot fully utilise the CPU efficiently.

34
New cards

What is the primary limitation of fixed priorities in RMS?

It is less flexible than dynamic scheduling methods.

35
New cards

What is the core objective of Guaranteed Scheduling?

Giving each process a fair share of total CPU time.

36
New cards

What is the primary advantage of Guaranteed Scheduling?

It prevents a single process from dominating CPU resources.

37
New cards

In Guaranteed Scheduling, why does fairness not guarantee task safety?

Critical tasks may not receive immediate CPU access when needed.

38
New cards

Why is Guaranteed Scheduling considered to have high overhead?

It requires constant tracking of CPU usage for every process.

39
New cards

How does a Lottery Scheduler select the next process?

It randomly chooses a winner from the processes holding lottery tickets.

40
New cards

Identify one advantage of Lottery Scheduling.

Flexible fairness or simple probabilistic control.

41
New cards

Why is Lottery Scheduling considered unpredictable for critical tasks?

Critical tasks may lose the lottery and fail to run.

42
New cards

How is CPU time allocated in Fair Share Scheduling?

It is divided among users or groups rather than individual processes.

43
New cards

What is the main benefit of Fair Share Scheduling for multi-user systems?

It prevents one group or user from monopolising the CPU.

44
New cards

What is a critical limitation of Fair Share Scheduling regarding urgent tasks?

It focuses on fairness rather than urgency, which can delay critical tasks.

45
New cards

How does Multiple Queue Scheduling organise different types of processes?

It divides them into separate queues, such as real-time, interactive, and batch.

46
New cards

What is an advantage of Multiple Queue Scheduling for systems with mixed workloads?

It separates process types and can apply different algorithms to each queue.

47
New cards

What is the risk of having a hierarchy of queues in Multiple Queue Scheduling?

Starvation can occur in the lower-priority queues.

48
New cards

What is the primary goal of a Batch system?

Throughput.

49
New cards

What is the primary goal of an Interactive system?

Fast response.

50
New cards

What is the primary goal of a Real-time system?

Meeting deadlines.

51
New cards

What is the primary goal of a Multi-user system?

Fairness.

52
New cards

Why do modern operating systems typically use hybrid scheduling?

No single algorithm can optimise all goals simultaneously.

53
New cards

In a hybrid system, which algorithm is typically used for interactive tasks?

Round Robin (RR).

54
New cards

In a hybrid system, which algorithm is typically used for batch jobs?

Shortest Process Next (SPN).

55
New cards

Scheduling is described as a trade-off between five factors: fairness, responsiveness, efficiency, predictability, and _____.

Deadline guarantees.

56
New cards

Which limitation is common to FCFS, SPN, and Priority Scheduling?

They can all lead to starvation or delayed execution of specific task types.

57
New cards

Which scheduling algorithm is most associated with periodic real-time tasks?

Rate Monotonic Scheduling (RMS).

58
New cards