Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 06-20-2004, 12:07 AM   #1 (permalink)
 
Junior Techie

Join Date: May 2004

Posts: 72

..>Lost<..

Default Binary

How would i turn 63 into binary????
..>Lost<.. is offline  
Old 06-20-2004, 12:49 AM   #2 (permalink)
 
Monster Techie

Join Date: Jul 2003

Posts: 1,179

Emily is on a distinguished road

Send a message via AIM to Emily
Default

Er... 111111: 1+2+4+8+16+32=63
__________________
<a href=\"http://www.upstark.com\">www.upstark.com</a>
Emily is offline  
Old 06-20-2004, 02:47 AM   #3 (permalink)
 
Ultra Techie

Join Date: Nov 2003

Posts: 506

zerozero

Default

to transform any decimal value into binary you divide it by 2 and mark the remains e.g.

8 divide by 2 = 4 remain 0
so (LSB) Least Significant Bit =0

4 divided by 2 = 2 remain 0
so you now have 00

2 divided by 2= 1 remain 0
so it's 000

1 divided by 2= 0 remain 1
so you have 1000 = 8 in binary

63= 31 1
31=15 1
15=7 1
7=3 1
3=1 1
1=0 1

To trransform any binary to decimal you start with the MSB (most significant bit) times 2 + value of next bit X2 +value etc....e.g.

MSB 1100 LSB would be 1x2+1=3 X2+0=6 X2=112+0 =12


To transform any binary into octal separate your number into groups of 3 bits starting with the LSB and transform each value into decimal. e.g.

1110 = (001) (110) or (1) (6) or 16 octal

from octal to binary replace each number by its 3 digits binary value (add zero to MSB to complete group. e.g.

72 octal would be (111) for 7 and (010) for 2 or 111010

from binary to Hexadecimal divide your number in groups of 4 and proceed the same way you did with octal
e.g. 1111=15 which is Foxtrot in Hex or F since hex goes from 0 to F (0,1,2.3.4.5.6.7.8.9.A,B,C,D,E,F)

And voilĂ* Logical Class 101

__________________
My gaming machine:

P4 2.8 GHz
2 X 512 MHz PC3200 in dual DDR mode
Intel D865PERL MOBO
integrated 6.1 MAX audio
Logitech duo MX mouse and KB
ATI RADEON 9800 PRO
zerozero is offline  
Old 06-21-2004, 01:12 AM   #4 (permalink)
 
Monster Techie

Join Date: Nov 2002

Posts: 1,368

shan

Send a message via AIM to shan
Default

01001111011100100010000001111001011011110111010100 10000001100011011011110111010101101100011001000010 00000110011101101111001000000111010001101111001000 00011101000110100001101001011100110010000001110111 01100101011000100111001101101001011101000110010100 10000001100001011011100110010000100000011000110110 11110110111001110110011001010111001001110100001000 00011000010110111001111001011101000110100001101001 01101110011001110010000001111001011011110111010100 10000001110111011000010110111001110100001000000111 010001101111001000000011101000101001
01101000011101000111010001110000001110100010111100 10111101101110011010010110001101101011011000110110 10010111001101101011011001010010111001100011011011 11011011010010111101110100011011110110111101101100 01110011001011110110001001101001011011100110000101 1100100111100100101110011100000110100001110000
__________________
<center><h2><font color=\"red\">C:\\ Is the root of all evil</font></h2>
<hr width=\"50%\">
phiber@sysdum.com
spam this account, it's fun.
shan is offline  
Old 06-21-2004, 01:14 AM   #5 (permalink)
 
Monster Techie

Join Date: Nov 2002

Posts: 1,368

shan

Send a message via AIM to shan
Default

Translation: Or you could go to this website and convert anything you want to http://nickciske.com/tools/binary.php
__________________
<center><h2><font color=\"red\">C:\\ Is the root of all evil</font></h2>
<hr width=\"50%\">
phiber@sysdum.com
spam this account, it's fun.
shan is offline  
Old 06-21-2004, 06:36 PM   #6 (permalink)
 
Junior Techie

Join Date: May 2004

Posts: 72

..>Lost<..

Default

yeah I found that one on Google. The reason i ask is beacause i just started school for Computer Networking Systems and the instructor said on the next quiz we have to convert it i think both ways. I got binary to dec. but find it hard to go dec. to binary without using a computer!!!
..>Lost<.. is offline  
Old 06-22-2004, 03:16 AM   #7 (permalink)
 
Ultra Techie

Join Date: Nov 2003

Posts: 506

zerozero

Default

just one thing I forgot to mention on my last post when transforming into binary. The first result is your LSB

6 to binary=

6 divided by 2=3 remain 0 LSB
3 divided by 2=1 remain 1
1 divided by 2=0 remain 1 MSB

answer is 110
__________________
My gaming machine:

P4 2.8 GHz
2 X 512 MHz PC3200 in dual DDR mode
Intel D865PERL MOBO
integrated 6.1 MAX audio
Logitech duo MX mouse and KB
ATI RADEON 9800 PRO
zerozero is offline  
Old 06-22-2004, 06:25 PM   #8 (permalink)
 
Newb Techie

Join Date: Jun 2004

Posts: 30

SoapOnARoap

Send a message via AIM to SoapOnARoap
Default

Instead of 1's, 10's, 100's, etc. places, you have 1's, 2's, 4's, .... 2^n 's places.... modular division
SoapOnARoap is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On