Bird
0
0

Why does FreeRTOS use a priority-based preemptive scheduler instead of a simple round-robin scheduler?

hard📝 Conceptual Q10 of 15
FreeRTOS - RTOS Fundamentals
Why does FreeRTOS use a priority-based preemptive scheduler instead of a simple round-robin scheduler?
ATo simplify task creation syntax
BTo avoid using interrupts
CTo reduce memory usage by tasks
DTo ensure critical tasks run immediately when ready
Step-by-Step Solution
Solution:
  1. Step 1: Understand scheduler types

    Round-robin runs tasks equally without priority consideration.
  2. Step 2: Reason why FreeRTOS uses priority-based preemption

    This ensures that important tasks get CPU time immediately, improving responsiveness.
  3. Final Answer:

    To ensure critical tasks run immediately when ready -> Option D
  4. Quick Check:

    Priority preemption = immediate critical task execution [OK]
Quick Trick: Priority scheduler runs critical tasks immediately [OK]
Common Mistakes:
  • Thinking scheduler choice reduces memory
  • Assuming interrupts are avoided by scheduler

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes