Binary to Octal Conversion
To convert from an integer binary number to octal we follow the following two steps:
 First break the binary number into 3bit sections from the LSB to the MSB.
 And then convert the 3bit binary number to its octal equivalent.
Let us take an example to better understand it. If we have given any binary number say 11001011010001 to convert into Octal Number System, we shall apply above two steps on this number as follows:
3bit Section of Binary Number 
011 
001 
011 
010 
001 
Equivalent number 
3 
1 
3 
2 
1 
Thus the Octal Number, Equivalent to The Binary Number 11001011010001 is 31321.
Octal to Binary Conversion
To convert any integer octal number to its corresponding binary number we follow the following two steps:
 First convert the decimal number to its 3bit binary equivalent.
 And then combine the 3bit sections by removing the spaces.
Let us take an example. If we have any octal number integer 31321(Q) to convert into its corresponding binary number, we shall apply above two steps as follows:
Equivalent number 
3 
1 
3 
2 
1 
3bit Section of Binary Number 
011 
001 
011 
010 
001 
Thus the binary equivalent for the octal number 31321(Q) is 011 0010 1101 0001.
Sample Chapters from book DATA RECOVERY WITH AND WITHOUT PROGRAMMING by Author Tarun Tyagi 

Publishers of the Book
Number of Pages
ISBN
Price of the Book

BPB Publications, New Delhi, India
540
8176569224
$69.00 (Including Shipping Charges, Cost of Book and Other expenses, Free Source Code CD included with the Book)



