Bird
0
0

In FreeRTOS, what is the primary purpose of the task control block (TCB)?

easy📝 Conceptual Q2 of 15
FreeRTOS - RTOS Fundamentals
In FreeRTOS, what is the primary purpose of the task control block (TCB)?
ATo configure peripheral devices
BTo store task information like state and priority
CTo manage memory allocation
DTo handle hardware interrupts
Step-by-Step Solution
Solution:
  1. Step 1: Define the task control block (TCB)

    The TCB holds all data about a task, including its state, priority, and stack pointer.
  2. Step 2: Understand its role in task management

    It helps the scheduler know which task to run and how to resume it.
  3. Final Answer:

    To store task information like state and priority -> Option B
  4. Quick Check:

    TCB = Task info storage [OK]
Quick Trick: TCB holds task details like priority and state [OK]
Common Mistakes:
  • Confusing TCB with interrupt handlers
  • Assuming TCB manages hardware

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes