Question 1
Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority):
- Task A: Execution 3, Period 10
- Task B: Execution 14, Period 50
- Task C: Execution 3, 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: 14/50 = 0.280
- Task C: 3/50 = 0.060
- Task D: 2/10 = 0.200
Total U = 0.840
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.840 > 0.757 (RM bound)
Answer: May not be schedulable
1. Calculate utilization:
- Task A: 3/10 = 0.300
- Task B: 14/50 = 0.280
- Task C: 3/50 = 0.060
- Task D: 2/10 = 0.200
Total U = 0.840
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.840 > 0.757 (RM bound)
Answer: May not be schedulable