Term
What is an object as it relates to its identity? |
|
Definition
An object has an identity that never changes such a string type and a value that may change if the object's type is mutable. |
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
What is a literal string? |
|
Definition
Something that is delimited by single quotations such as ('Cactus') |
|
|
Term
A function is a group of statements that can be organized into a ____ unit |
|
Definition
|
|
Term
A function call executes what? |
|
Definition
The group of statements that are organized by the function. |
|
|
Term
|
Definition
It has a name followed by parantheses. |
|
|
Term
Give two examples of function calls. |
|
Definition
|
|
Term
What do expression statements do? |
|
Definition
An expression statement such as print() can call a function that does not compute a useful result. |
|
|
Term
How do you find an argument? |
|
Definition
They are enclosed in parantheses after the function name print('cactus') |
|
|
Term
The print built in function shows what kinds of arguments? |
|
Definition
String arguments, and they are printed on the display followed by a new line. |
|
|
Term
|
Definition
It displays its argument as a prompt string on the screen, and it reads a line of input, and it returns the input as a string object. |
|
|
Term
What does a name refer to? |
|
Definition
|
|
Term
What is an assignment statement? |
|
Definition
A variable binds to the object that is returned from the function call, so that it can be used later. |
|
|
Term
|
Definition
After a variable is bound to an object, it can be dereferenced to obtain the object(perhaps what the user typed). |
|
|
Term
|
Definition
It is an operator that can be used to concatenate two string operands together to create a new string. |
|
|
Term
Give an example of an assignment statement. |
|
Definition
|
|
Term
Give an example of kinds of names. |
|
Definition
function --> print, function --> input, or a variable such as myName = |
|
|