wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Embedded Systems Quiz - Advanced to Expert

Total questions: 40

Worksheet time: 20mins

Name
Class
Date
1.

You need to reduce electromagnetic interference (EMI) in a high-speed embedded system. Which solution is most effective?

a)

Use long wires

b)

Enable pull-up resistors

c)

Add ground planes and proper trace impedance matching

d)

Reduce voltage only

2.

In an RTOS system, tasks are missing deadlines under high load. What is a robust corrective measure?

a)

Increase task priority randomly

b)

Use fixed priority without deadlines

c)

Perform rate-monotonic or EDF scheduling analysis

d)

Disable interrupts

3.

A system must process sensor data, apply a Kalman filter, and control a motor in real-time. What architecture is ideal?

a)

Single-threaded with polling

b)

Interrupt-based state machine

c)

RTOS with dedicated threads for sensor, filter, and actuator

d)

Bare-metal infinite loop

4.

During testing, your embedded Linux system locks up when writing to NAND flash. Cause?

a)

Flash is full

b)

Wear leveling failure or improper MTD driver usage

c)

Incorrect GPIO

d)

Floating point exception

5.

A real-time system is sensitive to jitter. Which strategy minimizes it?

a)

Use cooperative scheduling

b)

Allocate dynamic memory inside ISR

c)

Use preemptive RTOS with priority inheritance and pin ISR

d)

Use high baud rate UART

6.

You’re using SPI on two slave devices. One receives corrupt data. Root cause?

a)

Clock skew and lack of tri-state MISO management

b)

Interrupt priority mismatch

c)

Shorted pull-up

d)

I2C instead

7.

Your embedded vision system needs fast AI inference. Which is ideal?

a)

Use CPU with delay

b)

Use MCU with floating point

c)

Integrate NPU/TPU accelerator (e.g., Coral, EdgeTPU)

d)

Use EEPROM

8.

A motor controller using a PID algorithm oscillates heavily. What’s the remedy?

a)

Reduce sampling rate

b)

Fine-tune gains and add derivative filtering

c)

Switch to PWM

d)

Remove proportional gain

9.

Your CAN-based embedded system exhibits bus-off errors. What should you do?

a)

Reduce supply voltage

b)

Increase baud rate

c)

Monitor bus load, check termination and software retries

d)

Switch to UART

10.

A real-time embedded system with FreeRTOS runs out of heap. What’s a good strategy?

a)

Switch to polling

b)

Increase configTOTAL_HEAP_SIZE and use heap_4.c

c)

Reduce baud rate

d)

Print heap values

11.

You need to encrypt data on a microcontroller with limited resources. Optimal approach?

a)

Use RSA-4096

b)

Use hardware AES engine or lightweight ciphers like ChaCha20

c)

XOR with 0xFF

d)

Use UDP

12.

You're building a wearable heart monitor. How do you ensure signal stability?

a)

Increase ADC bit count

b)

Apply analog and digital filtering (e.g., Butterworth + IIR)

c)

Increase sample delay

d)

Add PWM fan

13.

In your code, stack overflow corrupts unrelated variables. What’s the advanced protection?

a)

Use heap instead

b)

Stack canary or memory protection unit (MPU)

c)

UART logging

d)

Disable interrupts

14.

System reboots when multiple peripherals are enabled. Cause?

a)

Clock domain crossing issue or power rail overdraw

b)

EEPROM write

c)

ADC overflow

d)

Timer reset

15.

A BLE-based embedded device suffers latency during pairing. Optimal solution?

a)

Lower BLE power

b)

Use just-works pairing

c)

Optimize connection interval and PHY configuration

d)

Use UART instead

16.

You're getting inconsistent ADC readings under motor load. Fix?

a)

Isolate analog and digital ground + use low-pass filter

b)

Reduce PWM frequency

c)

Increase baud rate

d)

Remove bypass cap

17.

Your bootloader must verify firmware authenticity. What’s the most secure method?

a)

CRC

b)

Hash with SHA256 + digital signature verification (e.g., ECDSA)

c)

UART parity

d)

EEPROM checksum

18.

You're debugging a race condition in a multicore system. What’s the recommended method?

a)

Add delays

b)

Use hardware semaphores, mutexes with memory barriers

c)

Increase loop count

d)

Disable interrupts

19.

Embedded Linux fails to boot due to rootfs error. What's your approach?

a)

Format EEPROM

b)

Use initramfs + failover to alternate partition (A/B)

c)

Increase timeout

d)

Disable bootloader

20.

An automotive embedded ECU must log sensor events with cryptographic assurance. Best approach?

a)

Use UART log

b)

Hash logs and sign with HSM or secure element

c)

