Embedded Systems MCQs (Set-2)

Difficulty: Easy & Basic

A digital input floats when a switch is open. What gives it a defined high level?

A Series capacitor
B Pull-up resistor
C Heat sink
D Crystal oscillator

One button press creates several rapid transitions. What should be applied?

A Overclocking
B Quantization
C Debouncing
D Multiplexing

In an asynchronous UART frame, what marks the beginning?

A Start bit
B Stop bit
C Parity bit
D Address bit

Which optional UART field can detect some bit errors?

A Chip select
B Clock divider
C Reset vector
D Parity bit

Several SPI devices share a clock. What selects one device?

A ADC reference
B Watchdog output
C Pull-up resistor
D Chip-select signal

Why are pull-up resistors used on I2C lines?

A Open-drain signaling
B Analog conversion
C Clock multiplication
D Firmware encryption

For an analog output from a digital value, which peripheral is suitable?

A ADC
B CRC
C DAC
D UART

Which circuit indicates whether a voltage exceeds a reference?

A Flash controller
B UART
C Timer prescaler
D Comparator

To timestamp an external pulse edge, use which timer feature?

A Input capture
B Output compare
C Flash erase
D Serial parity

What does a timer prescaler change?

A Memory size
B Counting rate
C Pin voltage
D Program language

Supply voltage falls too low for reliable operation. Which circuit detects this?

A DMA controller
B Brown-out detector
C DAC
D Shift register

A peripheral moves samples to RAM without CPU copying each item. What is used?

A DMA
B PWM
C GPIO
D PLL

Which event can wake a sleeping controller if configured?

A Enabled interrupt
B Source comment
C Constant declaration
D Unused function

Why should an interrupt handler normally be brief?

A Increase flash wear
B Raise supply voltage
C Disable all timers
D Reduce response delay

Software repeatedly reads a status flag until ready. What is this called?

A Preemption
B Bootloading
C Debouncing
D Polling

What model describes behavior through states and event-triggered transitions?

A Voltage divider
B Ring oscillator
C State machine
D Lookup table

Where are function return addresses commonly kept during nested calls?

A Flash image
B EEPROM
C Stack
D GPIO register

Which region commonly supplies runtime dynamic allocations?

A Vector table
B Heap
C Boot ROM
D Pin register

How does a memory-mapped peripheral expose control registers?

A Audio frequencies
B Addressed memory locations
C Mechanical switches
D Optical pulses

Which startup setting can select a microcontroller’s clock source?

A UART parity
B ADC sample
C Task queue
D Configuration bits

What provides the time base for processor operation?

A Clock source
B Voltage sensor
C EEPROM cell
D Pull-down switch

Which build tool places code and data sections at target addresses?

A Oscilloscope
B Linker
C Logic probe
D Transducer

To set one register bit without changing others, use what?

A Full reset
B Heap allocation
C Bit mask
D Parity frame

Which software layer holds board-specific initialization and pin mapping?

A Board support package
B Application protocol
C Source archive
D Compiler optimizer

What does a checksum primarily help detect?

A Processor temperature
B Motor torque
C Data corruption
D Memory capacity