## Binary numbers to hexadecimal numbers

Convert binary numbers to hexadecimal numbers

1. 11111

2. 1101110

3. 1110101010

Completion:

1. 11111

binary to decimal

11111 = 1x2

11111 = 1 + 2 + 4 + 8 + 16

11111

decimal to hexadecimal

31 / 16 = 1, remains 15 or F

1 / 16 = 0, remains 1

31

11111 binary number equal to 1F hexadecimal number

11111

2. 1101110

binary to decimal

1101110 = 0x2

1101110 = 0 + 2 + 4 + 8 + 0 + 32 + 64

1101110

decimal to hexadecimal

110 / 16 = 6, remains 14 or E

6 / 16 = 0, remains 6

79

1101110 binary number equal to 6E hexadecimal number

1101110

3. 1110101010

binary to decimal

1110101010 = 0x2

1110101010 = 0 + 2 + 0 + 8 + 0 + 32 + 0 + 128 + 256 + 512

1110101010

decimal to hexadecimal

938 / 16 = 58, remains 10 or A

58 / 16 = 3, remains 10 or A

3 / 16 = 0, remains 3

938

1110101010 binary number equal to 3AA hexadecimal number

1110101010

1. 11111

2. 1101110

3. 1110101010

Completion:

1. 11111

_{(2)}= ?

_{(16)}

** First, convert binary numbers to decimal numbers. Then, convert decimal numbers to hexadecimal numbers.*

binary to decimal

11111 = 1x2

^{0}+ 1x2

^{1}+ 1x2

^{2}+ 1x2

^{3}+ 1x2

^{4}

11111 = 1 + 2 + 4 + 8 + 16

11111

_{(2)}= 31

_{(10)}

decimal to hexadecimal

31 / 16 = 1, remains 15 or F

1 / 16 = 0, remains 1

31

_{(10)}= 1F

_{(16)}

11111 binary number equal to 1F hexadecimal number

11111

_{(2)}= 1F

_{(16)}

2. 1101110

_{(2)}= ?

_{(16)}

binary to decimal

1101110 = 0x2

^{0}+ 1x2

^{1}+ 1x2

^{2}+ 1x2

^{3}+ 0x2

^{4}+ 1x2

^{5}+ 1x2

^{6}

1101110 = 0 + 2 + 4 + 8 + 0 + 32 + 64

1101110

_{(2)}= 110

_{(10)}

decimal to hexadecimal

110 / 16 = 6, remains 14 or E

6 / 16 = 0, remains 6

79

_{(10)}= 6E

_{(16)}

1101110 binary number equal to 6E hexadecimal number

1101110

_{(2)}= 6E

_{(16)}

3. 1110101010

_{(2)}= ?

_{(16)}

binary to decimal

1110101010 = 0x2

^{0}+ 1x2

^{1}+ 0x2

^{2}+ 1x2

^{3}+ 0x2

^{4}+ 1x2

^{5}+ 0x2

^{6}+ 1x2

^{7}+ 1x2

^{8}+ 1x2

^{9}

1110101010 = 0 + 2 + 0 + 8 + 0 + 32 + 0 + 128 + 256 + 512

1110101010

_{(2)}= 938

_{(10)}

decimal to hexadecimal

938 / 16 = 58, remains 10 or A

58 / 16 = 3, remains 10 or A

3 / 16 = 0, remains 3

938

_{(10)}= 3AA

_{(16)}

1110101010 binary number equal to 3AA hexadecimal number

1110101010

_{(2)}= 3AA

_{(16)}