At first glance all this switching between number systems (decimal, binary and hex) may not seem to be a help at all, but we’ve seen that only a very little effort can make it perfectly clear, not only in principle but also in practice.
To enable you to get more practice, this interactive tool will help you to see how the conversions work, and get in a little practice.
First, either hit the random button, or enter a number of your own to convert. Remember, if it’s a binary number, precede it with 0b, and if it’s a hexadecimal number precede it with 0x. Then, in the Answers section, enter the conversions. The corresponding number answer will be filled in automatically – in other words, if you enter a hex number (or a hex number is randomly generated) then the hex answer field will be filled in.
You can fill in your conversions in the your answers boxes, then hit the check answers button to see if you’re correct. If you are, then the correct answers field will be filled in. Keep going until you get the right answer, or you can hit the show answers button, and the conversions will be done for you.
You should know that there is no validation of numbers that you enter. In other words, if you enter some nonsense like 0bAJ3r in the Number to Convert field, just for instance, then the code simply will not work. So, it’s up to you to make sure that you enter valid numbers!
Binary, Hexadecimal and Decimal Conversion Tool