1.1.2 Hexadecimal

1.1.2 Hexadecimal

Learning outcome

      • represent positive numbers in hexadecimal notation
      •  show understanding of the reasons for choosing hexadecimal notation to represent numbers
      • convert positive hexadecimal integers to and from denary (a maximum of four hexadecimal digits will be required)
      •  convert positive hexadecimal integers to and from binary (a maximum of 16 bit binary numbers will be required)
      •  represent numbers stored in registers and main memory as hexadecimal
      • identify current uses of hexadecimal numbers in computing, such as defining colors in Hypertext Markup
      • Language (HTML), Media Access Control (MAC) addresses, assembly languages and machine code, debugging

A hexadecimal number is represented using base 16. Hexadecimal or Hex numbers are used as a shorthand form of binary sequence. This system is used to represent data in a more compact manner. Since 16 symbols are used, 0 to F, the notation is called hexadecimal. The first 10 symbols are the same as in the decimal system, 0 to 9 and the remaining 6 symbols are taken from the first 6 letters of the alphabet sequence, A to F, where A represents 10, B is 11, C is 12, D is 13, E is 14 and F is 15.