Hexadecimal numbers (HEX).

The advantages of using hexadecimal numbers in computer systems

  • much easier to express binary number representations in hex than it is in any other base number system. 

  • easier for humans to remember and express binary numbers in hex.

  • two digit hex number can represent a byte.

  • To determine memory location. Hexadecimals can characterise every byte as two hexadecimal digits only compared to eight digits when using binary.

  • To define colors on web pages and in programming language (eg. Python). Each primary color – red, green and blue is characterised by two hexadecimal digits.  The format being used is #RRGGBB.  RR stands for red, GG stands for green and BB stands for blue.

  • To represent MAC addresses. Media Access Control addresses consist of 12-digit hexadecimal numbers. For example, 00:A0:C9:14:C8:29 

  • To display error messages. Hexadecimals are used to define the memory location of the error.  This is useful for programmers in finding and fixing errors.


Последнее изменение: Thursday, 18 April 2024, 10:57