Questions: Real-Time Scheduling Algorithms

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A real-time system has three tasks with periods of 5 ms, 10 ms, and 20 ms. Under Rate-Monotonic Scheduling, which task gets the highest priority?

AThe task with period 20 ms, because it has the most slack time
BThe task with period 5 ms, because it runs most frequently and has the tightest constraints
CThey share equal priority since RMS is a dynamic algorithm
DPriority depends on execution time, not period length
Question 2 Multiple Choice

A real-time system's total CPU utilization is 85%. Which scheduling algorithm can guarantee all deadlines are met, and which cannot?

ABoth RMS and EDF can guarantee deadlines at 85% utilization
BNeither RMS nor EDF can guarantee deadlines above 69% utilization
CEDF can guarantee deadlines (up to 100% utilization); RMS cannot guarantee them at 85%
DRMS can guarantee deadlines; EDF cannot handle utilization above 80%
Question 3 True / False

EDF is preferred over RMS for safety-critical embedded systems like aircraft flight controllers because it can utilize 100% of CPU capacity.

TTrue
FFalse
Question 4 True / False

Rate-Monotonic Scheduling is a dynamic priority algorithm that reassigns priorities whenever task periods change.

TTrue
FFalse
Question 5 Short Answer

Why do real-time systems often operate with CPU utilization well below the schedulability bound, even when they could theoretically run higher?

Think about your answer, then reveal below.