Bird
0
0

You want to improve responsiveness in a sensor monitoring system by switching from bare-metal to FreeRTOS. Which approach best uses FreeRTOS features to achieve this?

hard📝 Application Q15 of 15
FreeRTOS - RTOS Fundamentals
You want to improve responsiveness in a sensor monitoring system by switching from bare-metal to FreeRTOS. Which approach best uses FreeRTOS features to achieve this?
ACreate separate tasks for sensor reading, data processing, and communication with different priorities
BRun all code sequentially in one task with long delays
CUse FreeRTOS only to replace delay functions but keep one big task
DDisable interrupts and rely on polling in a single task
Step-by-Step Solution
Solution:
  1. Step 1: Identify how RTOS improves responsiveness

    RTOS allows multiple tasks with priorities, so critical tasks run promptly.
  2. Step 2: Evaluate options for task design

    Creating separate tasks for sensor reading, processing, and communication with priorities uses RTOS strengths best.
  3. Final Answer:

    Create separate tasks for sensor reading, data processing, and communication with different priorities -> Option A
  4. Quick Check:

    Separate prioritized tasks improve responsiveness [OK]
Quick Trick: Use multiple prioritized tasks for better responsiveness [OK]
Common Mistakes:
  • Keeping all code in one task with delays
  • Using RTOS only for delays, not multitasking
  • Disabling interrupts reduces responsiveness

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes