Git and the File System
Intro to Python
Files and Error Handling
Data Structures
Classes and Methods
100

This may be empty or contain some combination of subdirectories and files

What is a directory?

100

The term for using parameters to make a decision

What is a conditional?

100

Code block that allows you to handle an exception that occurs within it

What is a try/except statement?
100

Term for when the values at individual indexes in a data structure can be changed

What is mutable?

100

The process by which we make something part of a class

What is encapsulation?

200

Each file or directory in a file system is uniquely identified by this

What is the absolute path?

200

Code statement that executes code at least once if the boolean expression is True

What is a repetition statement (loop)?

200

The best code statement to open a file

What is a with-as statement?

200

Hashing data structure that can be created with a pair of empty curly braces

What is a dictionary?

200

The process of construction inside of a class

What is instantiation?
300

Where files are temporarily cached before being committed to a local repository

What is the staging area?

300

Improving your code without changing the observable behavior

What is refactoring?

300

Code that runs without crashing but doesn't provide the expected output due to an error in program logic

What is a semantic error?

300

Unorderd data structure that ignores duplicate elements

What is a set?

300

The term used to refer to all of a class' encapsulated fields

What is state?

400

Can be used within the command line to find multiple files with names that match a certain pattern

What is a wildcard?

400

The product provided by the Python interpreter

What is REPL (Read-Evaluate-Print Loop)?

400

Function that reads and returns the next line in the file

What is readline()?

400

Data structure used to hold a heterogeneous set of values that shouldn't be changed after the data structure is created

What is a tuple?

400

Special method invoked whenever the "==" operator is used to compare two values

What is __eq__?

500

Important values that affect how the programs and operating system on a computer behave

What are environment variables?

500
(5 % 3) - 1 > ((-7 + 15) / 4)**(-2)

What is True?

500

A single character that can change how the program interacts with the file when being opened

What is the mode?

500

Data structure that would be best used to hold the values for a game of Connect4 or Tic-Tac-Toe

What is a 2D array?

500
Trying to add a Python class to a set doesn't work and causes a TypeError because:

What is Python classes are not hashable by default?

M
e
n
u