Octal to binary

Chazm

New member
Joined
Oct 21, 2009
Messages
2
I am doing an assignment that is dealing with conversions. I've got it pretty well down now but I am doing a problem that requires converting octal to binary. If anyone could show me an example i would appreciate it. My overall goal is to convert Octal- 77777 into decimal. Thank you!'
 
if you are going to decimal just expand the octal:
7 x 8^4 + 7 x 8^3 +7 x 8^2 + 7 x 8^1 +7 x 8^0

another way is to find 100000-(base8) and subtract 1

As for binary, 7-(base8) = 111-(base2). So five 7s in base8 would be five groups of 111s in base2.
77777-base8 = 111,111,111,111,111-base2
 
Chazm said:
I am doing an assignment that is dealing with conversions. I've got it pretty well down now but I am doing a problem that requires converting octal to binary. If anyone could show me an example i would appreciate it. My overall goal is to convert Octal- 77777 into decimal. Thank you!'


Each "octal" digit converts to three binary digits (the octal digits 0-7 convert to three-bit binary digits)

For example, convert 526(octal) to binary.

5 is 101 binary
2 is 010 binary
6 is 110 binary

so,

526 octal is 101 010 110 binary

Try that on your octal number.
 
Top