wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Microcontroller Quiz

Total questions: 40

Worksheet time: 33mins

Name
Class
Date
1.

The CPU of an 8-bit microcontroller can process how many bits at a time?

a)

4 bits

b)

8 bits

c)

16 bits

d)

32 bits

2.

Which of the following is a popular 8-bit microcontroller?

a)

ARM Cortex-M4

b)

MSP430

c)

8051

d)

PIC24

3.

A typical 8-bit microcontroller has an address bus of:

a)

8 bits

b)

16 bits

c)

20 bits

d)

32 bits

4.

Which microcontroller family belongs to 16-bit architecture?

a)

PIC16 series

b)

Atmel ATmega series

c)

MSP430

d)

Intel 8051

5.

16-bit microcontrollers can directly handle:

a)

Only 8-bit data

b)

16-bit data

c)

Both 8-bit and 16-bit data

d)

Only 32-bit data

6.

Which of the following is an advantage of 8-bit microcontrollers?

a)

High memory range

b)

Low cost and low power

c)

Faster arithmetic operations

d)

Large addressing capability

7.

Which application is better suited for 16-bit microcontrollers?

a)

Toys

b)

Washing machines

c)

Industrial control systems

d)

Simple remote controls

8.

The maximum memory addressable by a 16-bit address bus is:

a)

256 bytes

b)

1 KB

c)

64 KB

d)

1 MB

9.

Which is true about 16-bit microcontrollers compared to 8-bit?

a)

Slower but cheaper

b)

Faster with larger memory support

c)

Smaller instruction size

d)

Always lower power consumption

10.

Example of a 16-bit PIC microcontroller series is:

a)

PIC16

b)

PIC18

c)

PIC24

d)

PIC32

11.

The 8051 microcontroller is an 8-bit device.

a)

True

b)

False

12.

16-bit microcontrollers cannot perform 8-bit operations.

a)

True

b)

False

13.

8-bit microcontrollers usually have limited memory (≤ 64 KB).

a)

True

b)

False

14.

16-bit microcontrollers are generally more expensive than 8-bit ones.

a)

True

b)

False

15.

Both 8-bit and 16-bit microcontrollers integrate CPU, memory, and peripherals.

a)

True

b)

False

16.

The classic ARM pipeline consists of how many stages?

a)

2

b)

3

c)

5

d)

7

17.

In ARM, a data hazard occurs when:

a)

Instruction depends on the result of a previous instruction

b)

Two instructions access the same memory simultaneously

c)

A branch changes the flow of instructions

d)

The cache misses occur frequently

18.

ARM uses branch prediction to reduce:

a)

Data hazards

b)

Control hazards

c)

Structural hazards

d)

Memory stalls

19.

Which ARM feature helps minimize pipeline stalls by executing conditional instructions?

a)

CPSR flags

b)

Thumb mode

c)

Predicated execution (conditional execution)

d)

Barrel shifter

20.

In ARM, inserting NOPs in the instruction stream is a technique to handle:

a)

Cache misses

b)

Pipeline hazards

c)

Interrupt latency

d)

Register overflow

21.

ARM7 uses a simple 3-stage pipeline.

a)

True

b)

False

22.

Data forwarding is not supported in ARM processors.

a)

True

b)

False

23.

Control hazards in ARM occur mainly due to branch instructions.

a)

True

b)

False

24.

Superscalar ARM cores (like Cortex-A series) can issue multiple instructions per cycle.

a)

True

b)

False

25.

In ARM, structural hazards are eliminated by providing separate instruction and data memory paths (Harvard architecture).

a)

True

b)

False

26.

What are the three basic pipeline stages in ARM7?

4 lines
27.

Name the three types of pipeline hazards in ARM.

4 lines
28.

How does ARM's conditional execution help reduce branch hazards?

4 lines
29.

What is a branch penalty in ARM?

4 lines
30.

Mention one feature of ARM Cortex-M processors that improves pipeline efficiency.

4 lines
31.

In ARM, cache memory is used to:

a)

Increase program size

b)

Reduce instruction execution time

c)

Provide virtual addresses

d)

Manage interrupts

32.

ARM processors generally support which type of cache?

a)

Only instruction cache

b)

Only data cache

c)

Both instruction and data caches

d)

No cache

33.

The Memory Management Unit (MMU) in ARM is responsible for:

a)

Converting virtual addresses to physical addresses

b)

Handling interrupts

c)

Instruction pipelining

d)

Cache replacement policy

34.

ARM uses page tables in virtual memory for:

a)

Branch prediction

b)

Address translation

c)

Cache mapping

d)

Instruction pipelining

35.

The ARM TLB (Translation Lookaside Buffer) stores:

a)

Recently used instructions

b)

Recently used address translations

c)

Recently used cache lines

d)

Recently used flags

36.

ARM supports both write-through and write-back cache policies.

a)

True

b)

False

37.

In ARM, MMU must always be enabled to run any program.

a)

True

b)

False

38.

Virtual memory in ARM allows execution of programs larger than physical memory.

a)

True

b)

False

39.

ARM Cortex-M series usually does not include an MMU but may include an MPU (Memory Protection Unit).

a)

True

b)

False

40.

Cache misses in ARM always lead to pipeline flush.

a)

True

b)

False