wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computational thinking Year 9

Total questions: 70

Worksheet time: 48mins

Name
Class
Date
1.

What are the three key parts of computational thinking?

a)

Programming, flowcharts and pseudo code

b)

Abstraction, decomposition and algorithmic thinking

c)

Input, processing and output

d)

Patterns, shapes and numbers

2.
What does decomposition mean?
a)
focuses on the important information only, ignoring irrelevant detail
b)
Step by step instructions on solving a problem.
c)
Thinking like a computer
d)
This is the breaking down of a complex problem into smaller parts
3.
What is abstraction?
a)
A painting
b)
A programming language
c)
This means focusing on the important details and ignoring the irrelevant information
d)
Abstraction is the breaking down of a big problem into smaller parts.
4.

Which of the following is not done by abstraction?

a)

Identifies essential details

b)

Disregards non-essential information

c)

Breaks the problem down into smaller tasks

5.

This is a good example of decomposition

Sit down

Do homework

a)

True

b)

False

6.

Decomposition allows each task to become _______

a)

More manageable

b)

Easier

c)

Quicker

7.

Abstraction and Decomposition are examples of...

a)

Computational Thinking

b)

Algorithmic Thinking

c)

Computer Science

d)

Logical Reasoning

8.

Identifying the steps involved in solving a problem

a)

Abstraction

b)

Decomposition

c)

Pattern Recognition

d)

Algorithmic Thinking

9.

If it is AFTER 7am, what do you need to do?

a)

Take the bus

b)

Take the subway

c)

Check the time

d)

Leave home

10.

You are at the yellow arrow, pointing in the direction indicated. How would you move to fill in the 2 black squares?

a)

Straight, Turn right, Straight x 1, Fill Square, Straight x 2, Turn left, Straight x 1, Fill Square

b)

Straight x 2, Turn right, Straight x 1, Fill Square, Straight x 2, Turn left, Straight x 1, Fill Square

c)

Straight x 2, Turn right, Straight x 1, Fill Square, Straight x 2, Turn right, Straight x 1, Fill Square

d)

Straight x 2, Turn right, Straight x 1, Fill Square, Straight x 2, Turn left, Straight x 2, Fill Square

11.

Programming is

a)

To plan daily the week activity

b)

To give instructions to a computer to be executed.

c)

To give recommendations to a computer to be executed.

12.

Algorithm is _______ problem solving process.

a)

Loop based

b)

Conditional

c)

Step by Step

d)

All of the above

13.

Define what is meant by computational thinking

a)

Looking for similarities

b)

Breaking a problem into smaller sub problems

c)

Removing unnecessary detail

d)

Using a computer to solve problems

14.

Define what is meant by abstraction

a)

Looking for similarities

b)

Breaking a problem into smaller sub problems

c)

Removing unnecessary detail

d)

Using a computer to solve problems

15.

Define what is meant by pattern recognition

a)

Looking for similarities

b)

Breaking a problem into smaller sub problems

c)

Removing unnecessary detail

d)

Using a computer to solve problems

16.

Define what is meant by decomposition

a)

Looking for similarities

b)

Breaking a problem into smaller sub problems

c)

Removing unnecessary detail

d)

Using a computer to solve problems

17.

Define what is meant by an algorithm

a)

Looking for similarities

b)

Breaking a problem into smaller sub problems

c)

Step by step instructions to solve a problem

d)

Using a computer to solve problems

18.

Identify the type of algorithm shown in the image

a)

Pseudocode

b)

Flow Chart

19.

Identify the type of algorithm shown in the image

a)

Pseudocode

b)

Flow chart

20.

Which of the following is NOT a computational thinking technique?

a)

Decomposition

b)

Pattern recognition

c)

Coding

21.

Which computational thinking technique involves breaking a problem down into smaller parts?

a)

Abstraction

b)

Decomposition

c)

Algorithms

22.

To create a successful computer program, how many computational thinking techniques are usually required?

a)

2

b)

4

c)

1

23.

Which of the following contains a pattern?

a)

All cars have wheels

b)

My car is blue

c)

My friend's car has an MP3 player

24.

What comes next in the pattern?

a)

up, down, right

b)

down, up, left

c)

up, right, down

d)

down, left, right

25.
a)

heart,heart,heart

b)

octagon, octagon, octagon

c)

octagon, heart, octagon

d)

octagon, octagon, heart

26.

What are the next two numbers in this pattern? 12, 17, 22, 27, ___, ___

a)

30, 37

b)

32, 37

c)

32, 35

d)

30, 33

27.

2.The image shows which tool for computational thinking

a)

Abstraction

b)

Algorithm

c)

Decomposition

28.

3.The image shows which tool for computational thinking

a)

Pattern recognition

b)

Abstraction

c)

Algorithm

29.

6. Which of the following is NOT a computational thinking tools

a)

Process

b)

Abstraction

c)

Pattern recognition

30.

When drawing a dog, which of the following characteristics is non-essential?

a)

Dogs have 4 paws

b)

Dogs have fur

c)

Dogs have brown fur

31.

When designing a building that must be accessible for wheelchairs, which of the following characteristics is non-essential?

