CodesandTutorials
Home   Programming   Hardware   Networking
 
Next generation website theme is here (black, neon and white color) - Reduces eye strain and headache problems.  

Hardware Categories

Octal Number System

« Previous Point - Binary Number System Next Point - Decimal Number System »

Represents 8 types of digits from 0 to 7, so the base of number system is 8. It takes exactly three binary digits to represent an octal digit. Similar to binary number system, it is also positional system and has two parts i.e. integer and fractional part separated by radix point (.).

Octal to all conversion

Octal to Binary conversion

Steps :

  • Replace each octal digit by its 3-bit equivalent binary.

Example:

(2351.23)8 = ( 010 011 101 001 . 010 011 )2 = (010011101001.010011)2

Octal to Decimal conversion

Steps:

  • Multiply each bit by 8n, where n is the weight of the bit.
  • Weight is calculated by the position of bit, starting from 0 on the right.
  • Add the results.

Example:

Octal to Hexadecimal conversion

Steps:

  • Replace each octal digit by its 3-bit equivalent binary.
  • Group four bits starting from right for integer part and left for fractional part.
  • Convert to hexadecimal digits.

Example:


« Previous Point - Binary Number System Next Point - Decimal Number System »


Tip Box

As it was difficult to handle binary number system, it gave rise to two more number system i.e octal and hexadecimal.


Advertisement

   

 


Terms of Use | Privacy Policy | Contact Us
CodesandTutorials © 2014 All Rights Reserved