wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

G5 Unit 3&4 Review

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which one is a microcontroller?

a)
b)
c)
d)
2.

Which one is used as memory in a microcontroller?

a)

RAM and ROM

b)

LED

c)

Input and output ports Input and output ports

d)

CPU

3.

Which one is an output module that makes an alarm sound?

a)

Humidity sensor

b)

Light sensor

c)

Push button Push button

d)

Buzzer

4.

Which one is block-based programming software?

a)
b)
c)
d)
5.

Which one do we use to connect electronic components to a microcontroller board?

a)

Push button.

b)

Power supply.

c)

Expansion shield.

d)

LED grid LED grid.

6.

We can find out how robots work by looking in detail at the smaller parts. What do we call this?

a)

Decomposition.

b)

Algorithm.

c)

Variables.

d)

Feedback.

7.

What is the name of a variable that does not change value?

a)

Conditional.

b)

Algorithm.

c)

Value.

d)

Constant.

8.

Which type of basic building blocks (constructs) is the following algorithm?

a)

Sequence

b)

Selection

c)

Iteration

d)

Sequence and Iteration

9.

What are the three algorithm constructs?

a)

Input, output, process

b)

Input/output, decision, terminator

c)

Loop, input/output, process

d)

Sequence, selection, iteration

10.

You are writing code to store the length of a side of a square. Which one is a good variable name?

a)

Side_Length

b)

$L

c)

4Sides

d)

Side Length

11.

Why do we collect feedback on the code we write?

a)

To break down a problem

b)

To improve our code

c)

To make our code difficult

d)

To make the code much longer

12.

This code displays the string “Hello” for one second. You want to modify this code to display the message “Hello” four times. Which of these is the best modification with less steps?

a)
b)
c)
d)
13.

Which type of basic building blocks (constructs) is the following algorithm?

a)

Selection

b)

Sequence

c)

Iteration

d)

None of the above

14.

A microcontroller has FOUR main parts:

a)

(CPU),(RAM), (ROM),Input/output ports

b)

Maker, Uno, Micro:bit, Speakers

c)

sound sensor, vibration sensor, ambient light sensor, temperature and humidity sensor.

15.

Variables are storage locations in computer memory that can be used and changed by programs.

a)

True

b)

False