Bird
0
0

In FreeRTOS, what does preemptive scheduling mean?

easy📝 Conceptual Q1 of 15
FreeRTOS - Task Scheduling
In FreeRTOS, what does preemptive scheduling mean?
AA higher priority task can interrupt a lower priority task immediately
BTasks run in the order they were created regardless of priority
CTasks run only when the current task finishes
DTasks share CPU time equally without priority consideration
Step-by-Step Solution
Solution:
  1. Step 1: Understand preemptive scheduling concept

    Preemptive scheduling allows a higher priority task to interrupt a lower priority task immediately when it becomes ready.
  2. Step 2: Compare options with definition

    Only a higher priority task can interrupt a lower priority task immediately describes this behavior correctly; others describe non-preemptive or incorrect scheduling.
  3. Final Answer:

    A higher priority task can interrupt a lower priority task immediately -> Option A
  4. Quick Check:

    Preemptive scheduling = Higher priority interrupts lower [OK]
Quick Trick: Higher priority tasks interrupt lower ones immediately [OK]
Common Mistakes:
  • Thinking tasks run in creation order
  • Assuming tasks run to completion before switching
  • Believing CPU time is shared equally

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes