1. Binary to decimal conversion
The computer is a binary beast. We want to go from the one-fingered digital box to the ten-fingered human being and convert binary to denary(base 10) numbers. This is how it works, for instance, binary 10010 is calculated as 1*16+0*8+0*4+1*2+0*1 = decimal 18. Just because it's easy, let's throw in hexadecimal and octal results too. The added bonus is the almost foolproof entry of data
2. Decimal To Binary Conversion
To convert a decimal number to binary, first subtract the largest possible power of two, and keep subtracting the next largest possible power form the remainder, marking 1s in each column where this is possible and 0s where it is not.
Sunday, December 21, 2008
4.Conversions
Posted by Nila at 8:22 PM
Subscribe to:
Post Comments (Atom)
0 Comments:
Post a Comment