ex

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Summary of the four positional systems

System Base Symbols Example

Decimal 10 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 2345

Binary 2 0, 1 (1001)2
Chapter 2 Exercises
Octal 8 0, 1, 2, 3, 4, 5, 6, 7 (156)8

Hexadecimal 16 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A2C1)16

1 2

Decimal Binary Octal Hexadecimal

Comparison of 0 0000 0 0
1 0001 1 1
numbers in 2 0010 2 2
the four systems 3 0011 3 3
4 0100 4 4
5 0101 5 5
6 0110 6 6
7 0111 7 7
8 1000 10 8
9 1001 11 9
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
3
15 1111 17 F
Review Questions

1. How many bits in the binary system are represented by one digit in the
hexadecimal system ?
2. How many bits in the binary system are represented by one digit in the octal
system ?
3. How many bits found in 5GB?

Exercises 4. What is the representation of “IT Essentials” in hexadecimal and binary?

5 6

Multiple-choice Questions Multiple-choice Questions

1. The base of the hexadecimal number system is ___________. 3. Which of the following representations is erroneous ?
a. 2
b. 8
a. (10111)2
c. 10 b. (349)8
d. 16 c. (3AB)16
2. When converting a decimal integer to base b, we repeatedly
___________ by b. d. 256
a. divide
b. multiply
c. Neither a nor b
d. Both a and b

7 8
Multiple-choice Questions Multiple-choice Questions

4. Which of the following representations is erroneous ? 7. Which of the following is equivalent to 12 in decimal ?
a. (10211)2 a. (1110)2
b. (342)8 b. (15)8
c. (EEE)16 c. (C)16
d. 145 d. None of the above
5. Which of the following representations is erroneous ? 8. Which of the following is equivalent to 24 in decimal ?
a. (111)2 a. (11000)2
b. (346)8 b. (31)8
c. (EEG)16 c. (1A)16
d. 221 d. None of the above

9 10

Conversion Conversion

1. Convert the following binary number (01111001)2 to 4. Convert the following decimal number 1456 to binary.
decimal. Show your work Show your work
2. Convert the following hexadecimal number (35EE1)16 to 5. Convert the following decimal number 728 to octal.
decimal. Show your work Show your work
3. Convert the following octal number (2111)8 to decimal. 6. Convert the following decimal number 165 to
Show your work hexadecimal. Show your work

11 12
Conversion Exercises

1. What is the maximum number of numbers that can the following


7. Convert the following octal number (137)8 to digits represent in the given bases?
hexadecimal. Show your work 3 digits in base 2 (bits)
7 digits in base 2 (bits)
8. Convert the following hexadecimal number (ABCD)16 to
11 digits in base 2 (bits)
octal . Show your work
32 digits in base 2
16 digits in base 4
8 digits in base 16

What do you notice in the last three cases? Explain

13 14

Exercises Exercises

2. Change the following decimal numbers to 16 bits. 3. Change the following base 2 to decimal
a. 179 a. 01110111
b. 534 b. 11111100
c. 411 c. 01110100
d. 11001110

15 16

You might also like