wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Year 9 Easter Term Quiz

Total questions: 81

Worksheet time: 51mins

Name
Class
Date
1.
What is an Algorithm?
a)
A chart showing the flow of a series of events
b)
Step-by-step instructions used to solve a problem
c)
A decision arrived at by following instructions
d)
A computer program that follows a chart
2.
What algorithm do we use when we're looking for the Post Office?
a)
A set of directions
b)
A recipe
c)
A list of instructions
3.
What algorithm do we use when we're building a wardrobe?
a)
A set of directions
b)
A recipe
c)
A list of instructions
4.
When can algorithms be used?
a)
Only with computers
b)
Only when programming
c)
Only with flowcharts
d)
Any time to design solutions to problems
5.

Instructions carried out one after another in order is a...

a)

List

b)

Sequence

c)

Collection

d)

Series

6.

While the program is running, if the program makes a choice if it should run some code or not, it is called a...

a)

variable

b)

sequence

c)

selection

d)

mistake

7.

When a program repeats, looping over the same sequence, it is called...

a)

iteration

b)

a variable

c)

an instruction

8.

Instructions carried out one after another in order is a...

a)

List

b)

Sequence

c)

Collection

d)

Series

9.

Which is the definition of "sequence"?

a)

A set of instructions in a specific order

b)

Where instructions repeat

c)

Code where decisions are made

10.

Which is the definition of "selection"?

a)

A set of instructions in a specific order

b)

Where instructions repeat

c)

Code where decisions are made

11.

Which is the definition of "iteration"?

a)

A set of instructions in a specific order

b)

Where instructions repeat

c)

Code where decisions are made

12.

Why is iteration important?

a)

It determines the order in which instructions are carried out

b)

It allows code to be simplified by removing duplicated steps

c)

It allows multiple paths through a program

13.

Which of the following contains an INCORRECT sequence when getting dressed to go out?

a)

Put on socks, put on shoes, put on coat

b)

Put on coat, put on shoes, put on socks

c)

Put on socks, put on coat, put on shoes

14.

Why is selection important?

a)

Selection allows us to include more than one path through a solution

b)

Selection allows us to repeat steps in a solution

c)

Selection allows us make our solution more efficient

15.

What does iteration involve?

a)

Rejecting

b)

Reclining

c)

Repeating

d)

Recycling

16.

Instructions being followed one after the other. What is it?

a)

Selection

b)

Iteration

c)

Sequence

d)

Variable

17.

Only allowing one bit of code to run when something happens.

Example:

• Only run this bit of code “When” or “If” this bit has run

• WHEN you press on the keyboard, on the arrows, DO move.

a)

Selection

b)

Sequence

c)

Iteration

d)

Variable

18.
What command is this shape for?
a)
START / STOP
b)
INPUT / OUTPUT
c)
PROCESS
d)
DECISION
19.
What does this shape represent?
a)
Input/Output
b)
Decision
c)
Process
d)
Start/Stop
20.
What does this shape represent?
a)
Decission
b)
Process
c)
Input/Output
d)
Start/End
21.
What's missing ?
a)
On/Off
b)
Pink/Blue
c)
Hello/Goodbye
d)
Yes/No
22.
What command is this shape for?
a)
References another part of the program
b)
Data that is going in as input or coming out as output
c)
Processing something - a calculation or storing something into a variable
d)
Shows the direction of the program
23.
What will be displayed as output?
a)
10
b)
20
c)
30
d)
40
24.
What is the correct definition of an algorithm?
a)
An algorithm is a step by step instructions to solve a problem.
b)
An algorithm is a process of baking bread.
c)
An algorithm is a software used to compute numbers.
d)
An algorithm is the process of breaking problems.
25.
What is the Output if the user enters:
Yes
a)
Leave umbrella at home
b)
Take an umbrella
26.
What does this symbol mean?
<
a)
Greater Than
b)
Less Than
27.
What is this ?
a)
Pseudocode
b)
Flow chart
c)
Syntax
28.

What is decomposition?

a)

