Bird
0
0

In a FreeRTOS system with preemptive scheduling, how does time slicing affect tasks of equal priority?

hard📝 Application Q9 of 15
FreeRTOS - Task Scheduling
In a FreeRTOS system with preemptive scheduling, how does time slicing affect tasks of equal priority?
ATasks of equal priority share CPU time by switching periodically
BThe first created task runs forever ignoring others
CTasks run in random order regardless of priority
DOnly one task runs until it blocks or yields
Step-by-Step Solution
Solution:
  1. Step 1: Understand time slicing in FreeRTOS

    Time slicing allows tasks of equal priority to share CPU time by switching between them periodically.
  2. Step 2: Compare options

    Tasks of equal priority share CPU time by switching periodically correctly describes time slicing; others describe non-preemptive or incorrect behavior.
  3. Final Answer:

    Tasks of equal priority share CPU time by switching periodically -> Option A
  4. Quick Check:

    Time slicing shares CPU among equal priority tasks [OK]
Quick Trick: Equal priority tasks share CPU via time slicing [OK]
Common Mistakes:
  • Assuming one task runs forever
  • Believing tasks run randomly
  • Ignoring time slicing effect

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes