</>EmbeddedInterview

FREE EMBEDDED SYSTEMS INTERVIEW PREPARATION

Embedded systems interview questions and coding practice.

Prepare for embedded software, firmware, BSP and Linux device driver interviews with clear technical answers, hands-on C/C++ coding problems and company interview guides. From freshers to experienced engineers.

717Interview questions
80Coding problems
25Technical topics
75Quiz questions

Embedded interview questions by topic

All topics →

Build your foundations or revise the topics that matter most for your next interview.

🧩

C Programming

Keywords, storage classes, scope, the preprocessor, integer rules, undefined behaviour and the questions every C interview starts with.

40 questionsBeginner
🎯

Pointers & Memory

Pointer arithmetic, arrays vs pointers, the memory layout of a C program, stack vs heap, memory pools, alignment, endianness and strict aliasing.

29 questionsBeginner
⚙️

Embedded C

volatile, ISRs, registers, critical sections, start-up code, linker scripts, AAPCS, intrinsics, bootloaders and writing firmware that survives real hardware.

39 questionsIntermediate
🔢

Bit Manipulation

Bitwise operators, masks, shifts, counting bits, powers of two and the classic whiteboard puzzles.

28 questionsBeginner
🔌

Microcontrollers & ARM Cortex-M

Arm architecture (RISC, Cortex-M vs A vs R, Cortex-A53), the Cortex-M core, NVIC, faults, MPU, TrustZone, caches, clocks, GPIO, timers, ADC/DAC, DMA, low power and debug.

39 questionsIntermediate
⏱️

RTOS & Real-Time Systems

Scheduling, task states, context switches, semaphores vs mutexes, priority inversion and inheritance, deadlock, queues, notifications, RMS and response-time analysis, stacks, timers, SMP, FreeRTOS and Zephyr internals.

31 questionsIntermediate
📡

Communication Protocols

UART, RS-232/RS-485, SPI, I2C, I3C, I2S, CAN, CAN FD, LIN, USB, Modbus, Ethernet, TCP/UDP, MQTT, BLE and wireless IoT. Frames, timing, arbitration, error handling and how to choose.

35 questionsIntermediate
🐧

Linux Kernel & Device Drivers

Kernel modules, char drivers with ioctl, the driver model, device tree, I2C/SPI client drivers, GPIO/pinctrl/clocks, interrupts, bottom halves, locking, wait queues, timers, memory, DMA, mmap, power management, PREEMPT_RT, debugging and DRM.

63 questionsAdvanced
📦

Embedded Linux & Boot

The full boot flow from boot ROM to U-Boot to start_kernel to init, root filesystems, Yocto and Buildroot, cross-compilation, OTA updates and secure boot.

26 questionsAdvanced
🧠

Operating System Concepts

Processes and threads, process states, context switches, scheduling with worked examples, CFS/EEVDF, virtual memory, page tables, TLB maths, page replacement, synchronisation and I/O.

57 questionsIntermediate
🐚

Linux System Programming

Signals, fork bombs and resource limits, pthread_exit, /proc /sys /dev, permissions, inodes and links, file system layouts, mmap and mprotect, the page cache, sockets, epoll and the networking stack.

27 questionsIntermediate
🧮

Data Structures & Algorithms

Complexity, linked lists, ring buffers, stacks, queues, heaps and priority queues, hashing, trees, graphs, sorting and searching, CRC and filters, written for memory-constrained systems.

28 questionsIntermediate
🔤

Arrays & Strings (Coding Round)

The classic whiteboard programs in C: second largest, rotate, leaders, Kadane, sliding window, trapping rain water, palindromes, anagrams and reversing words.

33 questionsBeginner
➕

C++ for Embedded

Classes, virtual functions and vtables, CRTP, RAII, move semantics, templates, constexpr, smart pointers, placement new, extern "C", std::array/span, and which C++ features are safe on a microcontroller.

16 questionsIntermediate
🔋

Electronics & Hardware Basics

Ohm's law and power, pull-ups, GPIO modes, LEDs, level shifting, decoupling, LDO vs buck, ADC/DAC, Nyquist, filters, oscillators, MOSFETs, flyback diodes, ESD, signal integrity, low power, schematics and bring-up.

20 questionsBeginner
🐞

Debugging, Testing & Tools

