Q1. Explain Rate Monotonic Scheduling of Hard Real Time Systems.
Ans. The rate-monotonic scheduling algorithm schedules periodic tasks using a static priority policy with preemption. If a lower-priority process is running and a higher-priority process becomes available to run, it will preempt the lower-priority process.
Upon entering the system, each periodic task is assigned a priority inversely based on its period. The shorter the period, the higher the priority. The rationale behind this policy is to assign a higher priority to tasks that require the CPU more often.