Print on display

d)

Use EEPROM only

21.

You’re designing a safety-critical system for automotive ABS. What is the most appropriate development standard?

a)

ISO 27001

b)

ISO 26262 for functional safety

c)

MISRA-C only

d)

AUTOSAR Classic

22.

A secure bootloader must detect tampered firmware at runtime. What cryptographic primitive is essential?

a)

Base64 encoding

b)

CRC32 checksum

c)

Digital signature with asymmetric key (e.g., ECDSA, RSA)

d)

XOR masking

23.

You need sub-microsecond task switching in a high-performance embedded system. Which architecture is ideal?

a)

Harvard architecture MCU

b)

ARM Cortex-M3

c)

DSP with RTOS & hardware context switching (e.g., TI C2000)

d)

8051

24.

Your RTOS-based system shows deadlock during inter-task communication. How can you detect and prevent this?

a)

Disable interrupts

b)

Use static variables

c)

Apply priority inheritance protocol and avoid circular waits

d)

Increase stack size

25.

For a battery-powered sensor node requiring <1μA sleep current, which MCU features are critical?

a)

16-bit ADC

b)

Deep Sleep (STOP/STANDBY) with RTC and SRAM retention

c)

JTAG access

d)

Floating-point unit

26.

In a real-time video processing embedded platform, jitter is introduced during frame capture. Likely reason?

a)

GPIO noise

b)

Improper buffer synchronization or cache coherency issues

c)

Floating point rounding

d)

Delay in ISR

27.

A multi-core embedded processor requires synchronization without hardware locks. What approach is best?

a)

Memory barriers + atomic instructions (e.g., LDREX/STREX on ARM)

b)

Timer polling

c)

Disabling interrupts on all cores

d)

UART-based control

28.

You’re tasked with securing firmware OTA updates over MQTT. What protocol stack ensures confidentiality and integrity?

a)

MQTT only

b)

MQTT over TCP

c)

MQTT over TLS with client/server certificates

d)

HTTP POST

29.

A DO-178C certified avionics embedded system experiences intermittent failures. What's your highest priority action?

a)

Replace the RTOS

b)

Conduct fault tree analysis (FTA) and inject software test coverage

c)

Update compiler

d)

Format EEPROM

30.

Your cryptographic functions run slow on a secure IoT node. Which hardware enhancement resolves this?

a)

Double clock

b)

Add HSM or cryptographic accelerator with hardware entropy

c)

Optimize GPIO

d)

Remove ISR

31.

You are debugging real-time tasks and missing deadline constraints. What is a rigorous solution?

a)

Print task name

b)

Use real-time trace analyzers (e.g., SEGGER SystemView or Tracealyzer)

c)

Add infinite loop

d)

Disable watchdog

32.

An embedded AI model trained offline doesn’t perform well on-device. What’s a probable cause?

a)

EEPROM overflow

b)

Quantization error or lack of hardware acceleration

c)

PWM interference

d)

Bootloader timing

33.

To ensure deterministic execution in RTOS, what must be minimized?

a)

Task priority

b)

Interrupt nesting

c)

Jitter and context switch latency

d)

SPI frequency

34.

A power-fail-safe write operation to external Flash is needed. What’s a safe design approach?

a)

Use EEPROM

b)

Use write-ahead logging with capacitor-backed RAM buffer

c)

Toggle GPIO after write

d)

Increase SPI clock

35.

Your embedded ML application shows inconsistent behavior due to memory fragmentation. What do you do?

a)

Switch to Python

b)

Use static memory pools and custom allocators

c)

Use malloc() frequently

d)

Increase heap

36.

A secure embedded device must be tamper-evident. What hardware solution is recommended?

a)

Watchdog timer

b)

Power-efficient MCU

c)

Tamper pins and secure fuses with self-destruct on violation

d)

SPI flash

37.

You're implementing redundancy in a flight control system. What is a common embedded design principle?

a)

Use FPU

b)

Triple Modular Redundancy (TMR) and voting logic

c)

Overclock processor

d)

Lower ADC rate

38.

An embedded system is vulnerable to fault injection attacks. What is a strong countermeasure?

a)

Use larger resistors

b)

Add debug port

c)

Redundant computation with timing noise detection

d)

Increase flash speed

39.

For industrial automation using real-time Ethernet (e.g., EtherCAT), what timing precision is typically expected?

a)

±1 ms

b)

±100 μs

c)

±1 μs

d)

±100 ns

40.

To ensure forward secrecy in embedded secure communication, what cryptographic method is applied?

a)

Shared symmetric key

b)

ECDH ephemeral key exchange with per-session keys

c)

RSA without padding

d)

SHA-1 hashing