Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Year 9 After Easter big retrieval - power 5

Total questions: 129

Worksheet time: 1hrs 7mins

Name
Class
Date
1.

A loop that does an instruction for a certain number of times is known as:

a (a)   controlled loop, or a 'for loop'.

2.

playerName = (a)   ("Enter your name")

print("Welcome to the game " + playerName)

The below above allows a player to enter their name and then greets them. What is the missing word?

3.

for counter in range(10):

print(counter)

What will be the final line output by this program?

(Type your answer as a number)

(a)  

4.

laurions = ["Altius", "Citius", "Fortius"]

laurions. (a)   ("Magnus")

fill in the blanks to make it so that the code ADDS Magnus to the list of laurions.

5.

code:

___ counter in range(2):

print(counter)

What word is missing from the code above. The program outputs the numbers 0 and 1.

a)

and

b)

for

c)

while

d)

if

e)

nor

6.

laurions = ["Altius", "Citius", "Fortius", "Magnus"]

playerName = input("Enter your name")

chosenLaurion = input("Who would you like to choose as your starter Laurion")

How many variables are there in the above code?

a)

0

b)

1

c)

2

d)

3

e)

4

7.

What does the flowchart to the left represent?

a)

Selection

b)

Count Controlled Iteration

c)

Condition Controlled Iteration

d)

Hacking

e)

Decomposition

8.

spice_girls = ["Emma", "Geri", "Mel B", "Mel C", "Victoria"]

which line of code would output the word Geri if added to the program above.

a)

print(spice_girls[1])

b)

print(spicegirls[0])

c)

print(Spice_girls[1])

d)

pint(spice_girls[1])

9.

Count-controlled iteration in python uses:

a)

for loops

b)

while loops

c)

if statements

d)

print statements

10.

condition controlled iteration in python uses:

a)

for loops

b)

while loops

c)

if statements

d)

print statements

11.

which can hold multiple pieces of data?

a)

a variable

b)

a list

12.

dinner_options = ["pizza", "pasta", "stir-fry", "curry", "fish and chips", "fajitas"]

import random

randomNumber = random.randint(0,3)

print(dinner_options[randonNumber]

Kieran is indecisive and has created a python program to help him choose what to have for dinner. There is an error with his program. Which options will the program never choose?

a)

pizza

b)

stir-fry

c)

curry

d)

fish and chips

e)

fajitas

13.

A loop that keeps repeating steps until something happens is called a (a)   controlled loop.


Choose from the below words
condition
count
14.

import random

letters = ["a","b","c","d","e","f"]

chosenLetter = letters(random.randint(0,5))

What is the name of the variable in the code above

a)

chosenLetter

b)

letters

c)

random

d)

randint

15.

what peice of syntax always comes at the end of a line declaring a loop in python?

a)

?

b)

*

c)

:

d)

!

e)

>

16.

count-controlled iteration can also be referred to as

(a)   loops


Choose from the below words
for
while
iteration
sonic's
17.

(a)   counter in range(5):

print(counter)

fill in the blank to make the above code print the numbers 0-4

18.

what is python?

a)

a game

b)

a coding language

c)

a program

d)

a browser

e)

machine code

19.

newName = input("Enter a name")

characterNames = ["Ada", "Alan", "Charles", "Katherine"]

characterNames.append(newName)

What is the name of the list in this code?

a)

newName

b)

characterNames

c)

input()

d)

append()

e)

=

20.

characterNames = ["Ada", "Alan", "Charles", "Katherine"]

characterNames. (a)   ("Ada")

What word would I add in the blanks to take Ada out of the list called characterNames

21.

Create a program that it outputs "Hello World":

​ (a)   ​ (b)   ​ (c)   ​ (d)  

Choose from the below words
print
(
"Hello World"
)
+
==
input
22.

userAge = ​ (a)   ("How old are you?")

Choose from the below words
input
print
output
enter
type
23.

What is printed by the following lines of code?

a)

eggs

b)

bread

c)

2

d)

sugar

24.

How many items can a list contain? Tick all that apply.

a)

0

b)

1

c)

2

d)

3

e)

10

25.

What is the maximum amount of items you can store in a variable?

a)

0

b)

1

c)

2

d)

3

26.

