Send Close Add comments: (status displays here)
Got it!  This site "robinsnyder.com" uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.  Note: This appears on each machine/browser from which this site is accessed.
Counts and measures
by RS  admin@robinsnyder.com : 1024 x 640


1. Counts and measures

2. Counts and measures
Six pack of Coke
Example: 6 pack of Coke
What is the difference between a count and a measure? Give a specific example that illustrates the difference.

3. Integers
Integers are positive and negative whole numbers that can be used for counts.

Math integers:
-, ..., -2, -1, 0, 1, 2, 3, ...,

Computer integers:
-minInt, ..., -2, -1, 0, 1, 2, 3, ..., maxInt

For example, the minInt value for a signed byte is -128 while the maximum value is 128.


4. Real number approximations
Real number approximations are approximations of measures.

Approximations usually include a certain number of significant digits.
0.3333... 0.6666... 1.0000... 3.1415...


5. Baseball counts and measures
Baseball gloveWhen a baseball player gets 2 hits in 6 at bats, what is the batting average?

The number of hits, 2, and the number of at bats, 6, are counts.

The batting average is 2/6 = 0.333 = 33.3% which is a measure.

6. Football
Football FieldIs the number of yards gained by a running back or receiver in a play of American football a count or a measure?

7. American football
Yes. A measure can be converted into a count.

For example, we measure distances. Now, the playing area of an American football field is 100 yards from goal-line to goal-line. What is the record for the longest possible run from scrimmage (that is, from goal-line to goal-line)? It is not 100 yards.

And it is not 99.9 yards.

Why? Even though the distance is measured by the officials on the field, football conventions dictate that, for record purposes, each ball placement is rounded off appropriately to the nearest yard. So the longest possible run is 99 yards. And for the players who have done such a run, it is a record that cannot be broken (why?).

8. End of page

by RS  admin@robinsnyder.com : 1024 x 640