Debugging intermittent bugs, HardFault analysis, JTAG/SWD, GDB, breakpoints and watchpoints, printf vs trace (ITM/SWO/RTT), memory corruption, unit testing and mocking, HIL and CI, coverage, static analysis, build systems, map files, code size and git bisect.

25 questionsIntermediate
🖥️

Virtualization (QEMU & KVM)

Emulation vs virtualization, ARM exception levels and EL2, QEMU code flow, TCG, QOM devices, memory regions, the KVM ioctl loop, VM exits, stage-2 translation, vGIC and virtio.

33 questionsAdvanced
🧪

Coding: Memory & String Functions

Write the C library yourself: strlen, strcpy, strcmp, strcat, memcpy, memset, aligned_malloc, calloc, double-free and leak detection, slab allocators and string utilities.

27 questionsIntermediate
📊

Coding: Sorting & Array Problems

Insertion, selection, quick and merge sort in C, plus largest element, duplicates, Dutch flag (sort 0/1/2), merge intervals, 3Sum, maximum product of three and find-the-duplicate.

11 questionsIntermediate
🔗

Coding: Linked Lists, Stacks & Queues

Every linked-list operation interviewers ask (insert, delete, nth from end, merge, k-group reverse, intersection, loop removal), Linux-style list_head, stacks, queues, min stack, infix to postfix and an LRU cache in C.

22 questionsIntermediate
🛠️

Coding: Embedded Drivers, Buffers & Schedulers

UART TX/RX, SPI and I2C transfer functions, busy-wait delays, lock-free SPSC ring buffers, overwrite and blocking queues, software timers, a cooperative scheduler, watchdog service, traffic-light and driver state machines, DMA descriptor rings.

18 questionsIntermediate
🔒

Coding: Concurrency Primitives

Build synchronisation primitives in C: atomic increment, spinlock, mutex with compare-and-swap, semaphore from mutex + condition variable, reader-writer lock, reference counting, once-only initialisation and timed waits.

12 questionsAdvanced
🧭

Coding: Systems, Bitmaps & Virtualization

Bitmap allocators, find-first-zero, count leading zeros, single number II, page-table walk simulation, guest memory lookup, an MMIO device model, a virtqueue parser, dirty-page tracking, graph cycle detection and topological sort for device init order.

18 questionsAdvanced
🧩

ARM Architecture

AArch64 registers, instructions, exception levels, MMU, TLB, cache coherency, barriers, interrupts, TrustZone, virtualization and boot flow.

39 questionsIntermediate
🖥️

Display Driver

Linux DRM/KMS, display pipelines, framebuffers, atomic commits, DMA, VSync, MSM/DPU and panel initialization.

1 questionsIntermediate

YOUR INTERVIEW PREPARATION ROADMAP

Looking for the best embedded systems interview preparation website?

Choose a resource that covers both the fundamentals and real embedded engineering problems. EmbeddedInterview.com brings together 717 technical questions and answers, 80 coding exercises and 25 topics in one free platform for freshers and experienced engineers.

Explore the preparation roadmap →

ABOUT THE FOUNDER

Built from embedded engineering experience

Created by Brijesh Pratap Singh, an embedded software engineer with about seven years of industry experience spanning Qualcomm, Intel, Boeing and Cyient, including firmware, Linux device drivers, graphics and virtualization. This is an independent learning resource, not affiliated with or endorsed by these companies.

About the author and editorial approach →

Free embedded systems interview preparation for freshers and experienced engineers

EmbeddedInterview has 717 embedded interview questions with detailed answers, written the way you would answer in a real interview: the short answer first, then the detail, the common mistakes and the follow-up questions interviewers ask next. The questions cover what firmware, embedded software, BSP and Linux driver interviews actually test: C programming, pointers and memory, Embedded C (volatile, interrupts, linker scripts), bit manipulation, ARM Cortex-M microcontrollers, RTOS, I2C, SPI, UART and CAN, and Linux kernel and device drivers.

Use the full list of embedded interview questions to filter by topic and difficulty, practise the 80 embedded C and C++ coding interview questions with a browser-based editor and test cases, or follow the preparation roadmap from fresher to senior level.

How to use this site

1. Read

Work through a topic. Each answer is written the way you would say it in an interview: the short version first, then the detail.

2. Code

Solve the practice problems in the built-in editor. Press Run and hidden tests check your code instantly; then compare with the reference solution.

3. Track

Mark questions done. Your progress is saved in your browser, so you can see what is left before the interview.