Bird
0
0

What does task starvation mean in FreeRTOS?

easy📝 Conceptual Q11 of 15
FreeRTOS - Task Scheduling
What does task starvation mean in FreeRTOS?
ASome tasks never get CPU time because others run too much
BAll tasks get equal CPU time regardless of priority
CTasks run in a random order without priority
DTasks share CPU time only when a mutex is free
Step-by-Step Solution
Solution:
  1. Step 1: Understand task scheduling in FreeRTOS

    FreeRTOS schedules tasks based on priority, so higher priority tasks run more often.
  2. Step 2: Define task starvation

    Task starvation happens when low priority tasks never get CPU time because higher priority tasks keep running.
  3. Final Answer:

    Some tasks never get CPU time because others run too much -> Option A
  4. Quick Check:

    Task starvation = some tasks starve for CPU [OK]
Quick Trick: Starvation means some tasks get no CPU time [OK]
Common Mistakes:
  • Confusing starvation with equal CPU sharing
  • Thinking tasks run randomly
  • Assuming mutex controls CPU time directly

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes