A set of instructions that tells the computer what to do.
What is a program?
A box that holds information, like a number or a word.
What is a variable?
A reusable block of code that does a specific job.
What is a function?
Code that repeats over and over.
What is a loop?
Code that makes decisions; runs only if something is true. Ex) If statement
What is a conditional?
A mistake or problem in a program that makes it do something wrong.
What is a bug?
Text data, written in quotes.
What is a string?
The information you give to a function, so it knows what to do.
What is an argument?
One single run of a loop.
What is an iteration?
Checks if something is true and runs code if it is.
What is an if statement?
Finding and fixing mistakes in your code.
What is debugging?
A whole number
What is an integer?
A function that asks the user to type something.
What is input()?
Repeats code a set number of times or through a list of items.
What is a for loop?
A test that is either True or False. It tells the program what to do next.
What is a condition?
A text box where you can type commands and see the computer’s responses.
What is a terminal?
A number with a decimal.
What is a float?
A function that shows text or numbers on the screen.
What is print()?
Keeps repeating as long as a certain condition is true.
What is a while loop?
Data given to the computer by the user.
What is input?
The rules for how code must be written so the computer understands it.
What is syntax?
A value that can only be true or false
What is a boolean?
Notes in your code (after a #) that the computer ignores. It is used to explain what the code does.
What is a comment?
Tells a loop where to start, stop, and how much to count by.
What is range(start, end, step)?
Data shown from the computer to the user.
What is output?