Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Coding Part 2 Assessment

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.
A PROGRAM is a series of  _____________ for a computer or device to follow
a)
instructions
b)
windows
c)
suggestions
d)
voices
2.
Conditionals are used when computers need to make _____________.
a)
decisions
b)
a cake
c)
dinner
d)
a friend
3.
In an IF...THEN statement, the THEN part of the code is followed when the IF condition is ___________ .
a)
true
b)
false
c)
either true or false
d)
neither true nor false
4.
In an IF...THEN...ELSE statement, the ELSE part of the code is followed when the IF condition is ___________ .
a)
true
b)
false
c)
either true or false
d)
neither true nor false
5.
An algorithm is
a)
a dance
b)
measures your heartbeat
c)
a list of steps to complete a task
d)
musical 
6.
The order of events in a program is called a
a)
period
b)
time-line
c)
date
d)
sequence
7.

Code the robot to get all the scrap metals

a)
b)
c)
d)
8.
An error in a program that prevents the program from running as expected.
a)
Error report
b)
Bug
c)
Mistake
d)
Algorithm
9.
Programming languages give computers instructions
a)
True
b)
False
10.
In coding terms, the action of doing something over and over again.
a)
Repeating
b)
Repetition
c)
Loop
d)
Do-over
11.

In programming , iteration means

a)

a loop or repeating a set of instructions

b)

Selecting the right option

c)

Sequencing your instructions correctly

d)

Another word for an algorithm

12.

Selection is

a)

a loop or repeat

b)

a decision or a question

c)

a sequence of events

13.

Iteration is important because...

a)

It makes designing algorithms quicker and simpler because they don’t need to include lots of unnecessary steps.

b)

It makes designing algorithms quicker and simpler because the sequence is correct so it is less likely to fail.

c)

It makes designing algorithms able to make decision between two possible outcomes

14.
What is the part within the red boxes called?
a)
Input buttons
b)
Ground
c)
CPU
d)
Micro-usb connector
15.
What does the accelerometer do?
a)
Detects light
b)
Detects temperature
c)
Detects a change in speed
d)
Detects magnetism
16.
What is a variable?
a)
A type of code.
b)
Another name for the Micro:bit. 
c)
A block of code. 
d)
Somewhere we can save something in our code. 
17.
What does selection do?
a)
Lets you make choices in your code. Like choosing to press A for Yes or B for No. 
b)
Lets you choose what you want for dinner. 
c)
Lets you save something. 
d)
Pretends to be a variable. 
18.

What will be the output if I ONLY press button b

a)

100

b)

0

c)

50

d)

400

19.

Which of the following is an input for the microbit?

a)

Press button C

b)

On shake

c)

Drop it on the desk

d)

Show a string

20.

What does "iteration" mean?

a)

To compile a section of code.

b)

To run a section of code.

c)

To say the same thing more than once.

d)

To repeat a section of code.