headerphoto

Convert hexadecimal numbers to binary numbers
1. 2B
2. DAD
3. FE01

Completion:
1. 2B (16) = ? (2)
* First, convert hexadecimal numbers to decimal numbers. Then, convert decimal numbers to binary numbers.

hexadecimal to decimal
2B = Bx160 + 2x161
2B = 11x160 + 2x161
2B = 11 + 32
2B (16) = 43 (10)

decimal to binary
43 / 2 = 21, remains 1
21 / 2 = 10, remains 1
10 / 2 = 5, remains 0
5 / 2 = 2, remains 1
2 / 2 = 1, remains 0
1 / 2 = 0, remains 1
43 (10) = 101011 (2)

2B hexadecimal number equal to 101011 binary number
2B (16) = 101011 (2)

2. DAD (16) = ? (2)
hexadecimal to decimal
DAD = Dx160 + Ax161 + Ax162
DAD = 13x160 + 10x161 + 13x162
DAD = 13 + 160 + 3328
DAD (16) = 3501 (10)

decimal to binary
3501 / 2 = 1750, remains 1
1750 / 2 = 875, remains 0
875 / 2 = 437, remains 1
437 / 2 = 218, remains 1
218 / 2 = 109, remains 0
109 / 2 = 54, remains 1
54 / 2 = 27, remains 0
27 / 2 = 13, remains 1
13 / 2 = 6, remains 1
6 / 2 = 3, remains 0
3 / 2 = 1, remains 1
1 / 2 = 0, remains 1
3501 (10) = 110110101101 (2)

DAD hexadecimal number equal to 110110101101 binary number
DAD (16) = 110110101101 (2)

3. FE01 (16) = ? (2)
hexadecimal to decimal
FE01 = 1x160 + 0x161 + Ex162 + Fx163
FE01 = 1x160 + 0x161 + 14x162 + 15x163
FE01 = 1 + 0 + 3584 + 61440
FE01 (16) = 65025 (10)

decimal to binary
65025 / 2 = 32512, remains 1
32512 / 2 = 16256, remains 0
16256 / 2 = 8128, remains 0
8128 / 2 = 4064, remains 0
4064 / 2 = 2032, remains 0
2032 / 2 = 1016, remains 0
1016 / 2 = 508, remains 0
508 / 2 = 254, remains 0
254 / 2 = 127, remains 0
127 / 2 = 63, remains 1
63 / 2 = 31, remains 1
31 / 2 = 15, remains 1
15 / 2 = 7, remains 1
7 / 2 = 3, remains 1
3 / 2 = 1, remains 1
1 / 2 = 0, remains 1
605025 (10) = 1111111000000001 (2)

FE01 hexadecimal number equal to 1111111000000001 binary number
FE01 (16) = 1111111000000001 (2)

Next→
←Prev

Related Articles

Choose label

Read more

No comments

No spam, no active link, please ^_^