Bird
0
0

Which of the following is the correct way to delay a task for 100 ticks in FreeRTOS?

easy📝 Syntax Q12 of 15
FreeRTOS - RTOS Fundamentals
Which of the following is the correct way to delay a task for 100 ticks in FreeRTOS?
AxTaskDelay(100);
BvTaskDelay(1000);
CvTaskDelay(100);
DdelayTask(100);
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct function name

    The correct FreeRTOS function to delay a task is vTaskDelay().
  2. Step 2: Check parameter correctness

    The parameter is the number of ticks to delay. For 100 ticks, vTaskDelay(100); is correct.
  3. Final Answer:

    vTaskDelay(100); -> Option C
  4. Quick Check:

    Delay task = vTaskDelay(ticks) [OK]
Quick Trick: Use vTaskDelay with tick count to pause tasks [OK]
Common Mistakes:
  • Using wrong function name like xTaskDelay or delayTask
  • Passing milliseconds instead of ticks
  • Using too large or incorrect delay values

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes