Hexadecimal Numbers
 

We studied how binary number systems used in computers to represent numbers and characters.

It is difficult to work with large number of 0 and 1s when working with computers.
Hexadecimal number system hence created to represent binary numbers in a simple format.
symbols A, B, C, D, E & F was added to arabic number system to represent 0-15 digits.



In Hexadecimal sysyem
A represents 10
B represents 11
C represents 12
D represents 13
E represents 14
F represents 15

Nibble
Nibble is one hexadecimal digit taking a value  of 0 - 15
A nibble represented by 4 binary bits .
Ex. 15 is 1111, 1 is 0001

The hexadecimal system is useful because it can represent every byte (8 bits) as two hexadecimal digits. It is easier for humans to read hexadecimal numbers than binary numbers.

See this example of getting the hexadecimal encoding from a binary number.
Separate each 4 bits from left and write corresponding hex digit.
0100110111010000 gives 4DD0



Hex notation is used Use of Hex in memory addressing

Convert Decimal 17, 36, 127, 255, 191, 1024 to Hex and back to decimal and binary using following calculator and understand Hex encoding of data.

Decimal
.


Hex
.
(c) Shilpa Sayura Foundation 2006-2017