Computer Science is the study of…
Computers and computational systems
A syntax bug happens when…
There’s a spelling/symbol mistake in the code
What is the decimal value of the binary number 1010?
10
What is the purpose of a return statement?
To send a value back from the function
An IP address is used to:
Identify devices on a network
What is an algorithm?
A set of rules or steps for solving a problem
What does the input() function do in Python?
Asks the user to type something in
What is Artificial Intelligence (AI)?
The simulation of human intelligence by machines
A nested function is:
A function inside another function
Give one example of PII?
Social Security Number
Why is it helpful to break big problems into smaller steps?
Makes problems easier to solve and ensures nothing is missed
Which keyword is used to define a function in Python?
def
A character in computer science is:
Any letter, number, or symbol
Debugging means:
Fixing problems in code
Cybersecurity means:
Protecting data and devices from attack
The first computers were mostly used for what purpose?
Complex calculations and code breaking
A logic bug happens when…
Code runs but gives the wrong result
Data humans sense in the real world, like sound or temperature, is called:
Analog data
Which keyword starts a function in Python?
def
What does phishing try to do?
Trick users into giving away info
A main goal of computer science is to design:
Solutions that help solve problems or perform tasks
In Python, what does the print() function do?
Displays output
What does the assignment operator (=) do in Python?
Assigns a value to a variable
Hacking done with permission to test security is called:
White-hat hacking