Recall & Review
beginner
What does a higher priority number mean in FreeRTOS?
In FreeRTOS, a higher priority number means the task has a higher priority and will be chosen to run before tasks with lower priority numbers.
Click to reveal answer
beginner
How are task priorities numbered in FreeRTOS?
Task priorities in FreeRTOS are numbered starting from 0 (lowest priority) up to configMAX_PRIORITIES - 1 (highest priority).
Click to reveal answer
intermediate
What happens if two tasks have the same priority in FreeRTOS?
If two tasks have the same priority, FreeRTOS uses time slicing or round-robin scheduling to share CPU time between them fairly.
Click to reveal answer
intermediate
Why is it important to assign correct priority numbers in FreeRTOS?
Assigning correct priority numbers ensures that critical tasks run first and the system behaves predictably, avoiding delays or missed deadlines.
Click to reveal answer
beginner
What is configMAX_PRIORITIES in FreeRTOS?
configMAX_PRIORITIES is a configuration constant that defines the maximum number of priority levels available in FreeRTOS.
Click to reveal answer
In FreeRTOS, which priority number represents the highest priority?
✗ Incorrect
Priority numbers start at 0 (lowest) and go up to configMAX_PRIORITIES - 1 (highest).
What scheduling method does FreeRTOS use when two tasks have the same priority?
✗ Incorrect
FreeRTOS uses round-robin time slicing to share CPU time fairly among tasks with equal priority.
If a task has priority 0, what does it mean?
✗ Incorrect
Priority 0 is the lowest priority in FreeRTOS.
Why should you avoid assigning all tasks the same priority?
✗ Incorrect
Same priority for all tasks can cause inefficient scheduling and timing issues.
What does configMAX_PRIORITIES control?
✗ Incorrect
configMAX_PRIORITIES sets how many priority levels FreeRTOS supports.
Explain how priority numbering works in FreeRTOS and why it matters.
Think about how tasks get CPU time based on their priority.
You got /4 concepts.
Describe what happens when two tasks have the same priority in FreeRTOS.
Consider how FreeRTOS handles equal priority tasks to keep things fair.
You got /3 concepts.