variable
a reference to a value or expression that can be used repeatedly throughout the program
What is a Conditional Statement?
Conditional Statement: affect the sequential flow of control by executing different statements based on the value of a Boolean expression.
debugging
document error and how it was fixed
what are watchers main purpose?
track variable values in real time while a program runs.
Specifically, Watchers allow you to:
See the current value of a variable
Check if a variable is updating correctly
Identify logic errors (wrong math, wrong variable, wrong order)
Confirm user input is being stored properly
What system translates human-readable website names into IP addresses so computers can locate each other on the Internet?
What is DNS (Domain Name System
expression
combination of operators and values
Global vs Local variable
global is permanent, can be used anywhere in your code where as local is temporary, can be used only in the part of the code where it was created
after fixing a bug, what should you do?
Document solution
define the meaning
(x^2-9x+18)!=(6x^3-19x^2+16x-4/x-2)
the expressions are NOT equal to each other
An attacker tricks a user into giving up personal information by pretending to be a trusted source. This type of attack is called _____.
What is phishing?
boolean value
data type that is either true or false question
function vs function call
a function is a named group of programming instructions where as a function call is a command that executes the code within a function
why are local variables avoided?
declaring another variable of the same name locally will make the code confusing and cause unexpected behavior in your code
consider the following
age=16
time=8
what is time-age?
time-age=-8
latency vs bandwidth
Bandwidth is the maximum rate of data transfer across a network path (capacity), while latency is the time delay for a packet to travel from source to destination (speed). Think of bandwidth as the number of lanes on a highway (how much traffic fits) and latency as the speed limit or travel time.
using a variable that doesn't exist is an example of...
Runtime error
Difference between If statement and If else statement
More options/ scenarios for your code to consider. Makes code “smarter”
YA student wants a function to add 5 to a score, but the score never changes.

The expression score + 5; calculates a value but does not store it anywhere.
name all 3 logical operators
AND (&&), OR (||), NOT (!=)
Why is lossless compression preferred for text files?
Because no data is removed, preserving accuracy.
logic error
code follows the rules of the programming language but doesn’t do what you intend
variable scope
dictates what portions of the code can "see" or use a variable
What is the error?

They used = (assignment) instead of == or === (comparison).
name all 6 comparison operators
greater than (>), less than (<), greater than or equal to (>=), less than or equal to (<=), equal (==), not equal (!=)
Why is no single cybersecurity measure enough to fully protect data?
Because threats evolve, so layered security is needed