Question 1
Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority):
- Task A: Execution 3, Period 30
- Task B: Execution 7, Period 30
- Task C: Execution 4, Period 30
- Task D: Execution 11, Period 40
Is the task set schedulable under RM?
Step-by-step solution:
1. Calculate utilization:
- Task A: 3/30 = 0.100
- Task B: 7/30 = 0.233
- Task C: 4/30 = 0.133
- Task D: 11/40 = 0.275
Total U = 0.742
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.742 ≤ 0.757 (RM bound)
Answer: Schedulable
1. Calculate utilization:
- Task A: 3/30 = 0.100
- Task B: 7/30 = 0.233
- Task C: 4/30 = 0.133
- Task D: 11/40 = 0.275
Total U = 0.742
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.742 ≤ 0.757 (RM bound)
Answer: Schedulable