Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz on Internal Peripherals of ATmega328P

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which family of microcontrollers offers a wide variety of internal peripheral interfaces?

a)

MSP430

b)

ARM

c)

AVR

d)

PIC

2.

How many I/O ports does the ATmega328 have?

a)

4

b)

3

c)

5

d)

2

3.

What is the voltage level considered as logic-high for input pins?

a)

Above 0.5 × VCC

b)

Above 1.5 × VCC

c)

Above 1.0 × VCC

d)

Above 0.7 × VCC

4.

Which register determines the voltage level on an output pin when configured as an output?

a)

Direction register

b)

Status register

c)

Data register

d)

Control register

5.

What is the purpose of enabling a built-in pull-up resistor on an input pin?

a)

To increase voltage

b)

To decrease voltage

c)

To generate PWM signals

d)

To maintain a known state

6.

How many external interrupts can the AVR Core respond to?

a)

4

b)

3

c)

2

d)

1

7.

What is the main distinction of Timer/Counter 1 compared to Timer/Counter 0?

a)

16-bit counter

b)

8-bit counter

c)

PWM outputs

d)

Input capture unit

8.

What is the purpose of USART in microcontrollers?

a)

Digital to Analog Conversion

b)

Analog to Digital Conversion

c)

PWM Generation

d)

Serial Communication

9.

What do the SDA and SCL pins of the I2C peripheral stand for?

a)

Signal Data and Clock

b)

System Data and Clock

c)

Synchronous Data and Clock

d)

Serial Data and Clock

10.

How many analog inputs does the ATmega2560 provide?

a)

8

b)

16

c)

4

d)

12

11.

What is the range of values that the ADC can convert incoming analog voltage into?

a)

0-255

b)

0-767

c)

0-511

d)

0-1023

12.

Which Arduino function is used to read analog inputs?

a)

digitalRead()

b)

analogWrite()

c)

analogRead()

d)

digitalWrite()

13.

What is the main purpose of external interrupts in embedded applications?

a)

Generate PWM signals

b)

Control analog inputs

c)

Trigger ADC conversions

d)

Free the main application from constant polling

14.

Which peripheral allows communication over the I2C bus?

a)

ADC

b)

TWI

c)

USART

d)

Timer/Counter

15.

What is the resolution of the analog inputs on the ATmega328?

a)

8 bits

b)

10 bits

c)

12 bits

d)

16 bits