wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Pre-learning Quiz: Introduction to Microcontrollers (PIF-1)

Total questions: 15

Worksheet time: 3mins

Name
Class
Date
1.

What is the primary function of a microcontroller?

a)

Perform complex calculations

b)

Store large amounts of data

c)

Control the behavior of electronic devices

d)

Display information on a screen

2.

Which of the following is NOT a characteristic of a microcontroller?

a)

Small size

b)

Low cost

c)

High power consumption

d)

Integrated peripherals

3.

Where can you typically find microcontrollers?

a)

Home appliances, cars, smartphones

b)

Large-scale servers

c)

Desktop computers

d)

Supercomputers

4.

What does the CPU (Central Processing Unit) do in a microcontroller?

a)

Store data permanently

b)

Execute instructions from memory

c)

Convert analog signals to digital

d)

Control the flow of electricity

5.

What is the purpose of the ALU (Arithmetic Logic Unit)?

a)

Perform arithmetic and logical operations

b)

Connect the microcontroller to external devices

c)

Store the program instructions

d)

Display results on a screen

6.

Which type of memory is used to store the program instructions in a microcontroller?

a)

RAM

b)

Flash

c)

Cache

d)

Virtual Memory

7.

What are GPIO pins used for?

a)

Connecting external devices like sensors and actuators

b)

Supplying power to the microcontroller

c)

Displaying data on an LCD screen

d)

Communicating with other microcontrollers

8.

What does an ADC (Analog-to-Digital Converter) do?

a)

Convert analog signals to digital values

b)

Convert digital values to analog signals

c)

Amplify analog signals

d)

Filter out noise from analog signals

9.

Which of the following is an example of a conditional statement in programming?

a)

for loop

b)

while loop

c)

if-else statement

d)

switch-case statement

10.

What is the purpose of a flowchart in programming?

a)

Write code

b)

Visualize the flow of a program

c)

Debug code

d)

Store data

11.

Which of the following is NOT a common data type in C programming?

a)

int

b)

float

c)

char

d)

image

12.

What is the purpose of a variable in programming?

a)

Perform calculations

b)

Store data

c)

Display information

d)

Control program flow

13.

What does the operator && represent in C programming?

a)

OR

b)

NOT

c)

AND

d)

XOR

14.

What is the purpose of a loop in programming?

a)

Repeat a set of instructions

b)

Make decisions

c)

Store data

d)

Define functions

15.

What is the role of a function in programming?

a)

Control program flow

b)

Store data

c)

Perform calculations

d)

Group a set of instructions for reusability