exam Flashcards

1
Q

name type equivalence

A

names match

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

structure type equivalence

A

structs are composed of identically typed items

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

PARAMETER PROFILE/ SIGNATURE

A

The number, o r d e r, and types of its parameters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

SUB PROGRAM PROTOCOL

A

parameter profile + return type if it has it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

procedure vs function

A

function return answer procedure mutate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly