Binary and Hex
Christiansinger on 01/19/2007
|Way back in the dark ages of computer, we used assembler languages and looked at dumps of memory to determine problem solutions. Memory is all binary (0 & 1), so to cut down on the number of characters to be printed, and to save the eyesight and sanity of programmers, the dumps were printed in hexadecimal. |
Each hex digit is made from 4 binary digits. The hex digits range from 0 to 9 and A to F (which is 0 to 15 in decimal numbers) and the corresponding binary digits range from 0000 to 1111.
To convert from binary to hex use the powers of 2 to determine the value of the binary digit's value. They are, from left to right 8, 4, 2, 1. For example 0010 converts to 2 in hex. And an 8 in hex converts to 1000 in binary. See if you can use this info to convert the following numbers.
I will give you a hex or binary number, and you convert it to the other number system.
Have fun. :-)
|Player:||Level:||% Correct:||Time to Complete:|