wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

9M - retrieval

Total questions: 71

Worksheet time: 37mins

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.

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.

4.

What does the flowchart to the left represent?

a)

Selection

b)

Count Controlled Iteration

c)

Condition Controlled Iteration

d)

Hacking

e)

Decomposition

5.

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])

6.

which can hold multiple pieces of data?

a)

a variable

b)

a list

7.

condition controlled iteration in python uses:

a)

for loops

b)

while loops

c)

if statements

d)

print statements

8.

count-controlled iteration can also be referred to as

(a)   loops


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

what is python?

a)

a game

b)

a coding language

c)

a program

d)

a browser

e)

machine code

10.

Create a program that it outputs "Hello World":

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

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

What is printed by the following lines of code?

a)

eggs

b)

bread

c)

2

d)

sugar

12.

What would be the output of this code?

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

print(laurions[2])

(a)  

13.

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

(a)  

14.

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

a)

Position 0

b)

Position 1

15.

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.

16.

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

17.

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

18.

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

a)

True

b)

False

19.

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

Apples, Oranges, Pears, Bananas

a)

Fruit

b)

fruit

c)

x

d)

list1

20.

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
21.

Count-controlled iteration in python uses:

a)

for loops

b)

while loops

c)

if statements

d)

print statements

22.

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
[
]
=
23.
Which of the following symbols is used in Python to mean "Equal to"?
a)
=
b)
!=
c)
==
d)
>=
24.

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
25.

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

26.

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

27.

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
28.

​ (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
29.

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

30.

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.

31.

Organising Data Retrieval Question:

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

a)

Ordered

b)

Unordered

c)

Both

d)

Neither

32.

Organising Data Retrieval:

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

(clue: S-- )

(a)  

33.

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

34.

Python Retrieval:

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

a)

=

b)

!=

c)

==

d)

>=

35.

​ (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
36.

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
37.

Select all the types of malware

a)

Worms

b)

Trojans

c)

Ransomware

d)

Virus

e)

Blagging

38.

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

39.

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

40.
Computers use binary because they have circuits which are either on or off, which gives them two states to work from to make calculations and run processes - True or False?
a)
True
b)
False
41.

Computers use ___________: strings of 0s and 1s to stand for letters, sounds, and all of the other data they handle.

a)

binary code

b)

algorithms

c)

electronic devices

d)

transistors

e)

electric current

42.

Why do computer process data in binary form?

a)

Because it is easier for human beings to understand

b)

Because computers contain circuits with switches which have two states (on and off)

c)

Because computers contain circuits with switches which have multiple states

d)

Because data in decimal form is processed more slowly

43.

Q16. What is name of the chart pictured below? (1 mark)

a)

Graph chart

b)

Pie chart

c)

Line chart

d)

Bar chart

44.

Q3. Is the following a visualisation or an infographic?

a)

A. Visualisation

b)

B. Infographic

45.

Q1. Which of the following is the most accurate definition of data science?

a)

a) Data science is extracting meaning from large data sets in order to provide insights to support decision-making

b)

b) Data science is using computers to analyse data and to perform calculations on the data to produce information

c)

c) Data science is performing experiments and recording the data produced by those experiments

d)

d) Data science is writing code to make sure that any inaccuracies in data sets are spotted and removed (cleaned)

46.
How many bits are there in a byte?
a)
8
b)
16
c)
1
d)
2
47.

A programmer wants to store a set of data about the top grossing films of all time. He wants to include Film Name, Director, Genre, Year of release, and Money earned. Which data structure would be appropriate?

a)

A list

b)

A variable

c)

A function

48.

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

a)

0

b)

1

c)

2

d)

3

49.

What number system do computers use?

a)

ASCII

b)

Denary

c)

Binary

d)

Decimal

50.

What are the number choices in binary?

a)

0 and 1

b)

0, 1 and 2

c)

0 to 2

d)

0 to 9

51.

Computers use electrical signals that are on or ​ (a)   so they have to see everything as a series of ​ (b)   numbers.

Choose from the below words
off
binary
denary
static
in
52.

​ (a)   data that we want a computer to process needs to be converted into binary format.

Choose from the below words
All
Some
Most
No
53.

In Binary, the number ​ (a)   represents a transistor being ON and the number ​ (b)   represents a transistor being OFF.

Choose from the below words
1
0
2
10
54.

Binary is a number system that only uses two digits: 1 and 0. All information that is processed by a computer is in the form of a sequence of 1s and 0s. Therefore, all data that we want a computer to process needs to be ​ (a)   into binary.

Choose from the below words
converted
deleted
duplicated
appended
55.

binary numbers are usually written in blocks of four, separated by a space (eg 0111 1011). In denary, numbers are often written in blocks of three (eg 6 428 721).

a)

False

b)

True

56.

What type of number could 10 be?

a)

Binary

b)

Denary

c)

Neither

d)

Both

57.

People use the ​ (a)   (or decimal) number system in their day-to-day lives. This system has 10 digits that we can use: 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.

Choose from the below words
denary
binary
hexadecimal
58.

Computers use ​ (a)   signals that are ​ (b)   or off, so they have to see everything as a series of ​ (c)   numbers. This ​ (d)   is represented as a sequence of 1s and 0s (​ (e)   and off).

Choose from the below words
electrical
on
binary
data
denary
analogue
smoke
59.

Binary is a number system that only uses two digits: ​ (a)   All information that is processed by a computer is in the form of a sequence of ​​ (b)   Therefore, all data that we want a computer to process needs to be converted into binary.

Choose from the below words
1 and 0.
x and y.
a and b
in and out.
60.

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

61.

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
62.

Organising Data Retrieval Question:

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

a)

Ordered

b)

Unordered

c)

Both

d)

Neither

63.

Organising Data Retrieval:

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

(clue: S-- )

(a)  

64.

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
65.

Python Retrieval:

Create a program that it outputs "Hello World":

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

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

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

67.

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

68.

Python Retrieval:

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

a)

=

b)

!=

c)

==

d)

>=

69.

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
70.

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

71.

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?