Python Flashcards
Auto-Indentation
where the editor automatically indents lines that need to be indented, such as those ending in colons
Break
a command within a loop that gets the loop to stop
Camel Case
a way of writing variables in Python
Lower Camel Case
a command within a loop that gets the loop to stop
Snake Case
looks_like_this_with_underscores
Upper Camel Case
LooksLikeThisWithEveryLetterCapitalised
Casting
converting to a particular data type
CSV Files
Comma Separated Values Files
these are files that can easily be structured into tables, where data is arranged in several records, or rows, with values separated by commas
Dictionary
a collection which is ordered, changeable and does not allow duplicates
DIV
integer division or quotient, which returns the whole number part after the division
Docstring
describes a module, function, class or method
Editor Window
part of an IDE and IDLE used for typing in, editing and saving your code
Errors
problems in a program
Linking Error
an error that occurs when the program calls a library that has not been linked to the program
Logic Error
when the code runs, but does not do what you want it to
Rounding Error
when a number is rounded, for example 4.5 is rounded to 5.0, creating a rounding error of +0.5
Runtime/Execution Error
an error that occurs when the program requests more memory than is available, causing the program to crash whilst it is running
Syntax Error
an error that occurs when a program does not follow the expected syntax of the code, eg there is a typo
Truncation Error
when a number is truncated, for example 3.7 is truncated to 3.0, creating a truncation error of – 0.7
Exponentiation
raising to a power in Python
Guido van Rossum
the man who invented Python in 1991, naming it after Monty Python’s Flying Circus
Indent
gap at the start of a line of code