Difference between revisions of "Types of Number"
(→Revision) |
(→Revision) |
||
Line 43: | Line 43: | ||
|| Integers are positive or negative | || Integers are positive or negative | ||
− | + | { | |
+ | |type="{}"} | ||
+ | The denary number 31 can be represented in unsigned 8 bit binary as: | ||
+ | {00011111} | ||
+ | || 31 divided by 2 = 15 r 1 | ||
+ | || 15 divided by 2 = 7 r 1 | ||
+ | || 7 divided by 2 = 3 r 1 | ||
+ | || 3 divided by 2 = 1 r 1 | ||
+ | || 1 divided by 2 = 0 r 1 | ||
+ | || | ||
+ | || Now read the remainders from the bottom up to get 11111 | ||
+ | || add the extra bits needed to make it upto 8 bits | ||
</quiz> | </quiz> |
Revision as of 10:13, 19 September 2017
Contents
Natural Numbers
A positive whole number including zero. Represented as N = (0,1,2,3,4 ....)
Integer Numbers
Any positive or negative whole number including zero. Represented as Z = (...,-2,-1,0,1,2,...)
Rational Numbers
A number that can be expressed as a fraction or ratio. Represented as Q
Irrational Numbers
A number that cannot be represented as a fraction or ratio, the decimal form will contain infinite repeating values.
Real Numbers
Any positive or negative number with or without a fractional part.
Ordinal Numbers
A number used to identify the relative position of one number to another.
Cardinal Numbers
A number used to identify the size of something.