Bird
0
0

Why is it important to use vTaskPrioritySet() carefully in a real-time system?

hard📝 Conceptual Q10 of 15
FreeRTOS - Task Priorities

Why is it important to use vTaskPrioritySet() carefully in a real-time system?

ABecause it deletes the task permanently
BBecause changing priorities can affect task scheduling and system responsiveness
CBecause it resets all task priorities to default
DBecause it disables interrupts globally
Step-by-Step Solution
Solution:
  1. Step 1: Understand impact of priority changes

    Changing a task's priority affects which tasks run first and how responsive the system is.
  2. Step 2: Eliminate incorrect effects

    vTaskPrioritySet does not delete tasks, reset all priorities, or disable interrupts.
  3. Final Answer:

    Because changing priorities can affect task scheduling and system responsiveness -> Option B
  4. Quick Check:

    Priority changes impact scheduling [OK]
Quick Trick: Priority changes affect scheduling and responsiveness [OK]
Common Mistakes:
  • Thinking it deletes tasks
  • Assuming it resets all priorities
  • Believing it disables interrupts

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes