Bird
0
0

Why can assigning too many tasks the same high priority in FreeRTOS cause problems in real applications?

hard📝 Conceptual Q10 of 15
FreeRTOS - Task Priorities
Why can assigning too many tasks the same high priority in FreeRTOS cause problems in real applications?
AIt prevents lower priority tasks from ever running
BIt guarantees all tasks run simultaneously without delay
CIt disables the scheduler automatically
DIt can cause excessive context switching and reduce system efficiency
Step-by-Step Solution
Solution:
  1. Step 1: Understand effect of many high priority tasks

    Many tasks with same high priority cause frequent context switches as CPU switches between them.
  2. Step 2: Impact on system

    Excessive context switching wastes CPU time and reduces overall efficiency.
  3. Final Answer:

    It can cause excessive context switching and reduce system efficiency -> Option D
  4. Quick Check:

    Too many high priority tasks = Excessive context switching [OK]
Quick Trick: Avoid many tasks sharing highest priority to reduce switching [OK]
Common Mistakes:
  • Believing all tasks run simultaneously
  • Thinking scheduler disables automatically
  • Ignoring impact of context switching overhead

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes