Skip navigation

As part of reading this book, I’m writing some exercises. I thought I would benefit from some extra conversion problems. Sorry if there are any mistakes, I double checked, but it to err is to be human.

Here is a conversion chart, a random byte generator if you want to create your own exercises and a converter to check your work.

I. Hexadecimal to Binary


 1) 0xFA01D3
 2) 0x103FED
 3) 0x370EE2
 4) 0xBA5200
 5) 0xDF0E67
 6) 0x149BC0
 7) 0x4E3A27
 8) 0xFA01D3
 9) 0x052CEB
10) 0xEC6DB6
11) 0x6CC122
12) 0xA489C2
13) 0x57915A
14) 0x71B493
15) 0x15A1CC
16) 0xD47E0C
17) 0x0549CA
18) 0x2CF24D
19) 0xB7A7E4
20) 0x16F926

II. Binary to Hexadecimal

 1) 110111111010100010000110
 2) 010101101100010100011011
 3) 100111100101101000101001
 4) 000110000010111001111000
 5) 111011100011000001110011
 6) 100101000000001100100001
 7) 101101011001100011010110
 8) 001010110010100001010011
 9) 000100010010001110100110
10) 101100000011100101100001
11) 110101010010001110011111
12) 001110100011000010000100
13) 011000001110010111000000
14) 111001001111110111011100
15) 110010100000110011110110
16) 111001011111101001110000
17) 010010111100101011000111
18) 011111111110101011001101
19) 101001011001110110000001
20) 010010000110010110111100

III. Solutions

Hexadecimal to Binary

 1) 0xFA01D3

     F    A    0    1    D    3
  1111 1010 0000 0001 1101 0011

 2) 0x103FED

     1    0    3    F    E    D
  0001 0000 0011 1111 1110 1101

 3) 0x370EE2

     3    7    0    E    E    2
  0011 0111 0000 1110 1110 0010

 4) 0xBA5200

     B    A    5    2    0    0
  1011 1010 0101 0010 0000 0000

 5) 0xDF0E67

     D    F    0    E    6    7
  1101 1111 0000 1110 0110 0111

 6) 0x149BC0

     1    4    9    B    C    0
  0001 0100 1001 1011 1100 0000

 7) 0x4E3A27

     4    E    3    A    2    7
  0100 1110 0011 1010 0010 0111

 8) 0xFA01D3

     F    A    0    1    D    3
  1111 1010 0000 0001 1101 0011

 9) 0x052CEB

     0    5    2    C    E    B
  0000 0101 0010 1100 1110 1011

10) 0xEC6DB6

     E    C    6    D    B    6
  1110 1100 0110 1101 1011 0110

11) 0x6CC122

     6    C    C    1    2    2
  0110 1100 1100 0001 0010 0010

12) 0xA489C2

     A    4    8    9    C    2
  1010 0100 1011 1001 1100 0010

13) 0x57915A

     5    7    9    1    5    A
  0101 0111 1001 0001 0101 1010

14) 0x71B493

     7    1    B    4    9    3
  0111 0001 1011 0100 1001 0011

15) 0x15A1CC

     1    5    A    1    C    C
  0001 0101 1010 0001 1100 1100

16) 0xD47E0C

     D    4    7    3    0    C
  1101 0100 0111 0011 0000 1100

17) 0x0549CA

     0    5    4    9    C    A
  0000 0101 0100 1001 1100 1010

18) 0x2CF24D

     2    C    F    2    4    D
  0010 1100 1111 0010 0100 1101

19) 0xB7A7E4

     B    7    A    7    E    4
  1011 0111 1010 0111 1110 0100

20) 0x16F926

     1    6    F    9    2    6
  0001 0110 1111 1001 0010 0110

Binary to Hexadecimal

 1) 110111111010100010000110

  1101 1111 1010 1000 1000 0110
     D    F    A    8    8    6

 2) 010101101100010100011011

  0101 0110 1100 0101 0001 1011
     5    6    C    5    1    B

 3) 100111100101101000101001

  1001 1110 0101 1010 0010 1001
     9    E    5    A    2    9

 4) 000110000010111001111000

  0001 1000 0010 1110 0111 1000
     1    8    2    E    7    8

 5) 111011100011000001110011

  1110 1110 0011 0000 0111 0011
     E    E    3    0    7    3

 6) 100101000000001100100001

  1001 0100 0000 0011 0010 0001
     9    4    0    3    2    1

 7) 101101011001100011010110

  1011 0101 1001 1000 1101 0110
     B    5    9    8    D    6

 8) 001010110010100001010011

  0010 1011 0010 1000 0101 0011
     2    B    2    8    5    3

 9) 000100010010001110100110

  0001 0001 0010 0011 1010 0110
     1    1    2    3    A    6

10) 101100000011100101100001

  1011 0000 0011 1001 0110 0001
     B    0    3    9    6    1

11) 110101010010001110011111

  1101 0101 0010 0011 1001 1111
     D    5    2    3    9    F

12) 001110100011000010000100

  0011 1010 0011 0000 1000 0100
     3    A    3    0    8    4

13) 011000001110010111000000

  0110 0000 1110 0101 1100 0000
     6    0    E    5    C    0

14) 111001001111110111011100

  1110 0100 1111 1101 1101 1100
     E    4    F    D    D    C

15) 110010100000110011110110

  1100 1010 0000 1100 1111 0110
     C    A    0    C    F    6

16) 111001011111101001110000

  1110 0101 1111 1010 0111 0000
     E    5    F    A    7    0

17) 010010111100101011000111

  0100 1011 1100 1010 1100 0111
     4    B    C    A    C    7

18) 011111111110101011001101

  0111 1111 1110 1010 1100 1101
     7    F    E    A    C    D

19) 101001011001110110000001

  1010 0101 1001 1101 1000 0001
     A    5    9    D    8    1

20) 010010000110010110111100

  0100 1000 0110 0101 1011 1100
     4    8    6    5    B    C

Advertisements

One Trackback/Pingback

  1. […] a web page that can generate more binary to hexadecimal conversion problems. Previously I had written out some problems, but now there are an unlimited amounts to practice […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: