1 0 1 1 0 1 1 1 0 1

Report
EEL-3705
TPS QUIZZES
Think - Pair - Share (TPS)
Quizzes
• Think – Pair – Share
–
–
–
–
Think individually for one time units
Pair with partner for two time units
Share with group for one and half time units
Report results
THINK
One Unit
(e.g. 30 Seconds)
PAIR
Two Units
(e.g. 60 Seconds)
SHARE
1.5 units
(e.g. 45 Seconds)
Report
Quiz 2-1
Q: Calculate the following binary addition.
Assume unsigned binary numbers
111101
+010111
S: Calculate the following binary addition.
Assume unsigned binary numbers
1 1 1 1 1
111101
+010111
1010100
Quiz 2-2
Q: Calculate the following binary addition.
Assume unsigned binary numbers
0111110110
+ 1011011101
Solution
1
1
1 1 1 1 1 1
0111110110
+ 1011011101
10011010011
Quiz 2-3
Q: Calculate the following binary subtraction using
the borrow method. Assume unsigned binary
numbers
111101
- 010111
S: Calculate the following binary subtraction.
Assume unsigned binary numbers
1 1
111101
- 010111
100110
Quiz 2-4
Q: Calculate the following binary multiplication.
Assume unsigned binary numbers
101
x 011
S: Calculate the following binary multiplication.
Assume unsigned binary numbers
101
x 011
101
1010
1111
Quiz 2-5
Q: Calculate the hex addition. Assume
unsigned binary numbers.
A3FD16
+ 24CE16
S: Calculate the hex addition.
11
A3FD16
+ 24CE16
C8CB16
Quiz 2-6
Q: Calculate the hex subtraction using the
borrow method. Assume unsigned binary
numbers.
A3FD16
- 24CE16
S: Calculate the hex subtraction.
1
1
A3FD16
- 24CE16
7F2F16
Quiz 2-7
S: Convert the following to decimal
a) A3FD16
b) 24CE16
S: Convert the following to decimal
a) A3FD16
 10 x163  3x162  15 x161  13
 10 x 4096  3x 256  15 x16  13
 41981
b) 24CE16
 2 x163  4 x162  12 x161  14
 2 x4096  4 x256  12 x16  14
 9422
Quiz 2-8
Q: Convert the following to decimal.
Assume unsigned binary numbers
a) 0 1 1 1 1 0 1
b) 0 0 1 0 1 1 1
c) 1 0 1 0 1 0 0
Q: Convert the following to decimal.
Assume unsigned binary numbers
a) 0 1 1 1 1 0 1 =1+4+8+16+32 =61
b) 0 0 1 0 1 1 1 =1+2+4+16 =23
=84
c) 1 0 1 0 1 0 0 =4+16+64
Quiz 2-9
Q: Convert the following to binary. Assume
unsigned binary numbers
a) 45
b) 123
c) 62
S: Convert the following to binary. Assume
unsigned binary numbers
a) 45
0
5
22
1
11
2
2 45 R  1 2 22 R  0 2 11 R  1 2 5 R  1 2 2 R  0 2 1 R  1
LSB
MSB
101101
b) 123
15
7
3
61
30
2 123 R  1 2 61 R  1 2 30 R  0 2 15 R  1 2 7 R  1
0
1
2 3 R 1 2 1 R 1
1111011
S: Convert the following to binary. Assume
unsigned binary numbers
b) 62
0
15
7
3
31
1
2 62 R  0 2 31 R  1 2 15 R  1 2 7 R  1 2 3 R  1 2 1 R  1
MSB
LSB
111110
Quiz 2-10
Q: Calculate the two’s complement of the following
binary numbers. What is the signed decimal
equivalent of the original number?
a) 1 1 1 1 0 1
b) 1 1 0 1 0 1
A: Calculate the two’s complement of the following
binary numbers. What are the signed decimal
equivalents of the original number.
a) 1 1 1 1 0 1  -3
000011=3
b) 1 1 0 1 0 1  -11
0 0 1 0 1 1 = 11
Quiz 2-11
Q: Calculate the following binary subtraction using
the two’s complement method. Assume unsigned
binary numbers
011101
- 010111
S: Calculate the following binary subtraction using
the two’s complement method. Assume unsigned
binary numbers
011101
- 010111
Calculate two’s complement
29
-23
6
0 1 0 1 1 1  101001 = -23
Perform binary addition
Throw away
011101
+101001
1000110
29
+(-23)
6
Quiz 2-12
Q: Calculate the following using the two’s
complement method and give the result in
binary and decimal. Assume signed binary
numbers.
0111110110
- 0011011101
Q Solution: Calculate the following using the
2’s complement method and give the result in
binary and decimal.
0111110110
- 0011011101
0111110110
+ 1100100011
0100011001
2’s Comp

similar documents