This page does not represent the most current semester of this course; it is present merely as an archive.
Question 1
8C
, 0x8C
, or 320
– we intended the key to be 0x8c
, but accidentally worded the question ambiguously and for one interpretation 320
is correctQuestion 2
full credit for
1 1 1 1
0 0 1 1 0 0 1 1
+ 0 1 1 0 0 1 1 0
-----------------
1 0 0 1 1 0 0 1
half credit for any one of the following:
Question 3
C
Note: A
is true of all positive sums with or without overflow; B
is false of all; and D
is the opposite of the correct answer.
Question 4 and Question 5
E
and A
==
and !=
)Question 6
same
Question 7
0x20000000
same
Question 8
3
Question 9
Question 10
s
(i.e., either s0 s1 or s1 s0)x0
, x1
, x2
, s0
, s1
, and no other inputs)Question 11
2
Question 12
9C 20
9C
in address 0x1F
9
, C
, or 20
, but have other two correctQuestion 13
34
or 0x34
Question 14
fedc
or 0xfedc
Question 15
none
A
and/or D
Question 16