Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
40 Cards in this Set
- Front
- Back
function |
python code saved so you can return to it later |
|
a function does ____ |
takes arguments (parameters) as input, returns a value that has been computed |
|
string |
letters contained in quotation marks |
|
= means |
is assigned to |
|
reserved words |
defined meaning, can't be used as IDs |
|
variables |
spaces reserved in memory (can hold data) |
|
identifiers |
name given to spaces in memory |
|
python is _____ sensitive |
case |
|
data |
the "numbers" we manipulate |
|
the storage container for data is a |
variable |
|
we name our |
programs |
|
encodings are sometimes referred to as |
types (data types) |
|
numbers w/o decimals |
ints |
|
numbers w decimals |
floats |
|
collections of characters |
strings |
|
some programming languages are |
strongly typed |
|
a name has to be declared to have a ___ before any data is aassoc |
type |
|
you will name your |
functions |
|
you will name your data |
(variables) |
|
a common name youll deal w is |
file name |
|
a file is a collection of |
bytes |
|
files are typed typically w three letter |
extensions (.png, .wav, etc) |
|
python is implemented in |
c |
|
editor for entering programs |
program area |
|
area for entering commands for python to execute |
command area |
|
|
states information stored within name |
|
2 kinds of outputs |
1. return value |
|
functions |
collections of executable code w specific purpose |
|
input is called an |
argument |
|
arguments are |
passed to functions |
|
functions may have more than one |
input/argument |
|
functions can return |
value, string, calculation |
|
when functions return something we must |
store or use it |
|
when functions do something they can |
display, play, sort, etc |
|
variables |
containers for data |
|
objects |
complex data types/structures; functions required to act on that data |
|
functions inside of objects |
methods |
|
show() is contained inside of |
picture objects |
|
a class is a |
code to create objects |
|
file path is |
address of a file |