472 questions

Embedded systems interview questions

Every question we’d ask a firmware candidate, with a full worked answer on each page — from pointers and bit manipulation to RTOS scheduling, bus protocols, and on-chip debugging.

Programming Fundamentals

60 questions

What Is a Program?
Variables & Data Types
Operators
Input & Output
Conditionals
The switch Statement
while & do-while Loops
for Loops, break & continue
Functions
Arrays & Strings
Recursion
Errors & Debugging

C Programming

55 questions

The C Compilation Pipeline
Pointers & Addresses
Pointer Arithmetic & Arrays
Dynamic Memory: malloc & free
Stack vs Heap
Structs, Unions & Bitfields
Bit Manipulation & Masks
const, volatile & static
Function Pointers & Callbacks
The Preprocessor
Undefined Behavior & Pitfalls

C++ for Embedded

50 questions

C++ vs C for Embedded
Classes & Encapsulation
Constructors, Destructors & RAII
References vs Pointers
const Correctness & constexpr
Function & Operator Overloading
Templates: The Basics
Namespaces & Code Organization
What to Avoid on MCUs
The HAL Pattern

Data Structures & Algorithms

57 questions

Time & Space Complexity
Arrays & Memory Layout
Ring Buffers
Linked Lists
Stacks & Queues
Hash Tables
Static vs Dynamic Allocation
Lookup Tables & Precomputation
Finite State Machines
Linear & Binary Search
Sorting Basics

Embedded Systems Fundamentals

62 questions

What Is an Embedded System?
Inside an MCU
The Memory Map
Registers & Memory-Mapped I/O
GPIO: Digital I/O
Interrupts & ISRs
Timers & Counters
PWM
ADC & DAC
Clocks & the Clock Tree
The Watchdog Timer
Boot Sequence & Startup Code

Communication Protocols

46 questions

Serial vs Parallel, Sync vs Async
UART
SPI
I2C
Choosing UART, SPI, or I2C
CAN Bus
Common Bus Bugs
USB Basics
Modbus & 1-Wire

Networking & IoT

45 questions

OSI vs TCP/IP Model
Ethernet Basics
IP Addressing
TCP vs UDP
Sockets
MQTT
CoAP
BLE & WiFi for Embedded
TLS & Certificates

RTOS & Real-Time Concepts

52 questions

Bare-Metal vs RTOS
Tasks & the Scheduler
Preemptive vs Round-Robin Scheduling
Context Switching
Mutexes & Semaphores
Queues & Inter-Task Communication
Priority Inversion
Deadlocks & How to Avoid Them
Hard vs Soft Real-Time
FreeRTOS: A Practical Tour

Debugging & Toolchain

45 questions

The Toolchain
The Build Process & Makefiles
Linker Scripts & Memory Sections
Debugging with GDB
On-Chip Debugging: JTAG & SWD
Breakpoints & Watchpoints
Logic Analyzer & Oscilloscope
printf Debugging & Logging
Reading a Datasheet