Algorithms & Problem Solving
Data Types & Variables
User Input & Data Casting
Conditional Statements & Logic
Random Module
100

A sequential, step-by-step set of instructions designed to perform a specific task

What is an algorithm?

100

Python data type that represents whole numbers

What is an integer?

100

The built-in function used to prompt the user for input in a Python program

What is input()?

100
The two possible values of a Boolean data type

What are True and False?

100

The window in the Thonny IDE where you see the actual text outputs produced by your code

What is the shell window?

200

a computational thinking process involves breaking down a large, complex problem into smaller, easier-to-manage pieces

What is decomposition?

200

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 #?

200

The data type input() always returns by default

What is a string?

200

The comparison operator used to check if two values are equat to each other

What is ==?

200

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?

300

the plain-English, human-readable outline used to plan code logic before writing actual computer code

What is pseudocode?

300

The built-in Python function that allows you to inspect and identify the data type of any variable

What is type()?

300

the process of converting data from one data type to another called

What is type casting?

300

This keyword is use to check additional conditions sequentially if the initial if statement evaluates to False

What is elif?

300
Use your whiteboard:


The code to return any integer from 1 through 10, including both 1 and 10

What is random.randint(1,10)?

400

Term that describes the essential programming process of finding and fixing errors in your code

What is debugging?

400

The arithmetic operator used to calculate the remainder of a division problem?

What is the modulus operator %?

400

Use your whiteboard to correct the error:

error int("7.1")

What is int(float("7.1"))

400

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?

400

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)?

500

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?

500

The symbol used to designate a variable

What is a equal sign?

500

The process of joining or combining two or more strings together

What is concatenation?

500

How Python determines which lines of code belong inside an if block scope versus outside of it

What is an indent?

500

Double Jeopardy

The year Python was first released?

What is 1991?