Adding detail to make a problem more complex

b)

Breaking down a complex problem or system into smaller, more manageable parts

c)

When you ignore the unnecessary detail in a problem

29.

Why do we decompose a complex problem?

a)

To make it easier to solve

b)

To make it more difficult to solve

c)

To change the problem we have

30.

Which of these is an example of decomposition?

a)

Watching a mechanic repair a car

b)

Finding out how a car works by looking in detail at the different parts that make up the car

c)

Looking at different car models for similarities between them

31.

How often do we decompose problems?

a)

We never decompose them, computers do this for us

b)

Occasionally, but we don't really need to

c)

Every day, often without thinking about it

32.

Which of these is NOT an example of decomposition?

a)

Thinking about how the problem could be divided into smaller parts

b)

Adding more parts to the problem so it becomes more complex

c)

Working out who could help you solve a part of the problem

33.

What is pattern recognition?

a)

Breaking down a complex problem into smaller problems

b)

Looking for similarities among and within problems

c)

Building models from patterns

34.

Why do we need to look for patterns in problems?

a)

Patterns make it easier for us to solve complex problems

b)

We don't need to look for patterns

c)

Patterns make it more difficult complex problems

35.

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

36.

Which of the following is not done by decomposition?

a)

Allows multiple people to work on the problem together

b)

Disregards non-essential information

c)

Breaks the problem down into smaller tasks

37.

You could use abstraction to replace specific objects with simple shapes

a)

True

b)

False

38.

Abstraction and Decomposition are examples of...

a)

Computational Thinking

b)

Algorithmic Thinking

c)

Computer Science

d)

Logical Reasoning

39.

In programming, what is iteration?

a)

The repetition of steps within a program

b)

The order in which instructions are carried out

c)

A decision point in a program

d)

Testing a program to make sure it works

40.
Why is iteration important?
a)
It determines the order in which instructions are carried out
b)
It allows code to be simplified by removing duplicated steps
c)
It allows multiple paths through a program
d)
It ensures the code works correctly
41.

FOR loops are

a)

loops which run an unknown number of times

b)

loops which run for a specific number of times

c)

the same as if statements

d)

not part of programming

42.

Which type of loop iterates until instructed otherwise?

a)

FOR loop

b)

WHILE loop

43.

A condition is

a)

a statement that is either True or False

b)

a string

c)

an integer

d)

a list

44.
Which of the following symbols is used in Python to mean "Greater than or equal to"?
a)
<=
b)
>>
c)
>=
d)
=>
45.
Which of the following symbols is used in Python to mean "Not equal to"?
a)
==
b)
!=
c)
<>
d)
><
46.
a)
12  17   22
b)
5
c)
12
d)
5  10
47.
a)
Hello world!
b)
Hello world
c)
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
......(repeated continuously)
d)
Error
48.
a)
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
(repeated continuously)
b)
Hello world!
c)
Hello world!
break              
d)
Error
49.

Instructions carried out one after another in order is a...

a)

List

b)

Sequence

c)

Collection

d)

Series

50.

Which is the definition of "selection"?

a)

A set of instructions in a specific order

b)

Where instructions repeat

c)

Code where decisions are made

51.
What type of algorithm can you see here?
a)
Sequence
b)
Selection
c)
Iteration
52.
What type of algorithm can you see here?
a)
Sequence
b)
Selection
c)
Iteration
53.

How many times will a 'FOR' Loop repeat? (2 answers)

a)

A fixed number of times

b)

Unlimited times

c)

A certain number the user wants

d)

1 000 000 times

54.

What is the proper name for repetition?

a)

rounders

b)

iteration

c)

Circular

d)

cookie

55.

Which line shows a comment?

a)

1

b)

2

c)

3

d)

4

56.

Which line shows selection?

a)

6

b)

9

c)

12

d)

13

57.

What lines show iteration?

a)

1 to 4

b)

6 to 11

c)

9 to 10

d)

12 to 13

58.

How many variables are part of this subroutine?

a)

2

b)

3

c)

