wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Year 6 NCCE programming microbits

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What ouput device is circled?

a)

An LED display

b)

A button

c)

A compass

2.

According to the following code I see the tick icon when I...

a)

press the A button

b)

press the B button

c)

shake it

3.

A set of instructions that a computer follows line by line is called?

a)

A loop

b)

An algorithm

c)

Variable

4.

A variable is something that..

a)

Always stays the same

b)

Can change its value

5.

For a step tracker what sensor is used to measure the steps

a)

Accelerometer

b)

Compass

c)

Microphone

6.

In the following code what is the name of the variable?

a)

string

b)

1

c)

answer

7.

What does this code do?

a)

Adds 1 to 'count' when you press A

Takes away 1 from 'count' when you press B

b)

Adds 1 to 'count' when you press B

Takes away 1 from 'count' when you press A

c)

Adds 1 every second until the the program is stopped

8.

Look at the code. What event triggers the rest of the algorithm?

a)

On A button pressed

b)

On B button pressed

c)

On Shake

9.

Carefully study the code and the output after the user does 5 steps?

What error needs debugging?

a)

If statement needs a different comparison

b)

'steps' is set back to 1 every step

c)

It doesn't show the number of 'steps' variable

10.

The process of finding errors in your code and fixing them, is called?

a)

tweaking

b)

error zapping

c)

debugging