NEW
Font size
WorksheetsG5 Unit 3&4 Review
Total questions: 15
Worksheet time: 8mins
Which one is a microcontroller?
Which one is used as memory in a microcontroller?
RAM and ROM
LED
Input and output ports Input and output ports
CPU
Which one is an output module that makes an alarm sound?
Humidity sensor
Light sensor
Push button Push button
Buzzer
Which one is block-based programming software?
Which one do we use to connect electronic components to a microcontroller board?
Push button.
Power supply.
Expansion shield.
LED grid LED grid.
We can find out how robots work by looking in detail at the smaller parts. What do we call this?
Decomposition.
Algorithm.
Variables.
Feedback.
What is the name of a variable that does not change value?
Conditional.
Algorithm.
Value.
Constant.
Which type of basic building blocks (constructs) is the following algorithm?
Sequence
Selection
Iteration
Sequence and Iteration
What are the three algorithm constructs?
Input, output, process
Input/output, decision, terminator
Loop, input/output, process
Sequence, selection, iteration
You are writing code to store the length of a side of a square. Which one is a good variable name?
Side_Length
$L
4Sides
Side Length
Why do we collect feedback on the code we write?
To break down a problem
To improve our code
To make our code difficult
To make the code much longer
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?
Which type of basic building blocks (constructs) is the following algorithm?
Selection
Sequence
Iteration
None of the above
A microcontroller has FOUR main parts:
(CPU),(RAM), (ROM),Input/output ports
Maker, Uno, Micro:bit, Speakers
sound sensor, vibration sensor, ambient light sensor, temperature and humidity sensor.
Variables are storage locations in computer memory that can be used and changed by programs.
True
False
