Top-Rated Free Essay
Preview

Number Conversions

Satisfactory Essays
180 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Number Conversions
Task 1: Procedure
1.Convert the decimal number 125 into binary. Use the division-by-two method shown in the following example.
125 /2 = 62 r=1
62 /2 = 31 r=0
31 /2 = 15 r=1
15 /2 = 7 r=1
7 /2 = 3 r=1
3 /2 = 1 r=1
1 /2 = 0 r=1
01111101
2.Convert your binary result back into decimal to prove your answer is correct. This is also shown in the following example.
Weights = 128 64 32 16 8 4 2 1
Bits = 0 1 1 1 1 1 0 1
64 + 32 + 16 + 8 + 4 + 1 = 125

Task 2: Procedure
1.Convert the binary number 10101101 into decimal. Use the method of adding weights as shown in the example from Task 1.
Weights = 128 64 32 16 8 4 2 1
Bits = 1 0 1 0 1 1 0 1
128 + 32 + 8 + 4 + 1 = 173 2.Use the Windows calculator to prove your answer is correct. This process is shown in the following example.
10101101 = 173

Task 3: Procedure
1. Convert the decimal number 210 into hexadecimal. Use the division-by-sixteen method shown in the following example.
210 /16 = 13 r=2
13 /16 =0 r=13
132
2. Convert your hexadecimal result back into decimal to prove your answer is correct. This is also shown in the following example.
Weight = 16 1
Digit = 13 2
(16*13)+(1*2) = 210

Task 4: Procedure
1. Convert the hexadecimal number E7 into decimal.
231
2. Convert the hexadecimal number E7 into binary, and then convert the binary result into decimal to prove your answer is correct. Use information from all previous examples to guide you.
Binary
231 /2 =115 r=1
115 /2 =57 r=1
57 /2 =28 r=1
28 /2 =14 r=0
14 /2 =7 r=0
7 /2 =3 r=1
3 /2 =1 r=1
1 /2 =0 r=1
011100111

Weight = 286 128 64 32 16 8 4 2 1
Bits = 0 1 1 1 0 0 1 1 1
128+64+32+4+2+1=231

You May Also Find These Documents Helpful