What are stored in each variable?
var_one = "my" + "program"
var_two = 5 + 6
var_one = "myprogram"
var_two = 11
<html>
</html>
What does AI stand for?
Artificial Intelligence
The smallest unit of data containing internet information is called a ____________
Packet
How do you know when to "tab in" the next line of Python?
Almost always follows a colon (:)
What is the final value of result?
result = 5
result = result * 4 - 2
result = result / 2
9
What's the difference between HTML and CSS?
HTML describes the layout of the webpage, CSS describes the formatting/colors
What's the name of the famous "test" to determine the quality (or human-ness) of an AI model?
Turing Test
What does DDoS stand for?
Distributed Denial of Service
What does IoT stand for?
Internet of Things
What's the Python syntax for "greater than or equal to?"
>=
What HTML tag is used to indicate link?
<a>
What risks come with the use of AI as an assistant when writing code?
Describe an attack we learned about in class. How does it work?
Many answers!!
How many times will Python let a fork bomb call itself before killing the program?
1000
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)
What HTML tag is used to indicate a numbered list?
<ol> (for "ordered list")
What natural resources are strained by growing adoption of AI?
Many, but notably electricity and water
A network where a central router connects directly to each other computer on the network is called a ________ network.
Star
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.
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
HyperText Markup Language
The "guts" of an AI model look like this:
This connection of "nodes" to process data is called a __________ network
Neural network
Provide a definition for:
Adware
Spyware
Ransomware
Spyware: malware that tracks your information, like a keylogger
Ransomware: malware that holds your files "hostage" until a ransom is paid
Randomness does not truly exist in code. Instead of calling random-ish numbers generated in Python "random," we call them _____________
pseudorandom