HEX for beginers

What is HEX?

HEX is base 16. This means that there are 16 states of change for one digit. It is used to convert long streams of binary (8 digit) programming into much smaller HEX programming (2 digit).

How do you use it?

HEX is basically another way of righting numbers down. So instead of using 0,1,2,3,4,5,6,7,8,9,10 it would become 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. Each letter symbolizes a number over 9 so A=10 B=11 C=12 e.t.c.

Where would you use it?

HEX is used in computers for programming and coding. It can be used to convert binary into shorter, less complicated codes. Binary just uses the digits 0 and 1 so to make different numbers it has to do 01100101 e.t.c where as HEX uses 16 digits so can make long streams of binary shorter. E.G: 11111111=255 (binary) FF=255 (HEX)

How to convert binary to HEX.

To convert binary to HEX first of you need to turn the binary into nibbles. To do this you would split the 8 digit binary code into two 4 digit nibbles. For example 11111111=255 would become 1111=15 1111=15. Because 15 isn't below 9 it becomes a letter which in this case would be F so 1111+1111=FF.