What would be the output of this code?

laurions = ["Altius", "Citius", "Fortius", "Magnus"]

print(laurions)

a)

["Altius", "Citius", "Fortius", "Magnus"]

b)

Altius , Citius, Fortius , Magnus

c)

laurions

d)

"Altius", "Citius", "Fortius", "Magnus"

e)

Error

27.

What would be the output of this code?

laurions = ["Altius", "Citius", "Fortius", "Magnus"]

print(laurions[2])

(a)  

28.

laurions = ["Altius", "Citius", "Fortius", "Magnus"]

chosenLaurion = laurions[1]

What is the variable in this code?

(a)  

29.

What is the name for the data structure in python which can hold more than one item?

(a)  

30.

What is the output of the code below?

laurions = ["Altius", "Citius", "Fortius", "Magnus"]

laurions.clear()

laurions.append("magnus")

laurions.append("citius")

print(laurions[1])

(a)  

31.

firstNames = ["Ada", "Alan", "Charles"]

surnames = ["Lovelace", "Turing", "Babbage"]

subject = "Computer Science"

What is the name of the variable in the code above?

(a)  

32.

import random

randomNumber = random.randint(0,4)

letters = ["a","b","c","d","e"]

print(letters[randomNumber])

What is the name of the variable in the code above?

(a)  

33.

In an array, what is the first numbered position in which data can be stored?

a)

Position 0

b)

Position 1

34.

Which of these in an advantage of a database?

Select all that apply

a)

It’s easy to add to or amend existing records.

b)

They're written in python.

c)

Multiple people can access a database at the same time.

d)

Security can be better than paper files by using a password.

e)

They can be hacked.

35.

I have created a database of students. 'name' is likely to be what?

a)

A table

b)

A field

c)

A record

d)

A DBMS

36.

I have created a database of pets who are up for adoption. Snowy is a white labrador, all of his data can be grouped together. This would be classed as a ... ?

a)

A table

b)

A field

c)

A record

d)

A DBMS

37.

the name of a category in a database, such as 'name', 'age', 'gender' is a (a)  

38.

DBMS stands for what?

a)

Database Management System

b)

Double Base Mega Slam

c)

Database Money System

d)

Database Media Storage

39.

Which of these is a DISADVANTAGE of a database?

a)

It can store more than one piece of data.

b)

It can be hacked.

c)

It relies on paper.

d)

It cannot be moved from place to place.

40.

Tables are ususally named starting with which three letter abbreviation?

(a)  

41.

Which of these is true of a primary key?

a)

It must be unique

b)

It must start with the letter a.

c)

It must start with the number 0.

d)

It must be only 1 character long.

42.

A database can hold more than 1 Million pieces of data?

a)

True

b)

False

43.

Databases make it easier to find and use data from big data sets.

a)

False

b)

True

44.

In a database, each record will usually have data in multiple fields?

a)

False

b)

True

45.

There will always be more records than fields in a database.

a)

True

b)

False

46.

subjects = ["Computing", "Drama", "English", "Maths", "Science", "Spanish"]

What is subjects [2]

a)

Computing

b)

English

c)

Science

d)

Drama

e)

Index Error

47.

What would be the output of the code below:

laurions = ["Altius", "Citius", "Fortius", "Magnus"]

print(laurions[3] + " beat " + laurions[2])

a)

Error

b)

Fortius beat Citius

c)

Magnus beat Fortius

d)

Magnus beat Citius

e)

Fortius beat Magnus

48.

Which of these is an appropriate name for a list containing:

Apples, Oranges, Pears, Bananas

a)

Fruit

b)

fruit

c)

x

d)

list1

49.

What is python

a)

Programming Language

b)

Browser

c)

Coding Method

d)

Computer Game

50.

name = input("What is your name?"

print("Hello" + name")

If I inputted Elsa into the program above, what would the output be?

a)

Hello Elsa

b)

Elsa

c)

HelloElsa

d)

Error

e)

Let it go!

51.

A loop that does an instruction for a certain number of times is known as:

a (a)   controlled loop, or a 'for loop'.

52.

playerName = (a)   ("Enter your name")

print("Welcome to the game " + playerName)

The below above allows a player to enter their name and then greets them. What is the missing word?


