Python
HTML
AI and such
The internet for good and evil
Potpourri
100

What are stored in each variable?

var_one = "my" + "program"

var_two = 5 + 6

var_one = "myprogram"

var_two = 11

100
What's the syntax for closing this tag?

<html>

</html>

100

What does AI stand for?

Artificial Intelligence

100

The smallest unit of data containing internet information is called a ____________

Packet

100

How do you know when to "tab in" the next line of Python?

Almost always follows a colon (:)

200

What is the final value of result?

result = 5

result = result * 4 - 2

result = result / 2

9

200

What's the difference between HTML and CSS?

HTML describes the layout of the webpage, CSS describes the formatting/colors

200

What's the name of the famous "test" to determine the quality (or human-ness) of an AI model?

Turing Test

200

What does DDoS stand for?

Distributed Denial of Service

200

What does IoT stand for?

Internet of Things

300

What's the Python syntax for "greater than or equal to?"

>=

300

What HTML tag is used to indicate link?

<a>

300

What risks come with the use of AI as an assistant when writing code?

AI can produce buggy code, can make things more complicated than necessary, can steal and license code without your permission
300

Describe an attack we learned about in class. How does it work?

Many answers!!

300

How many times will Python let a fork bomb call itself before killing the program?

1000

400

How does a while loop know when to stop running?

Format is while(condition) - loop runs until condition is false (or while it is true)

400

What HTML tag is used to indicate a numbered list?

<ol> (for "ordered list")

400

What natural resources are strained by growing adoption of AI?

Many, but notably electricity and water

400

A network where a central router connects directly to each other computer on the network is called a ________ network.

Star

400

Make an argument in favor of stricter copyright laws.

Creators don't have people stealing their work, more competition to develop completely new technology, among others.

500

The following code fails with an error:

test_score = input("what's your test score? ")

decimal = test_score /100

print("as a decimal, your score is: " + decimal)

test_score needs to be converted into an integer! the input function by default treats things as "strings" i.e. letters, not numbers

500
What does HTML stand for?

HyperText Markup Language

500

The "guts" of an AI model look like this:

This connection of "nodes" to process data is called a __________ network

Neural network

500

Provide a definition for:

Adware

Spyware

Ransomware

Adware: malware to sell you something, like annoying pop-ups

Spyware: malware that tracks your information, like a keylogger

Ransomware: malware that holds your files "hostage" until a ransom is paid

500

Randomness does not truly exist in code. Instead of calling random-ish numbers generated in Python "random," we call them _____________

pseudorandom