Embedded Systems Engineer Interview Questions

Comprehensive interview preparation for Embedded Systems, covering C, Microarchitecture, RTOS, Protocols, Linux, and specialized domain questions for Automotive, Medical, and IoT.

Total Questions:450
Difficulty Levels:
BeginnerIntermediateAdvanced
0%

Overall Progress

0/450

1.What is an embedded system?

2.What are the characteristics of embedded systems?

3.What is the difference between embedded systems and general-purpose computers?

4.What are the types of embedded systems (standalone, real-time, networked)?

5.What are real-time embedded systems?

6.What is hard real-time vs soft real-time system?

7.Give examples of hard real-time and soft real-time systems.

8.What is firmware?

9.What is the difference between firmware and software?

10.What is a microcontroller?

11.What is a microprocessor?

12.What is the difference between microcontroller and microprocessor?

13.What is System on Chip (SoC)?

14.What is FPGA (Field Programmable Gate Array)?

15.What is ASIC (Application Specific Integrated Circuit)?

16.What is the difference between FPGA and ASIC?

17.What are the advantages of embedded systems?

18.What are the challenges in embedded system design?

19.What is cross-compilation?

20.What is a cross-compiler?

21.What is host machine vs target machine?

22.What is bootloader?

23.What is the purpose of a bootloader?

24.What is BSP (Board Support Package)?

25.What is HAL (Hardware Abstraction Layer)?

26.What is device driver?

27.What is the embedded software development lifecycle?

28.What is bare-metal programming?

29.What is RTOS (Real-Time Operating System)?

30.What is the difference between bare-metal and RTOS-based systems?

31.What is Von Neumann architecture?

32.What is Harvard architecture?

33.What is the difference between Von Neumann and Harvard architecture?

34.What is modified Harvard architecture?

35.What is CPU/ALU/Control Unit?

36.What are CPU registers?

37.What is program counter (PC)?

38.What is stack pointer (SP)?

39.What is instruction register?

40.What is accumulator?

41.What is clock speed/frequency?

42.What is instruction cycle?

43.What is machine cycle vs instruction cycle?

44.What is pipelining in processors?

45.What is cache memory?

46.What is the difference between L1, L2, and L3 cache?

47.What is cache hit vs cache miss?

48.What is DMA (Direct Memory Access)?

49.What is the advantage of DMA?

50.What is memory-mapped I/O?

51.What is port-mapped I/O?

52.What is the difference between memory-mapped and port-mapped I/O?

53.What is big-endian vs little-endian?

54.How do you check if system is big-endian or little-endian?

55.What is byte ordering in embedded systems?

56.What is RISC vs CISC architecture?

57.What are the advantages of RISC over CISC?

58.What is ARM architecture?

59.What are ARM Cortex-M series processors?

60.What is the difference between Cortex-M0, M3, M4, M7?

61.What are the types of memory in embedded systems?

62.What is ROM (Read-Only Memory)?

63.What is RAM (Random Access Memory)?

64.What is Flash memory?

65.What is EEPROM?

66.What is the difference between EEPROM and Flash?

67.What is SRAM vs DRAM?

68.What is the difference between volatile and non-volatile memory?

69.What is memory map?

70.What is code memory vs data memory?

71.What is heap vs stack memory?

72.What is stack overflow?

73.What is heap fragmentation?

74.How do you prevent stack overflow?

75.What is memory leak?

76.How do you detect memory leaks in embedded systems?

77.What is static vs dynamic memory allocation?

78.Why is dynamic memory allocation avoided in embedded systems?

79.What is memory alignment?

80.What is structure padding?

81.How do you optimize memory usage?

82.What is the attribute((packed)) directive?

83.What is code optimization for memory?

84.What is const keyword usage in embedded C?

85.What is volatile keyword in embedded C?

86.Why is volatile important in embedded systems?

87.What is the difference between const and #define?

88.What is register keyword?

89.What is static keyword in C?

90.What is extern keyword?

91.Why is C preferred for embedded systems?

92.What is the difference between C and Embedded C?

