Numbers: How to convert binary integers to their hexadecimal equivalents and vice versa
1.2.4a Data Storage: Numbers
Practise exam questionsData Storage: Numbers — Note 4 of 5
Converting between binary and hexadecimal is straightforward because each hex digit maps directly to a 4-bit nibble. This makes hex a convenient shorthand for binary.
10110010 = nibbles 1011 and 0010 = hex B2.11010 becomes 0001 1010 (padded), not 1101 0.10110000 = B0, NOT just B. The 0 is significant.10110000, convert B back to binary = 1011, which is NOT 10110000. This tells you the answer is wrong (it should be B0).Ready to test yourself?
Practise 1.2.4a questions