hexadecimal

Cards (11)

  • hexadecimal is a base 16 number system
  • hexadecimal numbers:
    • used to make binary numbers used to read for humans
    • avoid mistakes
    • allow us to quickly concert into binary
  • hexademial digits are:
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • A
    • B
    • C
    • D
    • E
    • F
  • converting hexadecimal to binary
    1. calculate the decimal value of each hex digit
    2. write this as a binary number
    3. join the numbers together
  • converting binary to hexadecimal
    1. split the binary string up into nibbles (4 bits)
    2. work out the decimal value for each nibble
    3. convert the decimal value into its hex equivalent
    4. string together the hex values
  • convert 10101100 into hexadecimal
    1. 1010 = 10 = A
    2. 1100 = 12 = C
    3. so 10101100 = AC
  • convert 4F to binary
    1. 4 = 0100
    2. F = 15 = 1111
    3. so 4F = 01001111
  • hexadecimal to decimal
    1. write the place headings above the hexadecimal digits
    2. if there are letters, convert them to their decimal equivalent
    3. multiply the value by the place heading
    4. add these values together
  • convert E6 to decimal
    1. E = 14
    2. 6 = 6
    3. (14 x 16^1) + (6 x 16^0) = 230
    4. so decimal value = 230
  • decimal to hexadecimal
    1. work out how many 16s there are in the number
    2. write this number under the 16s column
    3. write the remainder under the 1s column
    4. convert these to hexadecimal digits (if applicable)
  • convert 75 to hexadecimal
    • 75 / 16 = 4 r 11
    • so 75 is 4B in hexadecimal