Final 4 Flashcards
Trivia: A clip from what TV show where they played what game as a reference to how Python handles the changing of complex pointers and subpointers
Ellen playing Jenga
Trivia: Song related to sub-pointers being changed while leaving the pointer to the whole thing intact
“Another Part of Me” - Michael Jackson
Trivia: Song used in reference to fictional FSU student Suzie
CCR - “Suzie Q”
Trivia: What was used to demonstrate the concept of parallel lists?
The Soul Train Line Dance
Trivia: TV show referenced when discussing “string theory”
Big Bang Theory
Trivia: Reference made as to what the professor thinks about other programming languages not having the Split function
Moon Zappa - “Valley Girl”
(Grody to the max, I’m sure)
Trivia: Another song referencing the split command
Beatles - “All together now”
What are libraries called in python?
Modules
P.S. - The “standard library” uses the word library, but is considered a module. It’s the module that comes with Python automatically when you install the language.
When calling a function, what can you pass in the call?
Function Names and Variable Names
Trivia: Reference to the feeling when searching and finding libraries on the web becomes opened as an option
“We’ve Only Just Begun” - The Carpenters
Trivia: Song used for variables surrounded by __ (i.e. __variable__) to represent that they were not created by you and should not be changed
“Can’t Touch This” - MC Hammer
What is the Python convention for module variables that are private/should not be changed?
Start the variable name with two underscores. (__variable)
Trivia: TV Show used in reference to the concept of files
The Rockford Files
Why would you want a program to bomb sometimes?
To get the python stack trace in order to figure out what problems might be occurring in the code
Trivia: TV show reference about robustness
Gilligan’s Island
Trivia: Code bombing TV reference
Batman