easter week Flashcards
algorithm
procedure for solving a problem that specifies the actions to be executed and the order they should take place
pseudocode
an informal language similar to English used to describe algorithms
quotient
integer part of the result of dividing two ints
remainder
the left over of dividing two ints
value
one of the basic units of data that a program manipulates
variable
a name that refers to a value
type
a category of value
operator precident
() -> ** -> *, /, %, // -> +, -, if operators at equal level of precedent work left to right
function definition
a statment that creates a new function, giving its name, parameters and the statements it executes
header
first line of a function, gives name and parameters
body
sequence of statments to be executed
argument
value provided in function call, assigned to the corresponding parameter
parameter
a variable used inside a function only set by an argument value
return variable
the result of a variable, if function call used as expression this becomes the value of the expression
program control structures
for and while loop + if statments