27 real RTOS questions from the Embedded Systems bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.
1. What is Task and scheduler?
Junior
A.mutex protocol raising the holder to the priority of the highest waiter so it finishes quickly; FreeRTOS mutexes implement it, binary semaphores do not
B.each task owns a stack and a priority, and the scheduler runs the highest-priority ready task, switching pre-emptively on interrupts or the tick
C.semaphore signals events or counts resources and may be given from an ISR; mutex protects a shared resource, has an owner and supports priority inheritance
D.functions ending in FromISR that never block and request a context switch through a higher-priority-task-woken flag; calling the normal versions from an interrupt is undefined
2. Which term means: "each task owns a stack and a priority, and the scheduler runs the highest-priority ready task, switching pre-emptively on interrupts or the tick"?
A.Task and scheduler — Linux Foundation real-time OS with device-tree hardware description, Kconfig configuration, the west build tool and native Bluetooth, networking and MCUboot support
B.Task and scheduler — periodic timer interrupt, commonly 1 kHz via configTICK_RATE_HZ, driving time slicing, delays and timeouts, with tickless idle available to save power
C.Task and scheduler — choose task stacks from high-water-mark measurement with margin for worst-case call depth and ISR nesting, enabling overflow check hooks during development
D.Task and scheduler — each task owns a stack and a priority, and the scheduler runs the highest-priority ready task, switching pre-emptively on interrupts or the tick
A.semaphore signals events or counts resources and may be given from an ISR; mutex protects a shared resource, has an owner and supports priority inheritance
B.choose task stacks from high-water-mark measurement with margin for worst-case call depth and ISR nesting, enabling overflow check hooks during development
C.functions ending in FromISR that never block and request a context switch through a higher-priority-task-woken flag; calling the normal versions from an interrupt is undefined
D.Linux Foundation real-time OS with device-tree hardware description, Kconfig configuration, the west build tool and native Bluetooth, networking and MCUboot support
5. Which term means: "semaphore signals events or counts resources and may be given from an ISR; mutex protects a shared resource, has an owner and supports priority inheritance"?
A.Semaphore versus mutex — a high-priority task blocked on a mutex held by a low-priority task that is itself pre-empted by medium-priority tasks, the failure behind the Mars Pathfinder resets
B.Semaphore versus mutex — Linux Foundation real-time OS with device-tree hardware description, Kconfig configuration, the west build tool and native Bluetooth, networking and MCUboot support
C.Semaphore versus mutex — semaphore signals events or counts resources and may be given from an ISR; mutex protects a shared resource, has an owner and supports priority inheritance
D.Semaphore versus mutex — each task owns a stack and a priority, and the scheduler runs the highest-priority ready task, switching pre-emptively on interrupts or the tick
A.periodic timer interrupt, commonly 1 kHz via configTICK_RATE_HZ, driving time slicing, delays and timeouts, with tickless idle available to save power
B.Linux Foundation real-time OS with device-tree hardware description, Kconfig configuration, the west build tool and native Bluetooth, networking and MCUboot support
C.mutex protocol raising the holder to the priority of the highest waiter so it finishes quickly; FreeRTOS mutexes implement it, binary semaphores do not
D.each task owns a stack and a priority, and the scheduler runs the highest-priority ready task, switching pre-emptively on interrupts or the tick
8. Which term means: "periodic timer interrupt, commonly 1 kHz via configTICK_RATE_HZ, driving time slicing, delays and timeouts, with tickless idle available to save power"?
A.Tick rate — functions ending in FromISR that never block and request a context switch through a higher-priority-task-woken flag; calling the normal versions from an interrupt is undefined
B.Tick rate — semaphore signals events or counts resources and may be given from an ISR; mutex protects a shared resource, has an owner and supports priority inheritance
C.Tick rate — thread-safe FIFO copying items by value between tasks or from ISRs, with blocking send and receive plus timeouts, the recommended way to pass data out of interrupts
D.Tick rate — periodic timer interrupt, commonly 1 kHz via configTICK_RATE_HZ, driving time slicing, delays and timeouts, with tickless idle available to save power
A.semaphore signals events or counts resources and may be given from an ISR; mutex protects a shared resource, has an owner and supports priority inheritance
B.a high-priority task blocked on a mutex held by a low-priority task that is itself pre-empted by medium-priority tasks, the failure behind the Mars Pathfinder resets
C.functions ending in FromISR that never block and request a context switch through a higher-priority-task-woken flag; calling the normal versions from an interrupt is undefined
D.choose task stacks from high-water-mark measurement with margin for worst-case call depth and ISR nesting, enabling overflow check hooks during development
11. Which term means: "a high-priority task blocked on a mutex held by a low-priority task that is itself pre-empted by medium-priority tasks, the failure behind the Mars Pathfinder resets"?
A.Priority inversion — thread-safe FIFO copying items by value between tasks or from ISRs, with blocking send and receive plus timeouts, the recommended way to pass data out of interrupts
B.Priority inversion — mutex protocol raising the holder to the priority of the highest waiter so it finishes quickly; FreeRTOS mutexes implement it, binary semaphores do not
C.Priority inversion — semaphore signals events or counts resources and may be given from an ISR; mutex protects a shared resource, has an owner and supports priority inheritance
D.Priority inversion — a high-priority task blocked on a mutex held by a low-priority task that is itself pre-empted by medium-priority tasks, the failure behind the Mars Pathfinder resets
A.each task owns a stack and a priority, and the scheduler runs the highest-priority ready task, switching pre-emptively on interrupts or the tick
B.choose task stacks from high-water-mark measurement with margin for worst-case call depth and ISR nesting, enabling overflow check hooks during development
C.semaphore signals events or counts resources and may be given from an ISR; mutex protects a shared resource, has an owner and supports priority inheritance
D.mutex protocol raising the holder to the priority of the highest waiter so it finishes quickly; FreeRTOS mutexes implement it, binary semaphores do not
14. Which term means: "mutex protocol raising the holder to the priority of the highest waiter so it finishes quickly; FreeRTOS mutexes implement it, binary semaphores do not"?
A.Priority inheritance — a high-priority task blocked on a mutex held by a low-priority task that is itself pre-empted by medium-priority tasks, the failure behind the Mars Pathfinder resets
B.Priority inheritance — functions ending in FromISR that never block and request a context switch through a higher-priority-task-woken flag; calling the normal versions from an interrupt is undefined
C.Priority inheritance — thread-safe FIFO copying items by value between tasks or from ISRs, with blocking send and receive plus timeouts, the recommended way to pass data out of interrupts
D.Priority inheritance — mutex protocol raising the holder to the priority of the highest waiter so it finishes quickly; FreeRTOS mutexes implement it, binary semaphores do not
A.semaphore signals events or counts resources and may be given from an ISR; mutex protects a shared resource, has an owner and supports priority inheritance
B.a high-priority task blocked on a mutex held by a low-priority task that is itself pre-empted by medium-priority tasks, the failure behind the Mars Pathfinder resets
C.functions ending in FromISR that never block and request a context switch through a higher-priority-task-woken flag; calling the normal versions from an interrupt is undefined
D.thread-safe FIFO copying items by value between tasks or from ISRs, with blocking send and receive plus timeouts, the recommended way to pass data out of interrupts
17. Which term means: "thread-safe FIFO copying items by value between tasks or from ISRs, with blocking send and receive plus timeouts, the recommended way to pass data out of interrupts"?
A.Queue — functions ending in FromISR that never block and request a context switch through a higher-priority-task-woken flag; calling the normal versions from an interrupt is undefined
B.Queue — a high-priority task blocked on a mutex held by a low-priority task that is itself pre-empted by medium-priority tasks, the failure behind the Mars Pathfinder resets
C.Queue — periodic timer interrupt, commonly 1 kHz via configTICK_RATE_HZ, driving time slicing, delays and timeouts, with tickless idle available to save power
D.Queue — thread-safe FIFO copying items by value between tasks or from ISRs, with blocking send and receive plus timeouts, the recommended way to pass data out of interrupts
A.semaphore signals events or counts resources and may be given from an ISR; mutex protects a shared resource, has an owner and supports priority inheritance
B.functions ending in FromISR that never block and request a context switch through a higher-priority-task-woken flag; calling the normal versions from an interrupt is undefined
C.choose task stacks from high-water-mark measurement with margin for worst-case call depth and ISR nesting, enabling overflow check hooks during development
D.mutex protocol raising the holder to the priority of the highest waiter so it finishes quickly; FreeRTOS mutexes implement it, binary semaphores do not
20. Which term means: "functions ending in FromISR that never block and request a context switch through a higher-priority-task-woken flag; calling the normal versions from an interrupt is undefined"?
A.ISR-safe APIs — mutex protocol raising the holder to the priority of the highest waiter so it finishes quickly; FreeRTOS mutexes implement it, binary semaphores do not
B.ISR-safe APIs — each task owns a stack and a priority, and the scheduler runs the highest-priority ready task, switching pre-emptively on interrupts or the tick
C.ISR-safe APIs — functions ending in FromISR that never block and request a context switch through a higher-priority-task-woken flag; calling the normal versions from an interrupt is undefined
D.ISR-safe APIs — Linux Foundation real-time OS with device-tree hardware description, Kconfig configuration, the west build tool and native Bluetooth, networking and MCUboot support
A.Linux Foundation real-time OS with device-tree hardware description, Kconfig configuration, the west build tool and native Bluetooth, networking and MCUboot support
B.a high-priority task blocked on a mutex held by a low-priority task that is itself pre-empted by medium-priority tasks, the failure behind the Mars Pathfinder resets
C.thread-safe FIFO copying items by value between tasks or from ISRs, with blocking send and receive plus timeouts, the recommended way to pass data out of interrupts
D.functions ending in FromISR that never block and request a context switch through a higher-priority-task-woken flag; calling the normal versions from an interrupt is undefined
23. Which term means: "Linux Foundation real-time OS with device-tree hardware description, Kconfig configuration, the west build tool and native Bluetooth, networking and MCUboot support"?
A.Zephyr RTOS — semaphore signals events or counts resources and may be given from an ISR; mutex protects a shared resource, has an owner and supports priority inheritance
B.Zephyr RTOS — choose task stacks from high-water-mark measurement with margin for worst-case call depth and ISR nesting, enabling overflow check hooks during development
C.Zephyr RTOS — Linux Foundation real-time OS with device-tree hardware description, Kconfig configuration, the west build tool and native Bluetooth, networking and MCUboot support
D.Zephyr RTOS — a high-priority task blocked on a mutex held by a low-priority task that is itself pre-empted by medium-priority tasks, the failure behind the Mars Pathfinder resets
A.periodic timer interrupt, commonly 1 kHz via configTICK_RATE_HZ, driving time slicing, delays and timeouts, with tickless idle available to save power
B.mutex protocol raising the holder to the priority of the highest waiter so it finishes quickly; FreeRTOS mutexes implement it, binary semaphores do not
C.thread-safe FIFO copying items by value between tasks or from ISRs, with blocking send and receive plus timeouts, the recommended way to pass data out of interrupts
D.choose task stacks from high-water-mark measurement with margin for worst-case call depth and ISR nesting, enabling overflow check hooks during development
26. Which term means: "choose task stacks from high-water-mark measurement with margin for worst-case call depth and ISR nesting, enabling overflow check hooks during development"?
A.Stack sizing — thread-safe FIFO copying items by value between tasks or from ISRs, with blocking send and receive plus timeouts, the recommended way to pass data out of interrupts
B.Stack sizing — choose task stacks from high-water-mark measurement with margin for worst-case call depth and ISR nesting, enabling overflow check hooks during development
C.Stack sizing — functions ending in FromISR that never block and request a context switch through a higher-priority-task-woken flag; calling the normal versions from an interrupt is undefined
D.Stack sizing — mutex protocol raising the holder to the priority of the highest waiter so it finishes quickly; FreeRTOS mutexes implement it, binary semaphores do not
Answers, AI explanations, and a free readiness check
Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. The full AI mock interview, scored like a real panel, unlocks with Pro.