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
-
Using the example in Figure 1-5 and the steps that followed, create a binary conversion for the…
- 473 Words
- 3 Pages
Satisfactory Essays -
Using the example in Figure 1- 5 and the steps that followed, create a binary conversion for the decimal value 156.…
- 3680 Words
- 20 Pages
Satisfactory Essays -
Complete the following graded homework assignment in a Word document named “ FIN515_Homework2_yourname ." Show the details of your calculation/work in your answer to the problems .…
- 685 Words
- 6 Pages
Satisfactory Essays -
= z) return true; else return false; } Problem 5 a. Output: 720 b. Output: 0 c. Output: 71 d. Output: 362880 Problem 6 a. Output: “Take Programming I.” b. Output:…
- 188 Words
- 1 Page
Satisfactory Essays -
Please complete the calculation problems below, showing your work. Each question is worth 8 points.…
- 359 Words
- 2 Pages
Satisfactory Essays -
2Notice that Exhibit 6 reports only one decimal and so you should _nd the second…
- 326 Words
- 2 Pages
Satisfactory Essays -
Please complete the calculation problems below, showing your work. Each question is worth 8 points.…
- 283 Words
- 2 Pages
Satisfactory Essays -
Enter your individual answer into Blackboard. This is to be done as homework before coming to the tutorial.…
- 430 Words
- 2 Pages
Satisfactory Essays -
The solutions to the questions below should be typed (Word or Excel file) and show all steps of calculations. (No points will be given without the steps or work to the final answers)…
- 890 Words
- 3 Pages
Powerful Essays -
Binary numbers were first described in Chandashutram written by Pingala around 300 B.C. Binary Code was first introduced by the English mathematician and philosopher Eugene Paul Curtis during the 17th century. Curtis was trying to find a system that converts logic’s verbal statements into a pure mathematical one. After his ideas were ignored, he came across a classic Chinese text called I Ching or Book of Changes, which used a type of binary code. The book had confirmed his theory that life could be simplified or reduced down to a series of straightforward propositions. He created a system consisting of rows of zeros and ones. During this time period, Curtis had not yet found a use for this system.…
- 526 Words
- 3 Pages
Good Essays -
For XTAL = 11.0592 MHz, find the TH1 value (in both decimal and hex) for each of the following baud rates.…
- 439 Words
- 2 Pages
Satisfactory Essays -
Experiment No.3: Arithmetic, Logical & Branching operations. Program 9: Multi byte binary addition Program 10: Multi byte BCD addition Program 11: Multi byte binary subtraction…
- 5274 Words
- 22 Pages
Powerful Essays -
7. If x = 5, y = 6, z = 4, and w = 3.5, evaluate each of the following statements,…
- 449 Words
- 3 Pages
Satisfactory Essays -
Converting between binary and decimal Add the place values e.g. 1011 1001 = 1 +8 + 16 + 32 + 128 = 185 in decimal Converting between decimal and binary Divide repeatedly by 2.…
- 4226 Words
- 17 Pages
Powerful Essays