wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Pre-Test Logical Algorithm - Part 1: Logic Puzzles (10 mins)

Total questions: 13

Worksheet time: 9mins

Name
Class
Date
1.

Put these steps in the correct order to make a peanut butter sandwich:

1. Put peanut butter on bread

2. Eat the sandwich

3. Get bread from the cupboard

4. Put two slices of bread together

a)

3, 1, 4, 2

b)

1, 3, 4, 2

c)

3, 4, 1, 2

d)

1, 4, 3, 2

2.

If it's raining outside, then bring an umbrella. It is not raining today. Should you bring an umbrella?

a)

Yes, always bring an umbrella

b)

No, don't bring an umbrella

c)

Maybe, if you want to

3.

What comes next in this pattern?

↑ → ↓ ← ↑ → ↓

a)

b)

c)

d)

4.

Nested Conditional Logic: A game character can: JUMP if they have a spring, SHOOT if they have ammo, and RUN always. Complete the decision tree: IF has spring → ______ ELSE IF has ammo → ______ ELSE → ______

a)

JUMP, SHOOT, RUN

b)

SHOOT, JUMP, RUN

c)

RUN, JUMP, SHOOT

d)

JUMP, RUN, SHOOT

5.

A game character can: JUMP if they have a spring, SHOOT if they have ammo, and RUN always. If a character has BOTH a spring and ammo, what will they do?

a)

JUMP

b)

SHOOT

c)

RUN

d)

JUMP and SHOOT

6.

Analyze this pattern and determine what the 10th item would be

A, BB, CCC, DDDD, EEEEE, ...

a)

JJJJJJJJJJ

b)

IIIIIIIIII

c)

KKKKKKKKKK

d)

LLLLLLLLLL

7.

Loop Variable Tracing: Trace the values through this loop: Initialization x = 0 REPEAT 3 TIMES: x = x + 2 PRINT x What numbers will be printed? _____, _____, _____ What is the final value of x? _____

a)

2, 4, 6; 6

b)

1, 2, 3; 3

c)

2, 3, 4; 4

d)

0, 2, 4; 4

8.

Which method is more efficient for a computer? Select the correct answer.

a)

The method that requires fewer computational resources

b)

The method that takes the longest time to execute

c)

The method that uses the most memory

d)

The method that is the most complex

9.

You're building an app, and a button isn't working when you click it. What would you do first?

a)

Ask the teacher for help immediately

b)

Try clicking the button again

c)

Check if the button is connected to the code

d)

Start the whole project over

10.

If you were going to make an app about your favorite animal, which would you do first?

a)

Start coding right away

b)

Draw what the app will look like

c)

Look at other animal apps for ideas

d)

Decide what the app will do

11.

Which of the following is a creative feature that would make a quiz app more engaging?

a)

Adding interactive leaderboards

b)

Limiting the number of questions to five

c)

Removing all images from questions

d)

Disabling user profiles

12.

How much experience do you have with coding?

a)

None at all

b)

A little bit (hour of code, etc.)

c)

Some experience

d)

A lot of experience

13.

Feature Innovation:
Most quiz apps just show 'Correct/Incorrect'. Propose 3 creative features that would make a quiz app more engaging:

4 lines