Octal - Binary
Each octal digit can be represented by three binary digits as shown by the table below.
Octal | Binary |
0 | 000 |
1 | 001 |
2 | 010 |
3 | 011 |
4 | 100 |
5 | 101 |
6 | 110 |
7 | 111 |
Ø To convent octal to binary, each octal digit should be replaced by a 3 bit binary equivalent.
Ø To convent binary to octal, group of three bits should be formed starting form the decimal point in both directions and replace each by the equivalent octal digit
Example 01:
256.488 – Binary
2 5 6 4 7
010 101 110 100 111
256.478 = 01010110.1001112
Example 02:
11010011011.110012
011 010 011 011. 110 010
3 2 3 3. 6 2
No comments:
Post a Comment