Choose from the below words
input
print
enter
variable
list
53.

for counter in range(10):

print(counter)

What will be the final line output by this program?

(Type your answer as a number)

(a)  

54.

laurions = ["Altius", "Citius", "Fortius"]

laurions. (a)   ("Magnus")

fill in the blanks to make it so that the code ADDS Magnus to the list of laurions.

55.

code:

___ counter in range(2):

print(counter)

What word is missing from the code above. The program outputs the numbers 0 and 1.

a)

and

b)

for

c)

while

d)

if

e)

nor

56.

laurions = ["Altius", "Citius", "Fortius", "Magnus"]

playerName = input("Enter your name")

chosenLaurion = input("Who would you like to choose as your starter Laurion")

How many variables are there in the above code?

a)

0

b)

1

c)

2

d)

3

e)

4

57.

What does the flowchart to the left represent?

a)

Selection

b)

Count Controlled Iteration

c)

Condition Controlled Iteration

d)

Hacking

e)

Decomposition

58.

spice_girls = ["Emma", "Geri", "Mel B", "Mel C", "Victoria"]

which line of code would output the word Geri if added to the program above.

a)

print(spice_girls[1])

b)

print(spicegirls[0])

c)

print(Spice_girls[1])

d)

pint(spice_girls[1])

59.

Count-controlled iteration in python uses:

a)

for loops

b)

while loops

c)

if statements

d)

print statements

60.

condition controlled iteration in python uses:

a)

for loops

b)

while loops

c)

if statements

d)

print statements

61.

which can hold multiple pieces of data?

a)

a variable

b)

a list

62.

dinner_options = ["pizza", "pasta", "stir-fry", "curry", "fish and chips", "fajitas"]

import random

randomNumber = random.randint(0,3)

print(dinner_options[randonNumber]

Kieran is indecisive and has created a python program to help him choose what to have for dinner. There is an error with his program. Which options will the program never choose?

a)

pizza

b)

stir-fry

c)

curry

d)

fish and chips

e)

fajitas

63.

Create a statement which adds "Citius" to a list called laurions:

​ (a)   ​ (b)   ​ (c)   ​ (d)   ​"Citius" ​ (e)   ​

Choose from the below words
laurions
.
append
(
)
list
add
[
]
=
64.
Where can Linear Search be performed?
a)
On letters
b)
On numbers
c)
Both
d)
None of these
65.
How many linear searches will it take to find the value 7 in the list [1,4,8,7,10,28]?
a)
2
b)
3
c)
4
d)
5
66.
What is an advantage of the Linear search algorithm?
a)
Performs well with small sized data sets
b)
Can be used on data sets with more than a million elements
c)
Is complicated to code
67.
What is a disadvantage of the Linear search algorithm?
a)
It will only work on a sorted data set
b)
May be too slow to process large data sets
68.
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
69.
Which two statements are used to implement iteration?
a)
IF and WHILE
b)
ELSE and WHILE
c)
FOR and WHILE
d)
IF and ELSE
70.
Which of the following symbols is used in Python to mean "Equal to"?
a)
=
b)
!=
c)
==
d)
>=
71.
a)
0  5  10
b)
5  10
c)
0  5  10  15  20  25  30  35  40  45  50  55  60  65  70  75  80  85  90  95  100  105  110  115  120  125  130  135  140......etc
d)
12  7  2
72.
a)
Welcome
b)
Try again!
c)
Error
d)
Enter your password
73.
The character that must be at the end of the line for if, while, for etc.
a)
:
b)
;
c)
.
d)
,
74.
name the movie
a)
Home Alone
b)
Home Alone 2
c)
Bobby and Billy wild Adventures 
d)
the 4th of July
75.

Who is that

a)

Santa

b)

Elf

c)

A Snowflake

d)

Rudolph the Red-Nosed Reindeer

e)

A normal Reindeer

76.
What is Frosty the Snowman's nose made of?
a)
A Carrot
b)
A Potato
c)
A Button
d)
A Rock
77.

2. In the song The 12 days of Christmas, what gift was given on the fourth day?

a)

French Hens

b)

Golden Rings

c)

Calling Birds

78.

4. How do you say "Merry Christmas" in Spanish?

a)

