Bird
0
0

What does the stack size parameter specify when creating a FreeRTOS task?

easy📝 Conceptual Q11 of 15
FreeRTOS - Task Creation and Management
What does the stack size parameter specify when creating a FreeRTOS task?
AThe total heap size available to the system
BThe number of tasks that can run simultaneously
CThe amount of memory allocated for the task's temporary data in words
DThe priority level of the task
Step-by-Step Solution
Solution:
  1. Step 1: Understand stack size meaning in FreeRTOS

    The stack size defines how much memory a task can use for its temporary data and function calls.
  2. Step 2: Identify the unit of stack size

    In FreeRTOS, stack size is given in words, not bytes, when creating a task.
  3. Final Answer:

    The amount of memory allocated for the task's temporary data in words -> Option C
  4. Quick Check:

    Stack size = task memory in words [OK]
Quick Trick: Stack size means task memory in words, not bytes [OK]
Common Mistakes:
  • Confusing stack size with heap size
  • Thinking stack size is in bytes
  • Mixing stack size with task priority

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes