Friday, 14 December 2012

In mathematics we studied that in decimal there is 10 digits, starting from 0 and going up to 9, in hexadecimal there are 15 symbols ranging from 0-10, then a-f, When converting a number from decimal to binary you have to keep dividing by 2 for example 400, if we keep dividing 400 by two and noting the remainder will will eventually get the binary code for the number So 400 / 2 is 200 so the value for the binary will be 0, next will will be 200/2 so the value will again be 0 as we did not have any remainder. 100/2 is 50 so the value will be 0, 50/2 is 25 so again the value will be 0. Now we cannot perfectly divide 25/2 without there being a decimal number so the answer will be 12 and the value will be 1.

No comments:

Post a Comment