wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

6 - Assessment Feedback

Total questions: 20

Worksheet time: 19mins

Name
Class
Date
1.

Click one of the blocks in this code that do an output?

2.

Select the part of the code that tells the program how many times to iterate the loop.

3.

Selection is a programming construct where a section of code is run only if a ​ (a)   is met.

Choose from the below words
condition
clause
puppy
computer
enemy
4.

What will the code output?

a)

Dog

b)

Cat

c)

Fish

d)

Nothing

e)

Dog

Cat

Fish

5.

What does the blue line of code do?

a)

Gets the user to enter their name

b)

Assigns the name entered to the variable "name"

c)

Stores the variable "name" where you type

d)

Asks you to print out a name

6.

What type of block is shown in Blue?

a)

A List Block

b)

A Statement Block

c)

A Loop Block

d)

A Variable Block

7.

What would be a better variable identifier for this code

a)

My Number

b)

myNumber

c)

MYNUMBER

d)

mynumber

8.

​ (a)   tests if a condition is true. It uses the command word ​ (b)   .

​ (c)   repeats instructions. It uses the command word ​ (d)   .

Choose from the below words
Selection
if
Iteration
for
9.
'Iteration' in code is...
a)
Code that repeats itself
b)
Code that includes some element of choice
c)
Code that executes step by step
d)
Code written in pseudocode
10.
'Selection' in code is...
a)
Code that repeats itself
b)

Code that includes a decision

c)
Code that executes step by step
d)
Code written in pseudocode
11.

Select the part of the code that tells the program how many times to iterate the loop.

12.

Label the code

13.

Click on the errors in this code.

14.

Click on the variable in this code

15.

Label the code.

16.

Click the variable.

17.

Click the block that will run if a user enters "Art" as their favourite subject.

18.

How many variables are there in this code?

(a)  

19.

Tick all of the options that happen in this code.

a)

variable assignment

b)

selection

c)

iteration

20.

What are the errors with this code.

a)

There is no condition being tested

b)

The variable isn't named an appropriate name

c)

The wrong print block is used

d)

It is written in the wrong language

e)

The numerical operator used is wrong