Background
- In the intro I wrote
- The programmer gets to decide (or is assigned) the
structure that is being searched.
- Now, a particular function (called search) is called, and
can access the structure.
- The function is given a parameter (the thing being searched for),
and it either returns a boolean or the record associated with
the item.
- What is a structure (or a data structure)?
- What is a function?
- What is a parameter?
- What is a return value?
- What is a boolean?
- What's the difference between the function that returns a
boolean, and the one that returns a record?
- Do you have any other questions on this level?