RTOS interview questions

27 RTOS questions from the Embedded Systems bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute ECE readiness check — six questions and a result.

Take the free ECE readiness check

or take a mock interview set up for this area

1. What is Task and scheduler?

Junior
  1. 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
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

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"?

Junior
  1. A.Task and scheduler
  2. B.Tick rate
  3. C.Queue
  4. D.Zephyr RTOS

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. 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
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

4. What is Semaphore versus mutex?

Junior
  1. 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
  2. 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
  3. 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
  4. D.Linux Foundation real-time OS with device-tree hardware description, Kconfig configuration, the west build tool and native Bluetooth, networking and MCUboot support

Answer + AI explanation with Pro

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"?

Junior
  1. A.Stack sizing
  2. B.Semaphore versus mutex
  3. C.Zephyr RTOS
  4. D.Task and scheduler

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. 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
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

7. What is Tick rate?

Junior
  1. A.periodic timer interrupt, commonly 1 kHz via configTICK_RATE_HZ, driving time slicing, delays and timeouts, with tickless idle available to save power
  2. B.Linux Foundation real-time OS with device-tree hardware description, Kconfig configuration, the west build tool and native Bluetooth, networking and MCUboot support
  3. 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
  4. 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

Answer + AI explanation with Pro

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"?

Junior
  1. A.Priority inheritance
  2. B.Tick rate
  3. C.ISR-safe APIs
  4. D.Zephyr RTOS

Answer + AI explanation with Pro

9. Which statement is correct?

Junior
  1. 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
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

10. What is Priority inversion?

Mid
  1. 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
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

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"?

Mid
  1. A.Task and scheduler
  2. B.Tick rate
  3. C.Queue
  4. D.Priority inversion

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. 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
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

13. What is Priority inheritance?

Mid
  1. 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
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

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"?

Mid
  1. A.Priority inheritance
  2. B.Zephyr RTOS
  3. C.Stack sizing
  4. D.Tick rate

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. 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
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

16. What is Queue?

Mid
  1. 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
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

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"?

Mid
  1. A.Zephyr RTOS
  2. B.ISR-safe APIs
  3. C.Priority inversion
  4. D.Queue

Answer + AI explanation with Pro

18. Which statement is correct?

Mid
  1. 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
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

19. What is ISR-safe APIs?

Mid
  1. 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
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

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"?

Mid
  1. A.ISR-safe APIs
  2. B.Task and scheduler
  3. C.Tick rate
  4. D.Stack sizing

Answer + AI explanation with Pro

21. Which statement is correct?

Mid
  1. 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
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

22. What is Zephyr RTOS?

Mid
  1. A.Linux Foundation real-time OS with device-tree hardware description, Kconfig configuration, the west build tool and native Bluetooth, networking and MCUboot support
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

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"?

Mid
  1. A.Stack sizing
  2. B.Queue
  3. C.Priority inheritance
  4. D.Zephyr RTOS

Answer + AI explanation with Pro

24. Which statement is correct?

Mid
  1. 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
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

25. What is Stack sizing?

Senior
  1. A.periodic timer interrupt, commonly 1 kHz via configTICK_RATE_HZ, driving time slicing, delays and timeouts, with tickless idle available to save power
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

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"?

Senior
  1. A.Priority inversion
  2. B.Stack sizing
  3. C.ISR-safe APIs
  4. D.Task and scheduler

Answer + AI explanation with Pro

27. Which statement is correct?

Senior
  1. 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
  2. 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
  3. 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
  4. 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

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute ECE readiness check and a scored result. Answers, explanations and the AI tutor on every RTOS question come with Pro.

Take the free ECE readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers