Bird
0
0

Which of the following is a key advantage of using task notifications over queues in FreeRTOS?

easy📝 Conceptual Q2 of 15
FreeRTOS - Task Notifications
Which of the following is a key advantage of using task notifications over queues in FreeRTOS?
AThey consume less RAM and CPU cycles
BThey provide built-in message prioritization
CThey support multiple readers simultaneously
DThey allow sending large data blocks
Step-by-Step Solution
Solution:
  1. Step 1: Analyze resource usage

    Task notifications use a single 32-bit value per task, minimizing RAM and CPU usage.
  2. Step 2: Compare with queues

    Queues require memory for storing data and managing pointers, increasing resource consumption.
  3. Final Answer:

    Task notifications consume less RAM and CPU cycles. -> Option A
  4. Quick Check:

    Resource efficiency = Task notifications [OK]
Quick Trick: Task notifications use less memory and CPU than queues [OK]
Common Mistakes:
  • Believing task notifications can send large data blocks
  • Assuming queues are always more efficient
  • Thinking task notifications support multiple readers

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes