Real-Time Task Scheduling - Intermediate Level: tricky scenarios handling Real-Time Task Scheduling INTERMEDIATE

This expert challenge 📈 worksheet focuses on Real-Time Task Scheduling - a key topic in Scheduling. You'll solve 20 intermediate-level problems (Worksheet 5 of 10). The primary focus is on tricky scenarios handling. Master how to solve real-time task scheduling, real-time task scheduling tricks, and real-time task scheduling shortcut methods through systematic practice.

📝 Worksheet 5 of 10 • 20 questions • ⏱️ Estimated time: 20 minutes • 🎯 Intermediate level

What you'll learn in this worksheet:
Your progress through Real-Time Task Scheduling
Worksheet 5 of 10 (44% complete)

Question 1

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 2, Period 20 - Task B: Execution 3, Period 30 - Task C: Execution 8, Period 30 - Task D: Execution 10, Period 30 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 2/20 = 0.100
- Task B: 3/30 = 0.100
- Task C: 8/30 = 0.267
- Task D: 10/30 = 0.333
Total U = 0.800
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.800 > 0.757 (RM bound)

Answer: May not be schedulable

Question 2

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 8, Period 30 - Task B: Execution 3, Period 10 - Task C: Execution 2, Period 10 - Task D: Execution 6, Period 20 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 8/30 = 0.267
- Task B: 3/10 = 0.300
- Task C: 2/10 = 0.200
- Task D: 6/20 = 0.300
Total U = 1.067
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 1.067 > 0.757 (RM bound)

Answer: May not be schedulable

Question 3

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 3, Period 20 - Task B: Execution 11, Period 40 - Task C: Execution 5, Period 40 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 3/20 = 0.150
- Task B: 11/40 = 0.275
- Task C: 5/40 = 0.125
Total U = 0.550
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.550 ≤ 0.780 (RM bound)

Answer: Schedulable

Question 4

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 9, Period 50 - Task B: Execution 3, Period 20 - Task C: Execution 10, Period 50 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 9/50 = 0.180
- Task B: 3/20 = 0.150
- Task C: 10/50 = 0.200
Total U = 0.530
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.530 ≤ 0.780 (RM bound)

Answer: Schedulable

Question 5

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 5, Period 30 - Task B: Execution 4, Period 30 - Task C: Execution 14, Period 50 - Task D: Execution 3, Period 10 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 5/30 = 0.167
- Task B: 4/30 = 0.133
- Task C: 14/50 = 0.280
- Task D: 3/10 = 0.300
Total U = 0.880
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.880 > 0.757 (RM bound)

Answer: May not be schedulable

Question 6

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 3, Period 10 - Task B: Execution 8, Period 40 - Task C: Execution 10, Period 50 - Task D: Execution 2, Period 10 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 3/10 = 0.300
- Task B: 8/40 = 0.200
- Task C: 10/50 = 0.200
- Task D: 2/10 = 0.200
Total U = 0.900
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.900 > 0.757 (RM bound)

Answer: May not be schedulable

Question 7

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 5, Period 20 - Task B: Execution 2, Period 40 - Task C: Execution 4, Period 30 - Task D: Execution 2, Period 50 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 5/20 = 0.250
- Task B: 2/40 = 0.050
- Task C: 4/30 = 0.133
- Task D: 2/50 = 0.040
Total U = 0.473
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.473 ≤ 0.757 (RM bound)

Answer: Schedulable

Question 8

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 10, Period 30 - Task B: Execution 13, Period 40 - Task C: Execution 10, Period 30 - Task D: Execution 4, Period 20 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 10/30 = 0.333
- Task B: 13/40 = 0.325
- Task C: 10/30 = 0.333
- Task D: 4/20 = 0.200
Total U = 1.192
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 1.192 > 0.757 (RM bound)

Answer: May not be schedulable

Question 9

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 9, Period 50 - Task B: Execution 8, Period 50 - Task C: Execution 7, Period 40 - Task D: Execution 8, Period 50 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 9/50 = 0.180
- Task B: 8/50 = 0.160
- Task C: 7/40 = 0.175
- Task D: 8/50 = 0.160
Total U = 0.675
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.675 ≤ 0.757 (RM bound)

