Google Search

Thursday, June 2, 2016

Octal Number System (Base 8)

A commonly used positional system is the Octal System. The octal system has a base of 8. The values increase from left to right as 1, 8, 64, 512, 4096, …. The decimal value of an octal number 1234 can be computed as :
= (1 * 512) + (2 * 64) + (3 * 8) + (4 * 1)
= 512 + 128 + 24 + 4
= 668  

To convert a number from binary to octal and vice-versa, the following table must be kept in mind :

Binary Octal
000      0
001      1
010      2
011      3
100      4
101      5
110      6
111      7 

No comments:

Post a Comment