A named collection of values, where all the values have the same type, and each value is identified by an index.
One of the values in a vector. The
operator selects elements of a vector.
An integer variable or value used to indicate an element of a vector.
A special function that creates a new object and initializes its instance variables.
A program that does the same thing every time it is run.
A sequence of numbers that appear to be random, but which are actually the product of a deterministic computation.
A value used to initialize a random number sequence. Using the same seed should yield the same sequence of values.
- bottom-up design:
A method of program development that starts by writing small, useful functions and then assembling them into larger solutions.
A vector of integers where each integer counts the number of values that fall into a certain range.