Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
NUMBERING SYSTEM
Consists of binary number, decimal, octal and
hexadecimal.
For binary number (base 2) it only consist of 1
and 0.
Decimal consist of (base 10) 0-9
Octal (0-7) base 8
Hexadecimal (base 16) consist of number 0-F
BINARY CONVERSION
BINARY-DECIMAL
Any binary number can be converted into its
equivalent decimal number using the weights
assigned to each bit position. Since only two digits are
used, the weights are powers of 2. these weights
are20 (Units), 21 (twos), 22 (fours)23 (eights) and 24
(sixteen).
If longer binary number involved, the
weights continue in ascending powers of 2.
The decimal equivalent of a binary number equals the
sum of all binary number equal the sum of all binary
digits multiplied by their weights.
Example 1
Find the decimal equivalent of binary number
111112
Solution:
The equivalent decimal number is,
= 1 x 2 4 + 1 x 23 + 1 x 2 2 + 1 x 21 + 1 x 20
= 16 + 8 + 4 + 2 + 1
= ( 31 )10
Example 2
Determine the decimal numbers represented
b) 1001 . 0101
DECIMAL-BINARY
Any decimal number can be converted into
Example 1
How to convert decimal 13 to its binary equivalent.
Solution:
Example 2
Convert decimal 23 to binary.
Solution:
Example 3
Convert ( 0.65625)10 to an equivalent base 2 number.
Solution:
Exercise:
Express the following decimal numbers in the
binary form.
a)25.5 b) 10.625
BINARY TO OCTAL
Example 1
Convert 0011001102 to its octal equivalent.
Example 2
OCTAL TO BINARY
Example 1
Convert 7368 into an equivalent binary
number.
Solution:
7
1
1
1
Therefore 7368 =
1110111102
3
01
1
6
110
HEXADECIMAL TO BINARY
Example 1
Convert 2 F 9 A
16
BINARY TO HEXADECIMAL
Example 1
Convert the following binary numbers to their
OCTAL CONVERSION
The number system with base ( or redixy) eight
OCTAL TO DECIMAL
Example 1
Exercise
a)
HEXADECIMAL
CONVERSION
HEXADECIMAL TO DECIMAL
DECIMAL TO HEXADECIMAL
Example 1
Convert the following decimal number into
hexadecimal number.
Example 2