Activity 2.3.1 Octal & Hexadecimal Number Systems
Activity 2.3.1 Octal & Hexadecimal Number Systems
Activity 2.3.1 Octal & Hexadecimal Number Systems
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) = 31 (8)
2) 49 (10) = 61 (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) = 99 (10)
Utilize the shortcut base conversion technique to complete the following table.
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.
A B C D Display?
0 0 0 0 0
0 0 0 1 1
0 0 1 0 2
0 0 1 1 3
0 1 0 0 4
0 1 0 1 5
0 1 1 0 6
0 1 1 1 7
1 0 0 0 8
1 0 0 1 9
1 0 1 0 A
1 0 1 1 b
1 1 0 0 C
1 1 0 1 D
1 1 1 0 E
1 1 1 1 F
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?
You can eliminate (b.) because the octal number can NEVER be less than
the decimal number, and eliminate (9a.) because there is no such thing as a
9 in octal.
a. 3798
b. 1748
c. 3658
(3x64) + (6x8) + (5x1) = 245(10)
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.
4 x 32768 = 131072
25 x 1024 = 25600
8 x 32 = 256
22 x 1 = 22
176950 (10)