wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Basic Logic & Programming pt.2

Total questions: 10

Worksheet time: 9mins

Name
Class
Date
1.

What does a loop do in programming?

a)

Stops the program

b)

Repeats a set of instructions

c)

Changes colors

d)

Deletes files

2.

Which symbol means "greater than"?

a)

<

b)

>

c)

=

d)

-

3.

Which file type usually stores pictures?

a)

.jpg

b)

.txt

c)

.exe

d)

.mp3

4.

If 5 > 3, is the statement true or false?

a)

True

b)

False

5.

Which loop runs a set number of times?

a)

Forever loop

b)

If loop

c)

Repeat loop

d)

Else loop

6.

If the temperature is 30°C, which statement is true?

a)

30 < 20

b)

30 > 20

c)

30 = 20

d)

20 > 30

7.

What is the output of this logic:
5 = 5 AND 3 < 10 → True or False?

(a)  

8.

Which is the best example of an algorithm?

a)

Baking a cake using a recipe

b)

Jumping randomly

c)

Listening to music

d)

Drawing without a plan

9.

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)  

10.

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?

a)

3 errors

b)

4 errors

c)

5 errors

d)

6 errors