Skip to main content

Section 15.14 Vocabulary

structure:
A collection of data grouped together and treated as a single object.
enumeration:
To list things one by one. In programming it means assigning numbers to a list of symbols and treating those symbols as a new data type.
instance:
An example from a category. My cat is an instance of the category β€œfeline things.” Every struct variable is an instance of its type.
member (or instance) variable:
One of the named pieces of data that make up a structure.
pure function:
A function whose result depends only on its parameters, and that has so effects other than returning a value.
modifier:
A function that changes one or more of the objects it receives as parameters, and usually returns void.
You have attempted of activities on this page.