stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Year 8 Cyber Challenge Quiz Flashcards | StudBud
Explore
/
Year 8 Cyber Challenge Quiz
Year 8 Cyber Challenge Quiz
20 terms
ยท
StudBud Administration
ยท
96 plays
Imported from external platform
Flashcards
20 cards
F
Practice quiz
P
Host live
L
Questions
20
Answers
1
How many cyberattacks does the UK face each day (approx)?
60,000
6,000
1,000
10,000
2
What does this line of code do?: print("Hello, world!")
Creates a variable
Sends a message
Prints Hello, world!
Runs a game
3
When you call input("Your age? "), what type of data do you always get back?
bool (True/False)
int (number)
float (decimal)
str (text)
4
What is the binary of 5?
101
111
110
100
5
What is the result of this code?
print(5 > 3)
Error
False
5
True
6
What is the output? x=input('Name? ') print(x)
It prints whatever the user types
It prints 'Name?'
It prints x
It gives and error
7
Who is Kevin Mitnick?
A Minecraft creator
A famous hacker
A cybersecurity teacher
A TikToker
8
Which input stores a decimal number?
int
str
float
bool
9
What will this code output?: print(3 + 2 * 2)
10
7
8
12
10
What will this output? print(int("3") + int("4"))
7
34
Error
"7"
11
Which one is NOT a Python data type?
float
string
boolean
number
12
Which line has a syntax error?
input('Name')
print('Hi')
x = 5
Print('hello')
13
Which is a boolean value?
True
'True'
true
'true'
14
Correct the code:
print("Hello)
Both red and blue
print("Hello")
print(Hello)
print('Hello')
15
Who is considered the first computer programmer?
Ada Lovelace
Bill Gates
Alan Turing
Grace Hopper
16
What does this line do? print("๐ Python Pizza Party!")
Saves a file called Pizza Party
Sends a pizza emoji to the printer
Displays โ๐ Python Pizza Party!โ on screen
Orders pizza online
17
How do you convert that โageโ string into an integer so you can do math?
float(age)
bool(age)
str(age)
int(age)
18
Which function asks the user to type something?
print()
get()
input()
ask()
19
What does binary use?
0s and 1s
Random numbers
Letters
Emojis
20
What does 'phishing' mean?
Catching fish
Surfing the web
Trying to steal info via fake emails
Spamming friends