0% found this document useful (0 votes)
10 views

4.hexidecimal Number System

The document discusses the hexadecimal number system which uses 16 symbols (0-9 and A-F) with each symbol representing a 4-bit binary number. It provides examples of converting between decimal, hexadecimal and binary representations. Some key points include: - Hexadecimal positional weights are in multiples of 16 - To convert between number systems, represent each place value in the equivalent base - Binary to hexadecimal converts 4-bit groups to symbols - Hexadecimal to decimal treats each symbol as its place value multiplied by 16 raised to its position
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

4.hexidecimal Number System

The document discusses the hexadecimal number system which uses 16 symbols (0-9 and A-F) with each symbol representing a 4-bit binary number. It provides examples of converting between decimal, hexadecimal and binary representations. Some key points include: - Hexadecimal positional weights are in multiples of 16 - To convert between number systems, represent each place value in the equivalent base - Binary to hexadecimal converts 4-bit groups to symbols - Hexadecimal to decimal treats each symbol as its place value multiplied by 16 raised to its position
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

HEXADECIMAL NUMBER SYSTEM

Hexadecimal number system has 16 symbols.


Symbols are 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
Each hexadecimal digit can be represented by a 4 bit binary number.
Positional weights are in multiples of 16.
HEXADECIMAL NUMBER SYSTEM

Decimal Hexadecimal Binary

0 0 0000
1 1 0001
2 2 0010
3 3 0011
4 4 0100
5 5 0101
6 6 0110
7 7 0111
Hexadecimal Number System

Decimal Hexadecimal Binary

8 8 1000
9 9 1001
10 A 1010
11 B 1011
12 C 1100
13 D 1101
14 E 1110
15 F 1111
Here all the numbers are over. So we make new numbers by
combining two digits.
10,11,12,13,14,15,16,17,18,19,1A,1B,1C,1D,1E,1F,20……………
….
Hexadecimal to Binary conversion

To convert hexadecimal number to binary, represent each


hexadecimal digit by its 4 bit binary number.

9AF = 1001 1010 1111


E21 = 1110 0010 0001
Questions

Convert the following hexadecimal numbers to binary

1) 6EF
2) 45AD
3) BF6
4) 23AA
5) 5CA8
Binary to Hexadecimal conversion
Arrange the bits in groups of 4 starting from LSB.
Write the equivalent hexadecimal digit.

10001100 = 1000 1100 = 8C


1110100011010110 = 1110 1000 1101 0110
= E 8 D 6
= E8D6
11 = 0011 = 3
( The value does not change when leading zeros are added.
The two 0s added before 11 to make 4 bit)
Questions

Convert the following BINARY numbers to HEXADECIMAL

1) 101010001011
2) 001110110
3) 10111100
4) 0011001011
5) 11011011010
Binary fraction to Hexadecimal conversion

(10110100.01)

10110100.0100
B4.4
Questions

Convert the following BINARY numbers to HEXADECIMAL

1) 10101.01011
2) 0011.10110
3) 101.11100
4) 00110.1011
5) 1101.010
Hexadecimal to Decimal Conversion

In hexadecimal number system, positional weights are the power of 16.


Conversion is done similar to binary to decimal conversion.

F8E8.39 = 8 * 160 + E * 161 + 8 * 162 + F * 163 + 3 * 16-1 + 9 * 16-2


= 8 * 160 +14 * 161 + 8 * 162 + 15 * 163 + 3 * 16-1 + 9 * 16-2
=8 + 224 + 2048 + 61440 + 0.1875 + 0.0352
= 63720 . 2227
Questions

Convert the following HEXADECIMAL numbers to DECIMAL

1) ABCD. 25
2) EF8.C6
3) 9BD.43A
4) EFA7.13
5) CAD.021
Decimal to Hexadecimal Conversion.

Hex Dabble Method: This is similar to double dabble method.


2479 = > 9AF
2479 / 16 = 154 Remainder = 15 ie F
154 / 16 = 9 Remainder = 10 ie A
9/ 16 = 0 Remainder = 9 ie 9
Questions

Convert the following DECIMAL numbers to HEXADECIMAL


1) 189
2) 59
3) 101
4) 256
5) 78
6) 76

You might also like