Bird
0
0

Why does FreeRTOS use numeric priorities instead of descriptive names for tasks?

hard📝 Conceptual Q10 of 15
FreeRTOS - Task Creation and Management

Why does FreeRTOS use numeric priorities instead of descriptive names for tasks?

ANumeric priorities use less memory for task names
BDescriptive names are harder to remember
CDescriptive names cause syntax errors
DNumeric priorities allow fast comparison and scheduling decisions
Step-by-Step Solution
Solution:
  1. Step 1: Understand scheduler efficiency needs

    Scheduler must quickly decide which task to run next by comparing priorities.
  2. Step 2: Numeric priorities enable fast comparisons

    Numbers can be compared quickly by CPU, making scheduling efficient.
  3. Final Answer:

    Numeric priorities allow fast comparison and scheduling decisions -> Option D
  4. Quick Check:

    Numeric priorities = fast scheduling [OK]
Quick Trick: Numbers speed up scheduler decisions vs names [OK]
Common Mistakes:
  • Thinking descriptive names affect memory or cause errors
  • Assuming names are used for priority
  • Confusing task names with priority values

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes