Handout 06 Number Systems
Handout 06 Number Systems
NUMBER SYSTEMS
NUMBER SYSTEM
Characteristics
Characteristics
The maximum value of a single digit is always equal to one less than the value of
the base.
Characteristics
The maximum value of a single digit is 9 (one less than the value of the base)
Example
MATHEMATICS IN THE MODERN WORLD
by Engr. Daniel Gracias V. Esquejo
Characteristics
The maximum value of a single digit is 1 (one less than the value of the base)
Example
101012 = 2110
Bit
• Bit stands for binary digit
• A bit in computer terminology means either a 0 or a 1
• A binary number consisting of n bits is called an n-bit
Characteristics
Example
= 107110
Characteristics
The symbols A, B, C, D, E and F represent the decimal values 10, 11, 12, 13, 14
and 15
respectively
The maximum value of a single of digit is 15 (one less than the value of the
base).
Since there are only 16 digits, 4 bits (24 = 16) are sufficient to represent any
hexadecimal number in binary
Example
1AF16 = (1 x 162) + (A x 161) + (F x 160)
= 1 x 256 + 10 x 16 + 15 x 1
= 256 + 160 + 15
= 43110
Method
Step 1: Determine the column (positional) value of each digit
Step 2: Multiply the obtained column values by the digits in the corresponding
columns
Division-Remainder Method
Step 1: Divide the decimal number to be converted by the value of the new base
Step 2: Record the remainder from Step 1 as the rightmost digit (least significant digit) of
the new base number
Step 3: Divide the quotient of the previous divide by the new base
Step 4: Record the remainder from Step 3 as the next digit (to the left) of the new base
number
Note that the last remainder thus obtained will be the most
significant digit (MSD) of the new base number
Method
Step 2: Convert the decimal number so obtained to the new base number
MATHEMATICS IN THE MODERN WORLD
by Engr. Daniel Gracias V. Esquejo
Method
Method
Step 1: Convert each octal digit to a 3 digit binary
Number (the octal digits may be treated as
Decimal for this conversion)
Method
Step 1: Divide the binary digits into groups of four
starting from the right
Step 2: Combine each group of four binary digits to
one hexadecimal digit
MATHEMATICS IN THE MODERN WORLD
by Engr. Daniel Gracias V. Esquejo
Method
Step 1: Convert the decimal equivalent of each
hexadecimal digit to a 4 digit binary
number