Chapter 1 – Review
1. Base Conversions – Unsigned numbers
2310 _______________2
34716 ______________10
0100 10102 __________16
AC316 _______________2
4518 ________________16
2. Base Conversions – Signed numbers
Positive numbers ALWAYS start with a ________________________ base 2.
Negative numbers ALWAYS start with a _______________________ base 2.
One’s Complement – Convert the following numbers to their 1’s complement
equivalent.
EX: + 410 = 01002
- 410 = 10112
+ 2510 ________________________2
- 3710 ________________________2
+12410________________________2
-12810 ________________________2
Two’s Complement – Convert the following numbers to their 2’s complement
equivalent.
+2510 ________________________2
- 3710 ________________________2
+12410_________________________2
-12810 ________________________2
Convert the following 1’s complement numbers to their base 10 equivalent.
1010 10102 ___________________10
0101 01012 ___________________10
1111 11002 ___________________10
0000 00112 ___________________10
Convert the following 2’s complement numbers to their base 10 equivalent.
1010 10102 ___________________10
0101 01012 ___________________10
1111 11002 ___________________10
0000 00112 ___________________10
3. Calculate the results and indicate whether or not overflow occurs given the
following UNSIGNED numbers.
A = 00112
B = 10102
C = 11112
D = 01112
A+B
D+A
B+C
C+D
4. Calculate the results of the following problems using 1’s complement
arithmetic given the following SIGNED numbers. Indicate whether or not
overflow occurs
A = 01012
B = 10112
C = 10012
D = 01102
A-B
C-D
B+C
A-C
D-A
A+D
5. Calculate the results of the following problems using 2’s complement
arithmetic given the following SIGNED numbers. Indicate whether or not
overflow occurs
A = 01012
B = 10112
C = 10012
D = 01102
A-B
C-D
B+C
A-C
D-A
A+D
6. Do the following problems using signed 1’s complement binary. Use an
adequate number of bits to represent the numbers and indicate if overflow
occurs. Confirm your results by converting them back to decimal. Remember you
may have to change the problem to a subtraction using addition type of problem.
All problems are initially stated in decimal.
1210 – 210
-410 – 1010
-510 + 710
-710 + 910
7.
Do the following problems using signed 2’s complement binary. Use an
adequate number of bits to represent the numbers and indicate if overflow
occurs. Confirm your results by converting them back to decimal. Remember you
may have to change the problem to a subtraction using addition type of problem.
All problems are initially stated in decimal.
1210 – 210
-410 – 1010
-510 + 710
-710 + 910
8. Complete the following chart using binary values of the given numbers.
Magnitude
Sign&Magnitude
1’s
2’s
+1210
01100
01100
01100
-1210
11100
10011
10100
+1510`
-1510
+3710
-3710
+2510
-2510
+4610
-4610
9. Convert the following SIGN and MAGNITUDE binary numbers to signed decimal
numbers.
101102
1100112
011012
10. Convert the following signed 1’s complement binary numbers to their signed
decimal equivalent.
0100102
1111 11002
1110012
0001 00112
1010 00012
0010 11002
1001 1100 10102
0100 1010 10102
11. Convert the following signed 2’s complement binary numbers to their signed
decimal equivalent.
0110102
1001 11002
1110112
0001 00112
1110 00012
0010 11012
1001 1100 10102
0010 0101 01102