Question 1
Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority):
- Task A: Execution 3, Period 40
- Task B: Execution 10, Period 30
- Task C: Execution 3, Period 10
Is the task set schedulable under RM?
Step-by-step solution:
1. Calculate utilization:
- Task A: 3/40 = 0.075
- Task B: 10/30 = 0.333
- Task C: 3/10 = 0.300
Total U = 0.708
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.708 ≤ 0.780 (RM bound)
Answer: Schedulable
1. Calculate utilization:
- Task A: 3/40 = 0.075
- Task B: 10/30 = 0.333
- Task C: 3/10 = 0.300
Total U = 0.708
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.708 ≤ 0.780 (RM bound)
Answer: Schedulable