exam Flashcards
1
Q
name type equivalence
A
names match
2
Q
structure type equivalence
A
structs are composed of identically typed items
3
Q
referential transparency
A
if any two expressions in the program that have the same value can be substituted for one another anywhere in the program, without affecting the action of the program
4
Q
PARAMETER PROFILE/ SIGNATURE
A
The number, o r d e r, and types of its parameters
5
Q
SUBPROGRAM HEADER/ DECLARATION
A
The first part of the definition, including the name, the kind of subprogram, the formal parameters, and return type
6
Q
SUB PROGRAM PROTOCOL
A
parameter profile + return type if it has it
7
Q
procedure vs function
A
function return answer procedure mutate