A sequential, step-by-step set of instructions designed to perform a specific task
What is an algorithm?
Python data type that represents whole numbers
What is an integer?
The built-in function used to prompt the user for input in a Python program
What is input()?
What are True and False?
The window in the Thonny IDE where you see the actual text outputs produced by your code
What is the shell window?
a computational thinking process involves breaking down a large, complex problem into smaller, easier-to-manage pieces
What is decomposition?
The symbol placed at the beginning of a line of code to create a comment that Python will ignore when running
What is a hashtag #?
The data type input() always returns by default
What is a string?
The comparison operator used to check if two values are equat to each other
What is ==?
The statement that must be added to the top of your code before you can use any functions from Python's random library
What is import random?
the plain-English, human-readable outline used to plan code logic before writing actual computer code
What is pseudocode?
The built-in Python function that allows you to inspect and identify the data type of any variable
What is type()?
the process of converting data from one data type to another called
What is type casting?
This keyword is use to check additional conditions sequentially if the initial if statement evaluates to False
What is elif?
What is random.randint(1,10)?
Term that describes the essential programming process of finding and fixing errors in your code
What is debugging?
The arithmetic operator used to calculate the remainder of a division problem?
What is the modulus operator %?
Use your whiteboard to correct the error:
error int("7.1")
What is int(float("7.1"))
The punction marked that must be placed at the end of an if, elif, or else line to begin a code block
What is a colon?
The error if a user is trying to roll a 6-sided die, but the program occasionally prints 0 and never prints 6
roll = random.randint(0,5)
print = ("You rolled:", roll)
What is random.randint(0,6)?
An algorithm focuses purely on step-by-step logic, while a program is written in a specific programming language and strictly follows that language's syntax rules
What is the main difference between a computer program and an algorithm?
The symbol used to designate a variable
What is a equal sign?
The process of joining or combining two or more strings together
What is concatenation?
How Python determines which lines of code belong inside an if block scope versus outside of it
What is an indent?
Double Jeopardy
The year Python was first released?
What is 1991?