Python
Thinking like a Programmer
Cyber-security
AI/ML
Misc.
100

What symbol defines a variable in Python?

Equals sign

100

What programming concept allows a computer to repeat actions multiple times?

A loop

100

What is the purpose of a password?

To protect an account or information

100

What is the most popular LLM?

ChatGPT

100

An AI is trained to recognize cats. During testing, it correctly identifies 950 out of 1,000 images. What is its accuracy?

95%

200

What will this code print>

x=10

print(x)

10

200

What will this code print?

for i in range(3):

     print(i)

0

1

2

200

What cyberattack tricks people into revealing information through fake messages and websites?

Phishing

200

What is machine learning based on?

Data

200

How would you represent the number 3 in binary?

11

300

What will this code print?

x=[1,2,3]

print(len(x))

3

300

What statement lets a program choose between different actions?

An if statement

300

Which password is stronger: Soccer123456! or T7!mQ2#vL9?

T7!mQ2#vL9

300

If an AI is shown pictures of cats and dogs, what is it learning to recognize?

To distinguish between cats and dogs
300
A URL begins with https://. What does the "s" stand for?

Secure

400

What will this code print?

x="3"

y="4"

print(float(x)+float(y))

7.0

400

Who is considered the father of modern computers?

Alan Turing

400

What is MFA and how does it help security?

Multi-factor authentication: provides another form of verification past a password

400

Why is it important to test AI on data it has never seen before?

To determine whether it can generalize its knowledge to new examples instead of only being able to work on training data
400

Why is it faster to access data in RAM compared to data in an SSD.

RAM is designed for faster, temporary access.

500

What will this code print?

x=1

for i in range(3):

     for j in range(2):

           x += 1

print(x)

7

500

What is the algorithm called where to find a value the search space is repeatedly split in half?

Binary search

500

A website stores passwords in text. Why is this dangerous?

Anyone who accesses the database can read every password directly.

500

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

500

A program's running time doubles every time the input size increases by 1. What type of growth is this?

Exponential growth