Sheng Dan Kuai Le

b)

Feliz Navidad

c)

Maligayang Pasko

79.

On which continent is the Sahara desert?

a)

Africa

b)

Asia

c)

North Africa

d)

South Africa

80.

Which planet is the smallest?

a)

Mars

b)

Saturn

c)

Mercury

d)

Venus

81.

How many zeroes in ten million?

a)

5

b)

6

c)

7

d)

8

82.

John, Paul, George and Ringo were part of which band?

a)

The Rolling Stones

b)

Bee Gees

c)

The Monkees

d)

The Beatles

83.

Select the animal that can't jump:

a)

Kangaroo

b)

Elephant

c)

Dog

d)

Cat

84.

What is the sweet food made by bees?

a)

Wax

b)

Pollen

c)

Nectar

d)

Honey

85.

What’s the name of the toy cowboy in Toy Story?

a)

Woody

b)

Buzz

c)

Andy

d)

Sid

86.

What is the name of the fairy in Peter Pan?

a)

Wendy

b)

Tinkerbell

c)

Lily

d)

Jane

87.

What is the largest ocean on Earth?

a)

The Atlantic.

b)

The Artic.

c)

The Pacific.

d)

The Indian.

88.

Who is the premier league footballer with the most goals?

a)

Alan Shearer

b)

Teddy Sheringham

c)

Sergio Aguero

d)

Thierry Henry

89.

What Is The Hottest Colour Of A Fire?

a)

Light Blue

b)

Red

c)

Green

d)

Orange

90.

Which Country Has Cities Such As Sydney, Canberra, Perth And Melbourne?

a)

New Zealand

b)

Australia

c)

Lebanon

d)

Oman

91.

What Is The Gestation Period Of A Rhinoceros On Average?

a)

16 months

b)

8 months

c)

21 months

d)

3.5 years

92.

What Is 12 x 12?

a)

144

b)

156

c)

189

d)

211

93.

Which Country Has The Capital Lima?

a)

Peru

b)

Venezuela

c)

Morocco

d)

Australia

94.

What sport is this?

a)

mountain biking

b)

skiing

c)

surfing

d)

sky diving

95.

Who is this?

a)

Blue Girl

b)

Elsa

c)

Frozen

d)

Anna

96.

What is lava?

a)

hot rock

b)

liquid fire

c)

cold fire

d)

hot metal

97.

​ (a)   are involved with everything we do online. From social networking to the BBC website, ​ (b)   are crucial tools used to store large amounts of ​ (c)   in an ​ (d)   way.

Choose from the below words
Databases
databases
data
organised
variables
frogs
alphabetical
98.

Humans using methods trick or manipulate other humans into handing over information is known as ​ (a)   .

Choose from the below words
social engineering
shouldering
hacking
brute force attcks
brute force attacks
99.

​ (a)   is an attack that involves an attacker watching the victim while they provide sensitive information such as their pin number.

Choose from the below words
Shouldering
Phishing
Blagging
Name generator attack
100.

Select the attack that requires a lot of processing power in order to flood a device, service or network with requests.

101.

Select the attacks that exploit humans in order to gain access to a system (and require little to no coding knowledge).

102.

a​ (a)   of ​ (b)   attack (DoS) is is done by ​ (c)   the targeted machine or website with lots of ​ (d)   in an attempt to overload the ​ (e)   .

Choose from the below words
Denial
service
flooding
requests
system
deleting
malware
103.

Attempting to use a large volume of password attempts to access a system is known as a ​ (a)   .

Choose from the below words
brute force attack
social engineering attack
DOS attack
blag
phishing attack
pharming attack
ransomware attack
104.

​ (a)   are rarely motivated by theft, but are more interested in creating disruption to cause public embarrassment or to promote a cause.

Choose from the below words
Hacktivists
White Hat Hackers
Cyber Criminals
Bank Robbers
Vagabonds
105.

Hacking is gaining ​ (a)   access to or control of a ​ (b)   system.

Choose from the below words
unauthorised
computer
multiple
paper
locked
106.

​ (a)   is raw facts and figures. ​ (b)   is created when that ​ (c)   has been processed and becomes meaningful.

Choose from the below words
Data
Information
data
pizza
malware
107.

What do companies convert data into?

