Bird
0
0

You are designing a FreeRTOS system controlling a drone's flight (hard real-time) and a telemetry logger (soft real-time). How should you prioritize these tasks?

hard📝 Application Q8 of 15
FreeRTOS - RTOS Fundamentals
You are designing a FreeRTOS system controlling a drone's flight (hard real-time) and a telemetry logger (soft real-time). How should you prioritize these tasks?
AAssign higher priority to the telemetry logger to avoid data loss
BAssign equal priority to both tasks to ensure fairness
CAssign higher priority to the flight control task and lower priority to the telemetry logger
DRun both tasks at the lowest priority to save CPU
Step-by-Step Solution
Solution:
  1. Step 1: Identify task criticality

    Flight control is hard real-time and must meet strict deadlines.
  2. Step 2: Prioritize accordingly

    Assigning higher priority to flight control ensures deadlines are met; telemetry logger can tolerate delays.
  3. Final Answer:

    Assign higher priority to the flight control task and lower priority to the telemetry logger -> Option C
  4. Quick Check:

    Hard real-time tasks get higher priority than soft real-time tasks [OK]
Quick Trick: Hard real-time tasks get higher priority than soft real-time [OK]
Common Mistakes:
  • Giving equal priority to hard and soft real-time tasks
  • Prioritizing soft real-time over hard real-time
  • Assigning lowest priority to critical tasks

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes