Variables & Assignments Flashcards
declares a new variable, specifying the variable’s name and type
variable declaration
assigns the variable on the left-side of the = with the current value of the right-side expression
assignment statement
a combination of items, like variables, literals, operators, and parentheses, that evaluates to a value.
expression
A name created by a programmer for an item like a variable or function
identifier
the process of writing and testing a small amount of code, then writing and testing a small amount more
Incremental development
a list of statements executed by invoking the function’s name, with such invoking known as a function call
function
a conversion of one data type to another, such as an integer to a float
type conversion
a named value item that holds a value that cannot change
constant
a whole number value
integer
a floating-point number, which is a real number like 98.6
float
a single letter
character
a sequence of characters like ‘Hello’
string
a quantity that has only two possible values, true or false
boolean
an ordered list of items of a given data type
array