UrbanPro
true

Take Tuition from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

How to convert Binary to Hexadecimal

V
Vivek S.
02/08/2019 0 0

To convert Binary to hexadecimal:

  1. Starting from the right, divide the number in the binary into groups of 4.
  2. Write down the hexadecimal value from the following table:

Decimal

Binary

Hexadecimal

0

0000

0

1

0001

1

2

0010

2

3

0011

3

4

0100

4

5

0101

5

6

0110

6

7

0111

7

8

1000

8

9

1001

9

10

1010

A

11

1011

B

12

1100

C

13

1101

D

14

1110

E

15

1111

F

 

For Example:

Convert  11111011101110110

Solution:

1.Starting from the right divide into 4 groups as 

 

 

2.You would notice that the last group has only 1 binary digit i.e 1. To make it a group of 4 we can add three 0’s in front of it to make it 0001.

  1. Using the table above we can write it as

0110 as 6, 0111 as 7, 1111 as F and 0001 as 1 to get 1F776.

 

To convert Hexadecimal to Binary:

  1. Write down the number in the Hexadecimal System.
  2. Write down the Binary value of each from the following table:

Decimal

Binary

Hexadecimal

0

0000

0

1

0001

1

2

0010

2

3

0011

3

4

0100

4

5

0101

5

6

0110

6

7

0111

7

8

1000

8

9

1001

9

10

1010

A

11

1011

B

12

1100

C

13

1101

D

14

1110

E

15

1111

F

               

                For Example,

                Convert the Hexadecimal number FACB23.

                Solution:

  1. Starting from the left , we have F A             C             B             2              3
  2. Using the table above, write F as 1111, A as 1010, C as 1100, B as 1011, 2 as 0010 and 3 as 0011
  3. We get the Binary number as 111110101100101100100011.

 

Exercise 1.

Convert the following binary numbers into hexadecimal:

  1. 111001111100
  2. 111001111100
  3. 100110101100
  4. 110010101001
  5. 101011000011

 

Exercise 2. Convert the following from hexadecimal number system to binary number system:

  1. A193
  2. BCF8
  3. ABC4
  4. BEF4
  5. CDAB

Answers to the Exercise:

  1. CE7
  2. E7C
  3. 9AC
  4. CA9
  5. AC3

Answers to Exercise2:

  1. 1010000110010011
  2. 1011110011111000
  3. 1010101111000100
  4. 1011111011110100
  5. 1100110110101011

 

 

 

0 Dislike
Follow 1

Please Enter a comment

Submit

Other Lessons for You

Margin of Safety?
What is the Margin of Safety? Suppose a class 11th student need 33 marks to pass a paper. If a student gets exactly 33 marks, then he will be a pass. These 33 marks are called Break-Even-Point Marks. ...
F


Relations and Functions: Class 12
Relation: A relation, R, from a non-empty set A to another non-empty set B, is mathematically defined as an arbitrary subset of the cartesian product of A and B. Domain, Range and Co-domain of the Relation...


books
Books which have a universal appeal and withstand the tarnish of time are referred to as classics in literature. These books entertain and educate. They are a source of inspiration to many readers. Some...
R

Ranadip Mandal

0 0
0
X

Looking for Tuition Classes?

The best tutors for Tuition Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Take Tuition with the Best Tutors

The best Tutors for Tuition Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more