hexadecimal

Cards (6)

  • hexadecimal numbers are used as a beneficial method of data representation in comp sci
  • it takes fewer digits to represent a given value compared to binary
  • one hex digit can represent 4 bits of binary data
  • it is beneficial to use hexadecimal over binary for 2 reasons. 1 being the more bits there are in a binary number the harder it is to read and 2 being numbers with more bits are prone to errors when being copied
  • using hexadecimal allows us to represent large amounts of binary data
    • many uses of hexadecimal in computers: memory addresses, representation of colour values, error messages, memory dump, IP addresses, debugging, ASCII/unicode, assembly language, URLs