Worksheets6 - Assessment Feedback
Total questions: 20
Worksheet time: 19mins
Click one of the blocks in this code that do an output?
Select the part of the code that tells the program how many times to iterate the loop.
Selection is a programming construct where a section of code is run only if a (a) is met.
What will the code output?
Dog
Cat
Fish
Nothing
Dog
Cat
Fish
What does the blue line of code do?
Gets the user to enter their name
Assigns the name entered to the variable "name"
Stores the variable "name" where you type
Asks you to print out a name
What type of block is shown in Blue?
A List Block
A Statement Block
A Loop Block
A Variable Block
What would be a better variable identifier for this code
My Number
myNumber
MYNUMBER
mynumber
(a) tests if a condition is true. It uses the command word (b) .
(c) repeats instructions. It uses the command word (d) .
Code that includes a decision
Select the part of the code that tells the program how many times to iterate the loop.
Label the code
Click on the errors in this code.
Click on the variable in this code
Label the code.
Click the variable.
Click the block that will run if a user enters "Art" as their favourite subject.
How many variables are there in this code?
(a)
Tick all of the options that happen in this code.
variable assignment
selection
iteration
What are the errors with this code.
There is no condition being tested
The variable isn't named an appropriate name
The wrong print block is used
It is written in the wrong language
The numerical operator used is wrong
