What are stored in each variable?
var_one = "my" + "program"
var_two = 5 + 6
var_one = "myprogram"
var_two = 11
<html>
</html>
What does DDoS stand for, and how does it disable a server?
Distributed Denial of Service; floods a server with more traffic than it can handle
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 = 100
result = result / 4 + 5
result = result * 2
What's the difference between HTML and CSS?
HTML describes the layout of the webpage, CSS describes the formatting/colors
What's a Trojan?
Software that disguises itself as something helpful, but is secretly dangerous to a computer.
What does IoT stand for?
Internet of Things
In Python, what's the difference between = and ==?
= assigns value to a variable
== checks two variables for equality
What HTML tag is used to indicate a link?
<a>
Ransomware works by _______________ a user's files and demanding payment to unlock them.
If a CSS file says:
body {
background-color: white;
background-color: red;
}
What color will the background be?
Red
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 bullet list?
<ul> (for "unordered list")
How is a computer virus different from a worm?
Viruses need a host (an infected file) to spread; worms spread on their own (through email or other messaging, usually)
Other than HTML and CSS, there are two other common languages used for web development. Name one of them.
Javascript and PHP
The following code fails with an error:
input("what's your test score? ")
decimal = int(test_score) /100
print("Your score is: " + decimal)
the variable test_score is used but never saved as the result of the input statement!
HyperText Markup Language
Make an argument that Securly/GoGuardian is spyware.
They aren't necessarily malware (depending on who you ask) but they do track, log, and monitor all student activity without explicit permission
Randomness does not truly exist in code. Instead of calling random-ish numbers generated in Python "random," we call them _____________
pseudorandom