Bird
0
0

Why does FreeRTOS require careful priority design rather than assigning all tasks the highest priority?

hard📝 Conceptual Q10 of 15
FreeRTOS - Task Priorities
Why does FreeRTOS require careful priority design rather than assigning all tasks the highest priority?
ABecause it can cause priority inversion and starvation issues
BBecause all tasks will run slower with high priority
CBecause FreeRTOS limits the number of high priority tasks to one
DBecause high priority tasks use more memory
Step-by-Step Solution
Solution:
  1. Step 1: Understand consequences of assigning all tasks highest priority

    All tasks at highest priority cause scheduler conflicts and can lead to priority inversion and starvation.
  2. Step 2: Recognize why careful priority design is needed

    Proper priority assignment avoids these problems and ensures system responsiveness.
  3. Final Answer:

    Because it can cause priority inversion and starvation issues -> Option A
  4. Quick Check:

    Careful priority design prevents inversion and starvation [OK]
Quick Trick: Avoid all tasks at highest priority to prevent issues [OK]
Common Mistakes:
  • Thinking high priority slows tasks
  • Believing only one high priority task allowed
  • Assuming priority affects memory use

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes