12 questions
Coding == Problem Solving
True or False
True
False
Which of the following are coding concepts?
Sequence
Detection
Selection
Iteration
Computers do not require clear instructions to work correctly.
True or False
True
False
Turtle is a way to _________with Python.
Fill in the blank
write
draw
plan
The turning angle is set by dividing ___ by the number of sides a shape has.
For example a square has 4 sides.
___/4 ==90
Fill in the blank. It is the same answer for both blanks ___ in the question
90
180
360
200
How many times does this snippet of code loop to draw a triangle?
You can click on the image to enlarge it.
3 times
Endlessly as it is always true
9 times
What does the int("How many times shall I loop?") block do in this code snippet?
You can click on the image to enlarge it
It creates a string
Converts a string (text) to an integer (whole number) to enable the program to perform calculations.
Converts a integer (whole number)) to a string (text) to enable the program to perform calculations.
None of the above.
This "if - elif - else" code snippet displays what kind of statement?
You can click on the images to enlarge it.
Conditional
Unconditional
Untrue
True
What shape will this code draw in Turtle.
You can click on the image to enlarge it.
Triangle
Circle
Square
Blob
Tick all of those below that are logical operators
*
==
>
<
Describe in your own words what this snippet of code will do.
You can click on the images to enlarge it.
List 4 ways that a mobile phone can accept an input. One example of your 4 is a camera which inputs photos.