a)

Awards

b)

Data

c)

Points

d)

Information

108.

What is the definition of a computer virus?

a)

Malicious software that self-replicates

b)

Malicious software that disguises itself as something else

c)

Malicious software that uses network bandwidth to deliberately disrupt the speed of the network

d)

Malicious software that monitors every keystroke the user makes

109.

Which of the following statements best describes a "worm"?

a)

Self replicates and encrypts files to make them inaccessible

b)

Self replicates, does not attach to files, but is designed to take up system resources to slow down the network or computer

c)

Attaches to files and is designed to take up system resources to slow down the network or computer. Does not self replicate.

d)

Malicious software that monitors every keystroke the user makes

110.

Which of the following is defined as: 'A program designed to breach the security of a computer system while ostensibly performing some innocuous function'

a)

Ransomware

b)

Virus

c)

Trojan Horse

d)

Worm

e)

Spyware

111.

Which of the following may result in a malware infection?

a)

Opening an email attachment

b)

Downloading a file from a website

c)

Clicking on an infected link

d)

Installing a firewall

e)

Increasing user authentication protocols

112.

Which of the following are the signs of a virus attack?

a)

The computer runs slower than normal.

b)

There is a change in file size.

c)

The computer restarts on its own.

d)

You receive a suspicious email.

113.

The ​ (a)   type of malware collects personal information and sends it to a third party.

Choose from the below words
Spyware
Worm
Toolbar
Homepage hijacker
114.

Organising Data Retrieval Question:

What type of data can a Binary Search be performed on?

a)

Ordered

b)

Unordered

c)

Both

d)

Neither

115.

Organising Data Retrieval:

What is the 3 letter acronym used for the language that searches and amends databases?

(clue: S-- )

(a)  

116.

Python Retrieval:

A loop that repeats steps a certain number of times is called a (a)   controlled loop.

Choose from the below words
count
condition
selection
117.

Python Retrieval:

Create a program that it outputs "Hello World":

​ (a)   ​ (b)   ​ (c)   ​ (d)  

Choose from the below words
print
(
"Hello World"
)
+
==
input
118.

A ​ (a)   is an attack in which the victim is asked in an app or social media post to combine a few pieces of information or complete a short quiz to produce a name.

Choose from the below words
name generator attack
brute force attack
phishing
pharming
blagging
119.

If you receive an email with a suspicious link, it is likely what type of attack?

120.

What type of attack involves inputting code into a database in order to illegally read private data from that database?

Clue: Think back to the language used for reading and writing from databases

121.

Python Retrieval:

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

122.

Python Retrieval:

Which of the following symbols is used in Python for variable assignment

a)

=

b)

!=

c)

==

d)

>=

123.

A ​ (a)   checks incoming and outgoing network traffic.​

It scans the data to make sure it doesn’t contain anything malicious and that it follows the rules set by the network.

Choose from the below words
firewall
malware
two-factor authentication
124.

​ (a)   is software that ​ (b)   any file that is able to execute ​ (c)   . ​The anti-malware will have a list of ​ (d)   of sequences of ​ (e)   that they are aware are malicious.

Choose from the below words
Anti-malware
scans
code
definitions
125.

​ (a)   refers to software that automatically checks for available ​ (b)   for the ​ (c)   you have on your ​ (d)   .

Choose from the below words
Auto-updates
updates
software
computer
hardware
strings
database
126.

Cyber Security In 2022:

2% of breaches featured ​ (a)   , 28% involved malware, and 32–33% included ​ (b)   .

Choose from the below words
hacking
social engineering
127.

Network security provision is based on ​ (a)   . Often, companies will compare the ​ (b)   of an attack against the ​ (c)   of it happening.​

This helps organisations plan how best to spend their ​ (d)   s.

Choose from the below words
risk
impact
probability
budget
passwords
criminals
hacking
128.

Select all the types of malware

a)

Worms

b)

Trojans

c)

Ransomware

d)

Virus

e)

Blagging

129.

Match the cyber attacks with the best defense against them.

a)

Brute Force Attacks

1.

Two factor authentication

b)

Viruses

2.

Anti-Malware software

c)

Phishing

3.

Educating employees

d)

Denial of Service attack

4.

Firewall