StudentSquare.in

Binary to Hexadecimal and Hexadecimal to Binary Conversion


Method for Binary to Hex Conversion

This conversion can be done by grouping of binary bits method. The below steps may useful to learn and practice how to perform binary to hex conversion.

step 1: Separate the digits into groups from right to left side. Each group should contain 4 bits of binary number.
step 2: Add as many 0's to the left, if the last group short of as many digits less than 4 digits.
step 3: Find the equivalent hexadecimal number for each group.
step 4: Write the all groups hexadecimal numbers together, maintaining the group order provides the equivalent hex number for the given binary.

Assignments


Binary to Hex Conversion :
1) (11011001)2 = (?)16
2) (11110111)2 = (?)16
3) (10010111)2 = (?)16
4) (11010101)2 = (?)16
5) (10110111)2 = (?)16
6) (1000111)2 = (?)16
7) (11110001)2 = (?)16
8) (110111)2 = (?)16
9) (100110111)2 = (?)16
10) (110111)2 = (?)16
11) (10101111)2 = (?)16

Method for Hex to Binary Conversion

This conversion can be done by finding the binary equivalent for an each digit of the hexadecimal number, combining them together in the same order. The below steps may useful to learn and practice how to perform hex to binary conversion.

step 1: Separate the digits of the given hexadecimal, if more than 1 digit.
step 2: Find the equivalent binary number for each digit of hex number, add 0's to the left if any of the binary equivalent is shorter than 4 bits.
step 4: Write the all groups binary numbers together, maintaining the same group order provides the equivalent binary for the given hexadecimal.

Assignments


Hex to Binary Conversion :
1) (500)16 = (?)2
2) (2DC5)16 = (?)2
3) (8B3)16 = (?)2
4) (4587)16 = (?)2
5) (AB9)16 = (?)2
6) (6FC)16 = (?)2
7) (6678)16 = (?)2
8) (ED55)16 = (?)2
9) (76F)16 = (?)2
10) (BCD)16 = (?)2
11) (50A)16 = (?)2