93.What are bit manipulation techniques?

94.How do you set a bit?

95.How do you clear a bit?

96.How do you toggle a bit?

97.How do you check if a bit is set?

98.What is bitwise AND, OR, XOR, NOT?

99.What is left shift and right shift?

100.What is the difference between << and >>?

101.What are bitfields in C?

102.What is union in C?

103.What is the difference between struct and union?

104.When would you use union over struct?

105.What is typedef in C?

106.What is enum in C?

107.What is function pointer?

108.What is callback function?

109.What is pointer in C?

110.What is null pointer?

111.What is dangling pointer?

112.What is wild pointer?

113.What is void pointer?

114.What is const pointer vs pointer to const?

115.What is double pointer?

116.What is array vs pointer?

117.What is the difference between array and pointer?

118.What is pointer arithmetic?

119.What is inline function?

120.What is macro in C?

121.What is the difference between macro and inline function?

122.What are multi-line macros?

123.What is do-while(0) in macros?

124.#ifdef, #ifndef, #define?

125.What is conditional compilation?

126.What is assert in C?

127.What is string.h library functions?

128.What is memcpy vs memmove?

129.What is malloc, calloc, realloc, free?

130.What is memory pool in embedded systems?

131.What is interrupt?

132.What is interrupt service routine (ISR)?

133.What is interrupt vector table?

134.What is interrupt priority?

135.What is nested interrupts?

136.What is interrupt latency?

137.What is the difference between interrupt and polling?

138.When would you use polling over interrupts?

139.What are the types of interrupts?

140.What is hardware interrupt vs software interrupt?

141.What is maskable vs non-maskable interrupt?

142.What is edge-triggered vs level-triggered interrupt?

143.What is interrupt enable/disable?

144.What is critical section?

145.How do you protect critical sections?

146.What is atomic operation?

147.What is race condition?

148.What is reentrant function?

149.What makes a function reentrant?

150.What should you avoid in ISR?

151.Can you use printf in ISR? Why not?

152.Can you call delay in ISR?

153.What is interrupt context vs process context?

154.What is top-half vs bottom-half interrupt handling?

155.What is deferred interrupt handling?

156.What is ISR best practices?

157.How do you minimize ISR execution time?

158.What is interrupt chaining?

159.What is spurious interrupt?

160.What is watchdog timer interrupt?

161.What is a timer?

162.What is a counter?

163.What is the difference between timer and counter?

164.What are timer modes?

165.What is timer overflow?

166.What is timer prescaler?

167.What is PWM (Pulse Width Modulation)?

168.What is duty cycle in PWM?

169.What is PWM frequency?

170.What are applications of PWM?

171.How do you generate PWM using timer?

172.What is input capture mode?

173.What is output compare mode?

174.What is one-shot timer vs periodic timer?

175.What is systick timer?

176.What is RTC (Real-Time Clock)?

177.What is the difference between RTC and timer?

178.What is hardware timer vs software timer?

179.What is watchdog timer?

180.What is the purpose of watchdog timer?

181.What is independent watchdog vs window watchdog?

182.How do you calculate timer value?

183.What is timer resolution?

184.What is free-running counter?

185.What is time base calculation?

186.How do you implement delay using timer?

187.What is busy-wait delay vs timer-based delay?

188.What is jitter in timing?

189.What is timer interrupt handling?

190.What is Timer Capture Compare (TCC)?

191.What is serial communication?

192.What is parallel communication?

193.What is the difference between serial and parallel communication?

194.What is synchronous vs asynchronous communication?

195.What is baud rate?

196.What is the difference between baud rate and bit rate?

197.What is UART?

198.What is the UART frame format?

199.What is start bit and stop bit?

200.What is parity bit?

201.What are types of parity (even, odd, none)?

202.What is flow control in UART?

203.What is RTS/CTS flow control?

204.What is the difference between UART, USART, and USRT?

205.What is RS-232?

206.What is RS-485?

207.What is the difference between RS-232 and RS-485?

208.What is SPI (Serial Peripheral Interface)?