a)

Number of doors

b)

Number of walls

c)

Number of wall paintings

32.

One advantage of abstraction is that it means no mistakes can be made

a)

True

b)

False

33.

You could use abstraction to replace specific objects with simple shapes

a)

True

b)

False

34.

A school database has lots of information on students, the data manager needs to use abstraction. What data should she leave out?

a)

Age

b)

Guardian's phone numbers

c)

Classes

d)

Eye colour

35.

Which of the following do computers understand?

a)

Spanish

b)

English

c)

Code

d)

Computers don't understand anything. They process data.

e)

Flowcharts

36.

Sarah wants help with PP&R in science as she is stuck on a certain question. She tells Amir a long story about her weekend, what she learned in primary school and her pet hamster, as well as the question she is stuck on. Mentally, Amir, ignores all of the unnecessary information and focusses on the important part. This is an example of what?

a)

abstraction

b)

decompositon

c)

pattern recognition

d)

coding

37.

What must instructions be in an algorithm?

(Tick all that apply)

a)

long

b)

precise

c)

in order

d)

written in English

38.

An algorithm could be written in which of the following? (Tick all correct)

a)

English

b)

python code

c)

Spanish

d)

Clear Images

39.

a verb that means to write instructions for a computer

a)

code

b)

debugging

c)

event

d)

algorithm

40.

A list of steps to finish a task. A set of instructions that can be performed with or without a computer.

a)

program

b)

algorithm

c)

command

d)

condition

41.

Part of a program that does not work correctly.

a)

debugging

b)

variable

c)

algorithm

d)

bug

42.

Finding and fixing problems in an algorithm or program.

a)

sequencing

b)

debugging

c)

conditonals

d)

behavior

43.

Putting commands in correct order so computers can read the commands

a)

loop

b)

repeat

c)

debugging

d)

sequencing

44.

The action of doing something over and over again

a)

conditionals

b)

until

c)

loop

d)

constant

45.

A statement that a program checks to see if it is true or false. If true, an action is taken. Otherwise, the action is ignored.

a)

debugging

b)

until

c)

repeat

d)

condition

46.

Statements that only run under certain conditions.

a)

bug

b)

command

c)

conditionals

d)

algorithm

47.
Identify a variable within this flowchart.
a)
INPUT
b)
Start
c)
12
d)
RESULT
48.

What will happen if the user's book return is late?

a)

Sends them an SMS (text)

b)

Does not send them an SMS (text)

49.
What are the missing numbers in this pattern?
12, 15, ___, 21, ____, 27
a)
18,23
b)
18, 24
c)
17, 25
d)
17, 24
50.
How would you describe this pattern's rule?
65, 62, 59, 56, 53, 50
a)
Subtract 2
b)
Subtract 3
c)
Subtract 4
d)
Add 3
51.
How would you describe this pattern's rule?
16, 11, 6, 1
a)
Add 5
b)
Subtract 3
c)
Subtract 5
d)
Subtract 6
52.
How many counters would come next?
a)
5
b)
7
c)
9
d)
11
53.



(a)  

54.



(a)  

55.

What would be the 15th shape?

a)
b)
56.

What would be the 25th shape?

a)
b)
c)
d)
57.

Find the rule. Complete the table.

a)

20, 30, 40

b)

30, 40, 50

c)

20, 25, 30

d)

15, 20, 25

58.
What is the missing number in the pattern? 
a)
10
b)
11
c)
12
d)
13
59.
What is the rule?
a)
add 3
b)
add 4
c)
add 2
d)
add 5
60.
What comes next in the pattern?
a)
small, big, medium
b)
medium, big, small
c)
big, small, medium
d)
big, medium, small
61.
Where would the next red square be?
a)
bottom left
b)
top right
c)
top left
d)
bottom right
62.
a)
b)
c)
d)
63.

Use loops to draw this staircase.

Each stair step is 50 pixels long and 50 pixels tall

You will need to turn 90 degrees in each direction

a)
b)
c)
64.

I can do what with this..

a)

Click it because it's pink.

b)

Repeat my steps with LESS puzzle pieces.

c)

Looks kind if weird.

65.

Which of the following options of code condenses the pattern or patterns found in the original code?

a)
b)
c)

All of these

d)

None of these

e)
66.

A pattern is shown.

What is the next step (Step 4) in the pattern?

a)
b)
c)
d)
67.

Identify all the errors in this code for a coin toss. Mark ALL that apply.

a)

Line #3

b)

Line #4

c)

Line #5

d)

Line #6

68.

What is the output when A is entered?

a)

Bonjour

b)

Want to try another?

c)

Invalid input

d)

the screen stays blank

69.

What is the output when S is entered?

a)

Hola

Want to try another?

b)

Want to try another?

c)

Hola

d)

"Hola"

70.

What does the fox say when button A is pressed?

a)

Hello! Goodbye!

b)

Hello! Goodbye! Hello! Goodbye!

c)

Let's Start! Hello! Goodbye! Finished!

d)

Let's Start! Hello! Goodbye! Hello! Goodbye! Finished!