What symbol defines a variable in Python?
Equals sign
What programming concept allows a computer to repeat actions multiple times?
A loop
What is the purpose of a password?
To protect an account or information
What is the most popular LLM?
ChatGPT
An AI is trained to recognize cats. During testing, it correctly identifies 950 out of 1,000 images. What is its accuracy?
95%
What will this code print>
x=10
print(x)
10
What will this code print?
for i in range(3):
print(i)
0
1
2
What cyberattack tricks people into revealing information through fake messages and websites?
Phishing
What is machine learning based on?
Data
How would you represent the number 3 in binary?
11
What will this code print?
x=[1,2,3]
print(len(x))
3
What statement lets a program choose between different actions?
An if statement
Which password is stronger: Soccer123456! or T7!mQ2#vL9?
T7!mQ2#vL9
If an AI is shown pictures of cats and dogs, what is it learning to recognize?
Secure
What will this code print?
x="3"
y="4"
print(float(x)+float(y))
7.0
Who is considered the father of modern computers?
Alan Turing
What is MFA and how does it help security?
Multi-factor authentication: provides another form of verification past a password
Why is it important to test AI on data it has never seen before?
Why is it faster to access data in RAM compared to data in an SSD.
RAM is designed for faster, temporary access.
What will this code print?
x=1
for i in range(3):
for j in range(2):
x += 1
print(x)
7
What is the algorithm called where to find a value the search space is repeatedly split in half?
Binary search
A website stores passwords in text. Why is this dangerous?
Anyone who accesses the database can read every password directly.
An AI learns that every image of a wolf in its training set contains snow. What mistake might it make?
It may learn to associate snow with wolves and misclassify snowy images
A program's running time doubles every time the input size increases by 1. What type of growth is this?
Exponential growth