Algorithms
Syntax & Interpretation
Loops & Containers
File Parsing
Terms
100

A method to solve problems through repetition of a consistent set of steps.

What is an Algorithm?

100

The final value of x after these operations:
x = 3
y = 9
y = y + x
x = y / x
x = x**2

What is 16?

100
A form of loop that functions by iterating through an iterable object or container.

What is a for loop?

100

A type of file formatted to be delimited by a series of commas.

What is CSV(Comma Separated Values)?

100

The name for the result of any series of operations that results in only two possible outcomes; often denoted with True or False.

What is a Boolean Expression?

200

An algorithm that continually adds to a value or container.

What is an Accumulator Pattern?

200

The value of y after completion of the loop.
x = 7
y = 0
while y < x:
      y += 2
      x -= 1

What is 6?

200

A form of loop that continues or terminates based on a Boolean expression.

What is a while loop?

200

A mode that when applied when opening a file, allows one to add information to the end of the file.

What is Append('a' in open() calls)?

200

The term for a defined placeholder for a variable to be passed in when calling a function.

What is a Parameter?

300

An algorithm that tends a set of points toward the centers of a greater set of points and determines subsets of the greater set of points.

What is k-means Cluster?

300

The value printed to shell from the following code:

x = [ 'B', 25, [ 'a', 'e', 'i', 'o', 'u']]
print( x[0] + (3 * x[2][3]))

What is Booo?

300

An indexable container which holds all its elements in order, but cannot change in size or otherwise be modified.

What is a tuple?

300

A module with a large set of mathematics and data tools that has a sub-module with tools for making plots of data.

What is matplotlib?

300

The ability to modify an object without needing to reassign or recreate it.

What is Mutable?

400

An algorithm that allows one to turn a piece of information into another for security purposes.

What is Encryption?

400

The return of the following code:
x = [(2 - i) for i in range(5)]
print(sum(x))

What is 0?

400

An unordered container that is syntactically defined with '{}' and stores elements in pairs.

What is a dictionary?

400

A line of code that allows for the usage of a file's data without the need to explicitly close the file after use.

What is with open()?

400

A function that specifically is called on an object of some sort, noted by the '.' that follows the object it is being called on.

What is a Method? 

500

The process of having a function call itself until it reaches a base case where it stops and returns.

What is Recursion?

500

The output of the following code:
import re
txt = "The the ailed snail sailed."
x = re.findall("\sai", txt)
print(x)

What is a [' ai']?

500

The generic term for the process of filling a container by a loop process.

What is Comprehension?

500

A method that allows one to add information represented as a string to the current place in an open file.

What is .write()?

500

A separate file of code that can be added in to the current file in order to use its functions.

What is a Module?

M
e
n
u