4

d)

5

59.

What shape will this code draw?

a)

Circle

b)

Square

c)

Triangle

d)

Rectangle

60.

How many INPUTS are shown on the image?

a)

1

b)

2

c)

5

d)

6

61.

How many OUTPUTS are shown on the image?

a)

1

b)

2

c)

5

d)

6

62.
Look at the flowchart shown. The flowchart shows the control system for a zebra crossing. The control system should make the lights flash on and off repeatedly but it is not working. Why is this?
a)
There isn't a stop symbol
b)
It doesn't use iteration
c)
The lights are only ever turned on
d)
The delay is too long
63.
Look at the flowchart shown. The flowchart shows the control system for a zebra crossing. Which symbol are the actions 'Turn Light on' and 'Turn Light off' found in?
a)

Terminator symbol

b)

Process symbol

c)

Input/Output symbol

d)

Decision symbol

64.
Look at the flowchart shown. The flowchart shows the control system for a zebra crossing. Which symbol are the 'Delay 2' actions found in?
a)

Terminator symbol

b)

Process symbol

c)

Input/Output symbol

d)

Decision symbol

65.

Look at the flowchart shown. The flowchart shows the control system for a zebra crossing. In order for the lights to flash continuously what is implemented on the flowchart?

a)

A decision

b)

A termination

c)

A loop

d)

An input

66.
True or False: A flowchart does not need to have a terminator Start symbol.
a)
True
b)
False
67.
True or False: A flowchart does not need to have a termintor Stop symbol.
a)
True
b)
False
68.

Match the definition to the keyword:

a)

Iteration

1.

Repeating steps, or instructions

b)

Sequencing

2.

Specific order of instructions

c)

Selection

3.

a decision or a questions

d)

Algorithm

4.

A step-by-step instructions

69.

Click on on of the input devices:

70.

Click on on of the output devices:

71.

Click on on of the input AND output devices:

72.
What is another name given to 'proprietary software'?
a)
Open source software
b)
Bespoke software
c)
Tailor Made software
d)
Closed source software
73.

What is meant by 'proprietary' software?

a)

Software owned by an organisation, you may need to buy a license for.

b)

software distributed with its source code, making it available for use, modification, and distribution with its original rights

74.

What is meant by 'open source' software?

a)

Software owned by an organisation, you may need to buy a license for

b)

Software distributed with its source code, making it available for use, modification, and distribution with its original rights

75.
Which of the following is not 'open source' software?
a)
Linux
b)
Ubuntu
c)
Open Office
d)
Windows 10
76.

Which of the following is not 'proprietary' software?

a)

Windows 10

b)

MAC OSX

c)

Linux

d)

McAfee

77.

Which of the following is an advantage of 'open source' software?

a)

You can edit the source code to customise it

b)

You need to be an expert to edit code

c)

Source code not made available

d)

License restricts the copying / modifying / distribution of the software

78.

Which of the following is a disadvantage of 'proprietary' software?

a)

You can edit the source code to customise it

b)

It may have bugs, since updates are not readily available

c)

Less likely to have 'bugs' as updates are regular to fix them

d)

May have features within the software you don't need, source code can't be changed.

79.

Which of the following is a disadvantage of 'open source' software?

a)

You can edit the source code to customise it

b)

It may have bugs, since updates are not readily available to fix issues.

c)

Less likely to have 'bugs' as updates are regular to fix them

d)

May have features within the software you don't need, source code can't be changed.

80.

Which of the following is an advantage of 'proprietary' software?

a)

You can edit the source code to customise it

b)

It may have bugs, since updates are not readily available to fix issues.

c)

Less likely to have 'bugs' as updates are regular to fix them

d)

May have features within the software you don't need, source code can't be changed.

81.

Which of the following is a disadvantage of 'proprietary' software?

a)

You can edit the source code to customise it

b)

It may have bugs, since updates are not readily available to fix issues.

c)

Less likely to have 'bugs' as updates are regular to fix them

d)

May have features within the software you don't need, source code can't be changed.