11.9. GlossaryΒΆ
- deterministic:
A program that does the same thing every time it is run.
- pseudorandom:
A sequence of numbers that appear to be random, but which are actually the product of a deterministic computation.
- seed:
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.
- histogram:
A vector of integers where each integer counts the number of values that fall into a certain range.
-
Q-1: Match the vocabulary word with its definition.
Try again!
- constructor
- A special function that creates a new object and initializes its instance variables.
- pseudorandom
- A sequence of numbers that appear to be random, but which are actually the product of a deterministic computation.
- seed
- A value used to initialize a random number sequence.
- deterministic
- A program that does the same thing every time it is run.
- bottom-up design
- A method of program development that starts by writing small, useful functions and then assembling them into larger solutions.
- histogram
- A vector of integers where each integer counts the number of values that fall into a certain range.
You have attempted of activities on this page