Q5Real Time Systems
Question
2 marks
State the difference between periodic and aperiodic tasks.
Answer
Periodic tasks execute at mathematically rigid, constant time intervals (e.g., reading a temperature sensor every 5ms). Aperiodic tasks trigger unpredictably at chaotic times based on external physical events (e.g., an emergency hardware interrupt).
Periodic tasks form the absolute predictable foundation of an RTS, allowing offline mathematical scheduling. Aperiodic tasks (and their subset, Sporadic tasks with minimum inter-arrival times) act as violent disruptions that the scheduler must dynamically accommodate without crashing the periodic baseline.