click below
click below
Normal Size Small Size show me how
The Role of Variable
| Term | Definition |
|---|---|
| Fixed Value | A variable that is given a value that then does no change for a duration of a loop |
| Stepper | A variable used to move through an array or other data structure, often heading towards a fixed value and stepping through elements in an array |
| Most Recent Holder | A variable used to record the last thing inserted by a user or a the latest value being read from an array |
| Gatherer | A variable that accumulates or tallies up set of data and inputs. It is very useful for calculating totals or totals that will be used to calculate averages |
| Most Wanted Holder | A variable that keeps track of the lowest or highest value in a set of inputs |
| Follower | Used to keep check of a previous value of a variable, so that a new value can be compared |
| Temporary | A variable used for storing something for a very short period of time |
| Transformation | Used to store the result of a calculation involving more than one variable |
| Organiser | A data structure which is only used for rearranging its elements after initialisation |
| One-Way Flag | A two-valued data entity that cannot get its initial value once its value has been changed |
| Container | A data structure where elements can be added and removed |
| Walker | A data entity that traverse a data structure |