WorksheetsBasic Logic & Programming pt.2
Total questions: 10
Worksheet time: 9mins
What does a loop do in programming?
Stops the program
Repeats a set of instructions
Changes colors
Deletes files
Which symbol means "greater than"?
<
>
=
-
Which file type usually stores pictures?
.jpg
.txt
.exe
.mp3
If 5 > 3, is the statement true or false?
True
False
Which loop runs a set number of times?
Forever loop
If loop
Repeat loop
Else loop
If the temperature is 30°C, which statement is true?
30 < 20
30 > 20
30 = 20
20 > 30
What is the output of this logic:
5 = 5 AND 3 < 10 → True or False?
(a)
Which is the best example of an algorithm?
Baking a cake using a recipe
Jumping randomly
Listening to music
Drawing without a plan
Koddy is playing a treasure hunt game. He starts with 50 points.
Each treasure he finds gives him 15 points.
Each trap he steps on takes away 10 points.
If Koddy finds 2 treasures and steps on 1 trap, what is his final score?
(a)
Emma has 80 points. She loses 10 points each time she makes an error. How many errors can she make before her score becomes 50?
3 errors
4 errors
5 errors
6 errors
