Misc
Variables
Data Types
Functions
Collection Data Structures
100

The file extension for Python files

What is .py?

100

Containers for storing data values

What are variables?

100

The process of specify a data type in Python

What is Casting?

100

Represent one of two values: True or False

What are Booleans?

100

The four collection data types in the Python programming language

What are Lists, Tuples, Sets, Dictionaries?

200

A series of steps to solve a problem at hand

What is an algorithm?

200

Variable names must begin with these two types of characters

What are Letters or underscores?

200

x = int(20.9)

print(x)

Prints this value

What is 20?

200

The process of combining one or more strings together in Python

What is concatenation?

200

Dictionaries store data values according to this association

What are key:value pairs?

300

An open source web application used to create and share documents that contain live code, equations, visualizations, and text

What is Jupyter Notebook?

300
The word "and" is an example of one these 33 words in Python

What are reserved words?

300

Specifies multi-line strings in Python

What are triple double/single quotes?

300

first_list = ['cat', 0, 6.7]

new_list = first_list.copy()
print('Copied List:', new_list)

Returns this value when running the program

What is "Copied List: ['cat', 0, 6.7]"?

300

cars = ['Ford', 'BMW', 'Volvo']
cars.sort(reverse=True)
print(cars)

Returns this value after running the program?

What is ['Volvo', 'BMW', 'Ford']?

400

Python is this type of programming language

What is an interpreted language/high-level language/object oriented programming language?

400

j = "awesome"

def myfunc():

    j = "fantastic"

print("Python is ", j)

Returns this sentence

What is "Python is awesome"?

400

myOrder = "I want {} pieces of item {} for {} dollars."
print(myOrder.____(quantity, itemNo, price))


Requires this command keyword

What is "format"?

400

x = 7//3

print(x)

Returns this value upon running the program

What is 2?

400

# loose items from a set

thisSet = {"apple", "banana", "cherry", "pawpaw", "orange"}

thisSet.pop(2)

print(thisSet)

Returns this value upon running the program

What is "Traceback Error?"
500

In debugging, the type of error committed when the instructions given do not accomplish the intended goal

What is a logical error?

500

j = "awesome"

def myfunc2():

    j = "fantastic"

    k = "amazing"

print("Python is ", j)

print("Savvy Coders is ", k)

Returns this when run

What is:

Python is awesome

TRACKBACK ERROR


500

x = "Savvy Coders"

print(x[1:10:2])


Returns this value when run

What is "av oe"?

500

print((7//3)!=(8%6)

Returns this value upon running the program

What is "False"?

500

firstList = ["apple", "banana", "cherry"]

secondList = ["mango", "pineapple", "papaya"]

firstList.extend(secondList)

firstList.pop(-1)

secondList.append("watermelon")

print(firstList)

Returns this value when running the program

What is ['apple', 'banana', 'cherry', 'mango', 'pineapple']?