Introduction
We all know that digital electronics use the binary number system. However, with new computers containing 32, 64, and even 128 bit data busses, displaying numbers in binary is quite cumbersome. For example, a single piece of data on a 64-bit data bus would look like this:
0110100101110001001101001100101001101001011100010011010011001010
Obviously, presenting data in this form would invite error. For this reason we use the hexadecimal (base 16) and, to a lesser extent, the octal (base 8) number systems.
In this activity you will learn how to convert numbers between the decimal, binary, octal, and hexadecimal number systems.
Equipment
Calculator (preferably one with a number base conversion feature)
Circuit Design Software (CDS)
Procedure
Complete the following decimal-to-octal number conversions. If available, use the base conversion feature of your calculator to check your answers.
1) 25 (10) = 11 (8)
2) 49 (10) = 11 (8)
3) 187 (10) = 73 (8)
4) 398 (10) = 616 (8)
5) 2879 (10) = 5477(8)
Complete the following octal-to-decimal number conversions. If available, use the base conversion feature of your calculator to check your answers.
6) 36 (8) = 30 (10)
7) 75 (8) = 61 (10)
8) 143 (8) = 49 (10)
9) 367 (8) = 247 (10)
10) 1735 (8) = 989 (10)
Complete the following decimal-to-hexadecimal number conversions. If available, use the base conversion feature of your calculator to check your answers.
11) 25 (10) = 19 (16)
12) 46 (10) = E2 (16)
13) 120 (10) = 78 (16)
14) 429 (10) = 1AD (16)
15) 1215 (10) = B4F (16)
Complete the following hexadecimal-to-decimal number conversions. If available, use the base conversion feature of your calculator to check your answers.
16) 3B (16) = 59 (10)
17) A9 (16) = 169 (10)
18) 159 (16) = 345 (10)
19) 2A3 (16) = 675 (10)
20) 1AB3 (16) = 6835 (10)
Utilize the shortcut base conversion technique to complete the following table.
Binary
Octal
Hexadecimal
1)
1010112
53
2B
2)
110100011
643
1A316
3)
110101102
326
D61
4)
1011111
1378
5F
5)
1010111102
536
15E
A useful tool in simulation is the Digital Hex Display. Create the following circuit in the Circuit Design Software (CDS) and complete the truth table.
The HEX DISPLAY has a built-in decoder that converts a binary number into its corresponding display digit. For example an input of ‘0110’ would display a ‘6’, and a ‘1010’ would display an ‘A’.
Conclusion
1. Without performing the conversion, which of the following numbers is the octal equivalent of 24510? How were you able to determine this?
a. 3798
b. 1748
c. 3658
2. You are sent to the store to buy some hamburger for dinner. When you come home, your sister looks at the UPC label on the meat and says, “We can’t use this.” What does she see on the label that you do not? Hint: think hexadecimal.
In hexadecimal it says BADBEEF.
Going Further – Optional
1. With 128-bit graphic cards becoming standard on many new PCs, there has been some thought of expanding to the base 32 number system. The base 32 number system would be selected because it is the next greatest power of two after 16. Use your knowledge of number systems to convert the following base 32 number into its decimal equivalent.
4P8M (32) = ____________ (10)
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 decimal value 156.…
- 3680 Words
- 20 Pages
Satisfactory Essays -
1. Convert the number in hexadecimal into decimal by multiplying each digit of a number with 16 raise to the power of weight of digit.…
- 2789 Words
- 12 Pages
Good Essays -
Enter the appropriate numbers/formulas in the shaded (gray) cells. An asterisk (*) will appear to the right of an incorrect answer.…
- 718 Words
- 3 Pages
Satisfactory Essays -
Enter the appropriate numbers/formulas in the shaded (gray) cells. An asterisk (*) will appear to the right of an incorrect answer.…
- 301 Words
- 2 Pages
Satisfactory Essays -
Be sure to show your work, meaning your steps to convert binary to decimal, etc.…
- 292 Words
- 2 Pages
Satisfactory Essays -
1) Numbers can be represented in binary (using 2 symbols 0 and 1) and hexadecimal ( 16 symbols…
- 480 Words
- 2 Pages
Satisfactory Essays -
5. Convert 32 decimal to binary floating point. Use a 6 bit mantissa and a 4 bit exponent.…
- 1994 Words
- 8 Pages
Better Essays -
2Notice that Exhibit 6 reports only one decimal and so you should _nd the second…
- 326 Words
- 2 Pages
Satisfactory Essays -
Complete the problems included in the resources below and submit your work in an Excel document. Be sure to show all of your work and clearly label all calculations.…
- 1648 Words
- 32 Pages
Powerful Essays -
You may use a calculator for the entire test; however, the solutions for numbers 1 through 3 must be exact solutions—NO DECIMAL SOLUTIONS FOR THE FIRST PAGE. Do not rationalize. SHOW WORK !…
- 326 Words
- 2 Pages
Satisfactory Essays -
Instructions: Closed book. No calculator. Indicate all your answers on the Scantron sheet. Only the Scantron sheet…
- 1480 Words
- 6 Pages
Satisfactory Essays -
Basic Instructions: 1. You can not use calculator. 2. Wrong answers do not cancel right answer. 3. Only answers in the answer sheet will be considered valid. 4. If there is erasure in the answer sheet, the answer will be annulled.…
- 2981 Words
- 12 Pages
Satisfactory Essays -
* If the instructions say anything about rounding, replace pi with 3.14 or use your calculator's pi button.…
- 565 Words
- 3 Pages
Satisfactory Essays -
Assignment answers 1. The educator as researcher, scholar and lifelong learner. (EDRHODG) 1) c 2) E 3) E 4) C 5) E 6) E 7) D 8) A 9)…
- 440 Words
- 2 Pages
Satisfactory Essays