In FreeRTOS, the fifth parameter in xTaskCreate is the task priority.
Step 2: Identify equal priorities
Both tasks have priority 2 in xTaskCreate(task1, "Task1", 1000, NULL, 2, NULL); xTaskCreate(task2, "Task2", 1000, NULL, 2, NULL);, making them equal priority tasks.
Final Answer:
Both tasks have priority 2, so they have equal priority. -> Option A
Quick Check:
Same priority number = equal priority [OK]
Quick Trick:Same priority number means equal priority [OK]
Common Mistakes:
Assigning different priority numbers to tasks
Confusing task stack size with priority
Using priority 0 and 1 as equal
Master "Task Scheduling" in FreeRTOS
9 interactive learning modes - each teaches the same concept differently