Changes

Jump to: navigation, search
Method 4: Hexadecimal to Binary / Binary to Hexadecimal
''Binary to Hexadecimal''
# '''One hexadecimal number ''' represents '''4 binary numbers''', so starting from right-side, group binary digits into '''groups of 4 ''' (add leading zeros if necessary).# Write '''(8)(4)(2)(1) ''' under <u>each</u> group of 3 binary numbers.# Multiply the placeholders (i.e. '''0''''s and '''1''''s) by the corresponding (8)(4)(2)(1) for each group to obtain the octal number.# Convert values from '''10 ''' to '''15 ''' to '''A ''' to '''F'''<br>(refer to diagram of ''binary to hexadecimal'' conversion)<br><br>
''Hexadecimal to Binary''
# '''One hexadecimal number ''' represents '''4 binary numbers''', so space-out the hexadecimal numbers to make space for a binary number.# Convert letters '''A ''' to '''F ''' to '''10 ''' to F 15 (refer to diagram of ''binary to hexadecimal'' conversion)# Write '''(8)(4)(2)(1) ''' under <u>each</u> hexadecimal number.# Write '''0''''s or '''1''''s for each group of binary numbers to add up to the corresponding hexadecimal number (refer to diagram of ''hexadecimal to binary'' conversion).<br><br>
===File Permissions===
13,420
edits

Navigation menu