NEW
Font size
Worksheets7.6 Programming (2021)
Total questions: 30
Worksheet time: 15mins
Breaking-down complex problems into smaller parts to make them easier to solve is known as...
Decomposition
Pattern recognition
Abstraction
Algorithm
I don't know
Looking for similarities within a problem is known as...
Decomposition
Pattern recognition
Abstraction
Algorithm
I don't know
Focussing only on important information and removing irrelevant detail is known as...
Decomposition
Pattern recognition
Abstraction
Algorithm
I don't know
A step-by-step solution to solve a problem is known as...
Decomposition
Pattern recognition
Abstraction
Algorithm
I don't know
When working out the next number in a sequence, which component of computational thinking are you using?
Decomposition
Pattern recognition
Abstraction
Algorithm
I don't know
Which of the following is another word for iteration?
Selection
Sequence
Looping
FOR
I don't know
Which of the following is a type of iteration?
Count-controlled
Variable
IF statement
Algorithm
I don't know
Which of the following is a type of iteration?
ELSE statement
Abstraction
Turtle
Condition-controlled
I don't know
When would we use a FOR statement?
When we already know how many times we want to iterate
When we want to iterate until a specific condition is met
When we want to repeat a block of code forever
When we run out of variables to use
I don't know
Which of the following Python statements can be used to loop part of a program?
IF
ELSE
UNTIL
WHILE
I don't know
What is meant by a variable?
A loop
A question
A storage location in memory
A number which never changes
I don't know
Which of the following is a suitable name for a variable?
my Variable
myVariable!
myVariable2
1stVariable
I don't know
What is a variable used for?
To store data whilst a program is running
To loop part of a program
To keep hackers out of the system
To move the Turtle
I don't know
What does this line of code do?
Asks the user to enter their name, then stores it in a variable
Prints the username stored in the variable
Asks the user to enter their name, then renames the variable
Tells the user what their name is
I don't know
Which are the only outcomes of a comparison?
True, False
True, Maybe, False
Left, Right, Up, Down
A number between 0 and 100
I don't know
What is the IF statement used for?
To make a selection
To iterate
To move the Turtle
To ask the user a question
I don't know
Which Python statement runs code if all previous IF and ELIF statements are False?
IF
ELSE
WHILE
FOR
I don't know
Which of the following statements is True?
5 == 7
5 != 7
5 > 7
5 >= 7
I don't know
Which of the following statements is True?
33 > 33
46 < 99
90 != 90
128 == 12
I don't know
What would be printed when this program is run?
Red
Blue
5
myNumber
I don't know
What would be printed when this program is run?
Banana
Eat it
Remove the stone
Peel it
I don't know
What is the formula to calculate the angles of an equilateral shape?
number of sides / 360
360 / number of sides
360 * number of sides
number of sides * 360
I don't know
Which shape would this program draw?
Pentagon
Hexagon
Heptagon
Octagon
I don't know
In this program, what is i?
A variable
How the Turtle sees where it is going
An imaginary number
A condition
I don't know
What is the name of the object we use for drawing on-screen?
Kangaroo
Emu
Octopus
Turtle
I don't know
What is the name of the programming language we have been using during this half term?
Scratch
JavaScript
Python
DuckDuckGo
I don't know
Which is the correct statement to move the Turtle to the middle of the screen?
turtle.goto(0,0)
turtle.center()
turtle.middle()
turtle.home(0)
I don't know
Which keys do we press to take a screenshot?
Windows, Shift, and S
Home and S
CTRL, ALT, and Delete
CTRL and V
I don't know
Which keys do we press to paste content?
CTRL and P
CTRL and V
CTRL and X
CTRL and C
I don't know
Which line of code has been blacked-out of the screenshot?
turtle.penup()
turtle.pendown()
turtle.forward(100)
turtle = Turtle()
I don't know
