Font size
Worksheets9M - retrieval
Total questions: 71
Worksheet time: 37mins
A loop that does an instruction for a certain number of times is known as:
a (a) controlled loop, or a 'for loop'.
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?
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.
What does the flowchart to the left represent?
Selection
Count Controlled Iteration
Condition Controlled Iteration
Hacking
Decomposition
spice_girls = ["Emma", "Geri", "Mel B", "Mel C", "Victoria"]
which line of code would output the word Geri if added to the program above.
print(spice_girls[1])
print(spicegirls[0])
print(Spice_girls[1])
pint(spice_girls[1])
which can hold multiple pieces of data?
a variable
a list
condition controlled iteration in python uses:
for loops
while loops
if statements
print statements
count-controlled iteration can also be referred to as
(a) loops
what is python?
a game
a coding language
a program
a browser
machine code
Create a program that it outputs "Hello World":
(a) (b) (c) (d)
What is printed by the following lines of code?
eggs
bread
2
sugar
What would be the output of this code?
laurions = ["Altius", "Citius", "Fortius", "Magnus"]
print(laurions[2])
(a)
What is the name for the data structure in python which can hold more than one item?
(a)
In an array, what is the first numbered position in which data can be stored?
Position 0
Position 1
Which of these in an advantage of a database?
Select all that apply
It’s easy to add to or amend existing records.
They're written in python.
Multiple people can access a database at the same time.
Security can be better than paper files by using a password.
They can be hacked.
I have created a database of students. 'name' is likely to be what?
A table
A field
A record
A DBMS
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 table
A field
A record
A DBMS
A database can hold more than 1 Million pieces of data?
True
False
Which of these is an appropriate name for a list containing:
Apples, Oranges, Pears, Bananas
Fruit
fruit
x
list1
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?
Count-controlled iteration in python uses:
for loops
while loops
if statements
print statements
Create a statement which adds "Citius" to a list called laurions:
(a) (b) (c) (d) "Citius" (e)
Humans using methods trick or manipulate other humans into handing over information is known as (a) .
Select the attack that requires a lot of processing power in order to flood a device, service or network with requests.
Select the attacks that exploit humans in order to gain access to a system (and require little to no coding knowledge).
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) .
(a) are rarely motivated by theft, but are more interested in creating disruption to cause public embarrassment or to promote a cause.
Which of the following statements best describes a "worm"?
Self replicates and encrypts files to make them inaccessible
Self replicates, does not attach to files, but is designed to take up system resources to slow down the network or computer
Attaches to files and is designed to take up system resources to slow down the network or computer. Does not self replicate.
Malicious software that monitors every keystroke the user makes
Which of the following are the signs of a virus attack?
The computer runs slower than normal.
There is a change in file size.
The computer restarts on its own.
You receive a suspicious email.
Organising Data Retrieval Question:
What type of data can a Binary Search be performed on?
Ordered
Unordered
Both
Neither
Organising Data Retrieval:
What is the 3 letter acronym used for the language that searches and amends databases?
(clue: S-- )
(a)
If you receive an email with a suspicious link, it is likely what type of attack?
Python Retrieval:
Which of the following symbols is used in Python for variable assignment
=
!=
==
>=
(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.
Cyber Security In 2022:
2% of breaches featured (a) , 28% involved malware, and 32–33% included (b) .
Select all the types of malware
Worms
Trojans
Ransomware
Virus
Blagging
Match the cyber attacks with the best defense against them.
Brute Force Attacks
Two factor authentication
Viruses
Anti-Malware software
Phishing
Educating employees
Denial of Service attack
Firewall
Match the cyber attacks with the best defense against them.
Brute Force Attacks
Two factor authentication
Viruses
Anti-Malware software
Phishing
Educating employees
Denial of Service attack
Firewall
Computers use ___________: strings of 0s and 1s to stand for letters, sounds, and all of the other data they handle.
binary code
algorithms
electronic devices
transistors
electric current
Why do computer process data in binary form?
Because it is easier for human beings to understand
Because computers contain circuits with switches which have two states (on and off)
Because computers contain circuits with switches which have multiple states
Because data in decimal form is processed more slowly
Q16. What is name of the chart pictured below? (1 mark)
Graph chart
Pie chart
Line chart
Bar chart
Q3. Is the following a visualisation or an infographic?
A. Visualisation
B. Infographic
Q1. Which of the following is the most accurate definition of data science?
a) Data science is extracting meaning from large data sets in order to provide insights to support decision-making
b) Data science is using computers to analyse data and to perform calculations on the data to produce information
c) Data science is performing experiments and recording the data produced by those experiments
d) Data science is writing code to make sure that any inaccuracies in data sets are spotted and removed (cleaned)
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 list
A variable
A function
What is the maximum amount of items you can store in a variable?
0
1
2
3
What number system do computers use?
ASCII
Denary
Binary
Decimal
What are the number choices in binary?
0 and 1
0, 1 and 2
0 to 2
0 to 9
Computers use electrical signals that are on or (a) so they have to see everything as a series of (b) numbers.
(a) data that we want a computer to process needs to be converted into binary format.
In Binary, the number (a) represents a transistor being ON and the number (b) represents a transistor being OFF.
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.
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).
False
True
What type of number could 10 be?
Binary
Denary
Neither
Both
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.
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).
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.
Select the attack that requires a lot of processing power in order to flood a device, service or network with requests.
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) .
Organising Data Retrieval Question:
What type of data can a Binary Search be performed on?
Ordered
Unordered
Both
Neither
Organising Data Retrieval:
What is the 3 letter acronym used for the language that searches and amends databases?
(clue: S-- )
(a)
Python Retrieval:
A loop that repeats steps a certain number of times is called a (a) controlled loop.
Python Retrieval:
Create a program that it outputs "Hello World":
(a) (b) (c) (d)
If you receive an email with a suspicious link, it is likely what type of attack?
Python Retrieval:
In programming, what is iteration?
The repetition of steps within a program
The order in which instructions are carried out
A decision point in a program
Testing a program to make sure it works
Python Retrieval:
Which of the following symbols is used in Python for variable assignment
=
!=
==
>=
Cyber Security In 2022:
2% of breaches featured (a) , 28% involved malware, and 32–33% included (b) .
Match the cyber attacks with the best defense against them.
Brute Force Attacks
Two factor authentication
Viruses
Anti-Malware software
Phishing
Educating employees
Denial of Service attack
Firewall
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?
