Question 1
Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority):
- Task A: Execution 3, Period 10
- Task B: Execution 5, Period 50
- Task C: Execution 5, Period 20
- Task D: Execution 2, Period 20
Is the task set schedulable under RM?
Step-by-step solution:
1. Calculate utilization:
- Task A: 3/10 = 0.300
- Task B: 5/50 = 0.100
- Task C: 5/20 = 0.250
- Task D: 2/20 = 0.100
Total U = 0.750
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.750 ≤ 0.757 (RM bound)
Answer: Schedulable
1. Calculate utilization:
- Task A: 3/10 = 0.300
- Task B: 5/50 = 0.100
- Task C: 5/20 = 0.250
- Task D: 2/20 = 0.100
Total U = 0.750
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.750 ≤ 0.757 (RM bound)
Answer: Schedulable