RANDOM ONE
RANDOM TWO
RANDOM THREE
RANDOM FOUR
RANDOM FIVE
100

to encapsulate a string, will using single quotes be the same as using double quotes?

yes, but be aware of escaping
100

what will this output? (2_100)

Hello

100

how do you determine the length of a string?
if a string is provided with length k, can you access the kth character?

len()
no

100
what are the three main types in python?

what is the difference between them all?

int, float, str

100

what is the process of converting a variable of one predefined type into another?

provide a legal and illegal example

casting

200

what are the two arguements that a print function accepts?

sep= and end=

200

what will 9/5 return?
what will 9//5 return?
types are acceptable 

1.8 (float)
1 (int)

200

What is the DRY principle and what is an advantage of utilizing it?

Don't Repeat Yourself

Avoids repetitive code

200
list all boolean operators

==

<

>

!=

<=

>=

200

after completing a step/activity, what should you always be doing?

pushing to the remote repository
300

Denoted as '%', this operator returns the remainder of a division operation.

modulus

300

List all variable types and scopes

What will be the output for each print statement?

2_300

global x, int | local x, string | global y, float

string | value x:3 | value y:3.0 | hello

300

what three three types of errors in python?

give an example of each one

semantic, syntax, runtime

300

what are the three/four commands of the typical git workflow? (in order)

git status (optional)

git add

git commit -m "..."

git push

300
what are the three phases of TDD?

Fail, Pass, Refactor

400
is the split() and strip() similar?

how do they differ?
what does the split() accept as an argument?

no
divides a string at the provided delimiter
a delimiter

400

list each command

- list all available drives

- change directory

- copy a file

- gdr

- cd

- cp

400

if you are importing a python file, that calls the main(), into a test file, what should you add at the end of the python file that you are testing?

if __name__ == "__main__":

main()

400

what the two main scopes in python?

local scope

global scope

400

what is the escape character?
using this character, how will you do the following:

tab
newline
backspace
single quotes

backslash "\"

\t
\n
\b
\'

500

When would you use each of the following: break, continue, pass

Use a break to get out of a loop. 

Use continue to get out of conditional and continue the rest of the loop.

Use pass to ignore the rest of the loop.

500
how does the coordinate system work for turtle?

Center is the origin.
Up is positive y-axis.
Right is positive x-axis.

500

what is an index?

the position of an token in an iterable sequence

string_one = "Hey"

string_one[2] == 'y'

string_one[-1] == ?

string_one[len(string_one)] == ?

500

define ranges(start, stop, k)
does ranges(5) == ranges(1,5)?

list of numbers, which start at 0 if not specified and end at stop-1. k equals the steps that the range should take.

they do not equal.

500

how do these outputs differ? (5_500)

they are the same!