209.What is SPI communication architecture?

210.What is MOSI, MISO, SCK, SS in SPI?

211.What is master-slave in SPI?

212.What is clock polarity (CPOL) and clock phase (CPHA)?

213.What are the four SPI modes?

214.What is the maximum speed of SPI?

215.What is I2C (Inter-Integrated Circuit)?

216.What is I2C bus architecture?

217.What is SDA and SCL in I2C?

218.What is I2C addressing (7-bit vs 10-bit)?

219.What is I2C start and stop condition?

220.What is ACK/NACK in I2C?

221.What is I2C clock stretching?

222.What is multi-master I2C?

223.What is the difference between SPI and I2C?

224.When would you use SPI over I2C?

225.What is CAN (Controller Area Network)?

226.What is CAN bus architecture?

227.What is dominant vs recessive bit in CAN?

228.What is CAN arbitration?

229.What is CAN message format?

230.What is standard CAN vs extended CAN?

231.What is CAN error detection?

232.What is LIN (Local Interconnect Network)?

233.What is USB (Universal Serial Bus)?

234.What is Ethernet for embedded systems?

235.What is Modbus protocol?

236.What is MQTT for IoT?

237.What is Bluetooth (Classic vs BLE)?

238.What is Wi-Fi for embedded systems?

239.What is LoRa/LoRaWAN?

240.What is Zigbee protocol?

241.What is RTOS?

242.What are the features of RTOS?

243.What is the difference between RTOS and GPOS?

244.What is deterministic behavior in RTOS?

245.What are popular RTOS (FreeRTOS, VxWorks, QNX)?

246.What is task/thread in RTOS?

247.What is task state (ready, running, blocked)?

248.What is task control block (TCB)?

249.What is task scheduling?

250.What is preemptive vs cooperative scheduling?

251.What is priority-based scheduling?

252.What is round-robin scheduling?

253.What is rate-monotonic scheduling?

254.What is earliest deadline first (EDF)?

255.What is task priority inversion?

256.What is priority inheritance?

257.What is priority ceiling protocol?

258.What is context switching?

259.What is context switch overhead?

260.What is kernel?

261.What is microkernel vs monolithic kernel?

262.What is tick rate in RTOS?

263.What is time slice/quantum?

264.What is idle task?

265.What is semaphore?

266.What is binary semaphore vs counting semaphore?

267.What is mutex?

268.What is the difference between semaphore and mutex?

269.What is deadlock?

270.What are deadlock conditions?

271.How do you prevent deadlock?

272.What is livelock?

273.What is spinlock?

274.What is event flags/event groups?

275.What is message queue?

276.What is mailbox?

277.What is the difference between queue and mailbox?

278.What is shared memory in RTOS?

279.What is inter-process communication (IPC)?

280.What is critical section in RTOS?

281.What is taskENTER_CRITICAL() and taskEXIT_CRITICAL()?

282.What is interrupt disable/enable in RTOS?

283.What is task notification in FreeRTOS?

284.What is software timer in RTOS?

285.What is heap management in RTOS?

286.What is stack overflow detection in RTOS?

287.What is RTOS debugging techniques?

288.What is trace analysis in RTOS?

289.What is worst-case execution time (WCET)?

290.What is schedulability analysis?

291.What is GPIO (General Purpose Input/Output)?

292.What is input mode vs output mode in GPIO?

293.What is push-pull vs open-drain output?

294.What is pull-up vs pull-down resistor?

295.What is floating pin?

296.What is debouncing?

297.How do you implement software debouncing?

298.What is hardware debouncing?

299.What is ADC (Analog-to-Digital Converter)?

300.What is ADC resolution?

301.What is ADC sampling rate?

302.What is the difference between 8-bit, 10-bit, 12-bit ADC?

303.What is ADC conversion time?

304.What is single-ended vs differential ADC?

305.What is reference voltage in ADC?

306.What is SAR ADC vs Delta-Sigma ADC?

307.What is DAC (Digital-to-Analog Converter)?

