wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HW: Micro:bit Week 5

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is selection?

a)

Repeating a number of steps

b)

Repeating a number of steps until the condition is true

c)

A decision point in your program

d)

The order in which instructions are carried out

2.

In programming how is selection implemented?

a)

IF - OTHERWISE

b)

IF - ELSE IF - ELSE

c)

DO - ELSE

d)

IF - ELSE - DO

3.

Which function would you use on the Block editor to implement selection statement?

a)

Variables

b)

Maths

c)

Input

d)

Logic

4.

What does iteration mean?

a)

Code is repeated until the user presses enter

b)

Code which has errors within it

c)

When a set of instructions in a code are repeated a certain number of times or until a condition is met

d)

It is a decision point in a computer program

5.
The "On Shake" Microbit command relies on the
a)
compass
b)
LEDs
c)
accelerometer
d)
the buttons
6.
In which section can you set certain lights to light up on your micro:bit?
a)
Functions
b)
Arrays
c)
Text
d)
Basic
7.
In programming, what is iteration?
a)
The repetition of steps within a program
b)
The order in which instructions are carried out
c)
A decision point in a program
d)
Testing a program to make sure it works
8.
Why is iteration important?
a)
It determines the order in which instructions are carried out
b)
It allows code to be simplified by removing duplicated steps
c)
It allows multiple paths through a program
d)
It ensures the code works correctly
9.

**Looking carefully**

How many repeat blocks are in this code

a)

0

b)

2

c)

3

d)

7

10.

How confident do you feel about iteration (repeating or loops)

a)

Very confident

b)

Somewhat confident

c)

Not very confident

d)

No idea