Answer: Schedulable

Question 10

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 2, Period 10 - Task B: Execution 5, Period 20 - Task C: Execution 2, Period 40 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 2/10 = 0.200
- Task B: 5/20 = 0.250
- Task C: 2/40 = 0.050
Total U = 0.500
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.500 ≤ 0.780 (RM bound)

Answer: Schedulable

Question 11

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 2, Period 10 - Task B: Execution 6, Period 30 - Task C: Execution 10, Period 30 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 2/10 = 0.200
- Task B: 6/30 = 0.200
- Task C: 10/30 = 0.333
Total U = 0.733
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.733 ≤ 0.780 (RM bound)

Answer: Schedulable

Question 12

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 5, Period 20 - Task B: Execution 4, Period 20 - Task C: Execution 9, Period 50 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 5/20 = 0.250
- Task B: 4/20 = 0.200
- Task C: 9/50 = 0.180
Total U = 0.630
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.630 ≤ 0.780 (RM bound)

Answer: Schedulable

Question 13

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 12, Period 40 - Task B: Execution 11, Period 40 - Task C: Execution 7, Period 30 - Task D: Execution 7, Period 50 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 12/40 = 0.300
- Task B: 11/40 = 0.275
- Task C: 7/30 = 0.233
- Task D: 7/50 = 0.140
Total U = 0.948
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.948 > 0.757 (RM bound)

Answer: May not be schedulable

Question 14

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 7, Period 40 - Task B: Execution 13, Period 40 - Task C: Execution 3, Period 10 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 7/40 = 0.175
- Task B: 13/40 = 0.325
- Task C: 3/10 = 0.300
Total U = 0.800
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.800 > 0.780 (RM bound)

Answer: May not be schedulable

Question 15

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 10, Period 50 - Task B: Execution 3, Period 10 - Task C: Execution 7, Period 40 - Task D: Execution 3, Period 20 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 10/50 = 0.200
- Task B: 3/10 = 0.300
- Task C: 7/40 = 0.175
- Task D: 3/20 = 0.150
Total U = 0.825
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.825 > 0.757 (RM bound)

Answer: May not be schedulable

Question 16

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 5, Period 20 - Task B: Execution 9, Period 40 - Task C: Execution 8, Period 40 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 5/20 = 0.250
- Task B: 9/40 = 0.225
- Task C: 8/40 = 0.200
Total U = 0.675
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.675 ≤ 0.780 (RM bound)

Answer: Schedulable

Question 17

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 6, Period 20 - Task B: Execution 5, Period 30 - Task C: Execution 12, Period 40 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 6/20 = 0.300
- Task B: 5/30 = 0.167
- Task C: 12/40 = 0.300
Total U = 0.767
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.767 ≤ 0.780 (RM bound)

Answer: Schedulable

Question 18

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 4, Period 20 - Task B: Execution 10, Period 40 - Task C: Execution 3, Period 20 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 4/20 = 0.200
- Task B: 10/40 = 0.250
- Task C: 3/20 = 0.150
Total U = 0.600
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.600 ≤ 0.780 (RM bound)

Answer: Schedulable

Question 19

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 10, Period 40 - Task B: Execution 14, Period 50 - Task C: Execution 3, Period 10 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 10/40 = 0.250
- Task B: 14/50 = 0.280
- Task C: 3/10 = 0.300
Total U = 0.830
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.830 > 0.780 (RM bound)

Answer: May not be schedulable

Question 20

Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority): - Task A: Execution 3, Period 10 - Task B: Execution 7, Period 30 - Task C: Execution 6, Period 20 Is the task set schedulable under RM?
Step-by-step solution:

1. Calculate utilization:
- Task A: 3/10 = 0.300
- Task B: 7/30 = 0.233
- Task C: 6/20 = 0.300
Total U = 0.833
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.833 > 0.780 (RM bound)

Answer: May not be schedulable
Previous Worksheet Next Worksheet