Recall & Review
beginner
What does the Ready state mean for a FreeRTOS task?
The Ready state means the task is prepared to run but is waiting for the CPU to become available. It is not blocked or suspended.
Click to reveal answer
beginner
Describe the Running state in FreeRTOS.
The Running state means the task is currently executing on the CPU.
Click to reveal answer
beginner
What causes a task to enter the Blocked state?
A task enters the Blocked state when it is waiting for an event, such as a delay to finish or a resource to become available.
Click to reveal answer
intermediate
Explain the Suspended state in FreeRTOS.
A Suspended task is one that has been stopped by the programmer and will not run until explicitly resumed.
Click to reveal answer
intermediate
How does FreeRTOS decide which task moves from Ready to Running?
FreeRTOS uses a scheduler that selects the highest priority task in the Ready state to run next on the CPU.
Click to reveal answer
Which FreeRTOS task state means the task is waiting for a resource or event?
✗ Incorrect
Blocked means the task is waiting for something like a delay or resource.
What state is a task in when it is actively using the CPU?
✗ Incorrect
Running means the task is currently executing on the CPU.
Which state means a task will not run until resumed by the programmer?
✗ Incorrect
Suspended tasks are stopped and need explicit resume to run again.
What determines which Ready task becomes Running in FreeRTOS?
✗ Incorrect
The scheduler picks the highest priority Ready task to run.
If a task is waiting for a timer to expire, what state is it in?
✗ Incorrect
Waiting for a timer means the task is Blocked.
Explain the four main FreeRTOS task states and give a simple example of when a task might be in each state.
Think about what the task is doing or waiting for in each state.
You got /4 concepts.
How does FreeRTOS decide which task to run next from the Ready state?
Focus on the role of the scheduler and priorities.
You got /3 concepts.