308.What is DAC resolution?

309.What are applications of DAC?

310.What is sensor interfacing?

311.What is temperature sensor (LM35, DHT11)?

312.What is accelerometer and gyroscope?

313.What is I2C sensor interfacing?

314.What is SPI sensor interfacing?

315.What is motor control?

316.DC motor vs stepper motor vs servo motor?

317.What is H-bridge for motor control?

318.What is PWM motor control?

319.What is encoder (rotary encoder)?

320.What is LCD interfacing?

321.What is power consumption in embedded systems?

322.What is active power vs standby power?

323.What is sleep mode?

324.Power modes (run, sleep, deep sleep, standby)?

325.What is the difference between sleep and deep sleep?

326.What is wake-up source?

327.What is power-down mode?

328.What is clock gating?

329.What is dynamic voltage and frequency scaling (DVFS)?

330.What is brown-out detection?

331.What is power-on reset (POR)?

332.What is voltage regulator?

333.What is LDO (Low Dropout Regulator)?

334.What is switching regulator?

335.LDO vs switching regulator?

336.What is battery-powered design considerations?

337.What is energy harvesting?

338.What is power supply decoupling?

339.What is capacitor decoupling?

340.What is EMI/EMC in power design?

341.What is JTAG?

342.What is SWD (Serial Wire Debug)?

343.What is the difference between JTAG and SWD?

344.What is breakpoint?

345.Hardware breakpoint vs software breakpoint?

346.What is watchpoint?

347.What is single-stepping?

348.What is printf debugging?

349.What is UART debugging?

350.What is logic analyzer?

351.What is oscilloscope?

352.What is multimeter for embedded debugging?

353.What is LED debugging technique?

354.What is assertion in debugging?

355.What is post-mortem debugging?

356.What is GDB (GNU Debugger)?

357.What is OpenOCD?

358.What is ST-Link debugger?

359.What is J-Link debugger?

360.What is ICE (In-Circuit Emulator)?

361.What is simulator vs emulator?

362.What is unit testing in embedded systems?

363.What is integration testing?

364.What is HIL (Hardware-in-the-Loop) testing?

365.What is SIL (Software-in-the-Loop) testing?

366.What is code coverage?

367.What is static code analysis?

368.What is dynamic code analysis?

369.What is MISRA C?

370.What is lint tool?

371.What is valgrind for embedded systems?

372.What is performance profiling?

373.What is boundary testing?

374.What is stress testing for embedded systems?

375.What is test-driven development (TDD)?

376.What is embedded Linux?

377.The difference between embedded Linux and desktop Linux?

378.What is kernel space vs user space?

379.What is device driver in Linux?

380.What is character driver vs block driver?

381.What is device tree?

382./dev, /sys, /proc in Linux?

383.What is cross-compilation for Linux?

384.What is Yocto Project?

385.What is Buildroot?

386.What is root filesystem?

387.What is BusyBox?

388.What is U-Boot bootloader?

389.What is kernel module?

390.What is insmod, rmmod, lsmod?

391.What is ioctl in Linux?

392.What is mmap in embedded Linux?

393.What is GPIO sysfs interface?

394.What is interrupt handling in Linux kernel?

395.Kernel synchronization (spinlock, mutex, semaphore)?

396.How would you design a temperature monitoring system?

397.How would you interface multiple sensors on one I2C bus?

398.Design a battery-powered IoT sensor node

399.How would you implement firmware update over-the-air (OTA)?

400.How would you troubleshoot I2C communication failure?

401.How would you implement secure boot?

402.How would you implement watchdog timer recovery?

403.What is AUTOSAR architecture?

404.How would you implement functional safety (ISO 26262)?

405.What is FlexRay protocol?

406.How would you design a smartwatch with low power?

407.How does NFC work in smartphones?

408.Design a process control system with PID

409.How would you handle EMI in industrial environment?

410.How does Matter protocol work?

411.How would you ensure medical device safety (IEC 62304)?

412.What is medical device cybersecurity?

450.The future of Embedded Systems in 2026?