Docsity

ECE 2504, Fall 2013 Exam 1 Answers Key - Prof. Kristie L. Cooper, Exams of Electrical and Electronics Engineering

Partial preview of the text

Download ECE 2504, Fall 2013 Exam 1 Answers Key - Prof. Kristie L. Cooper and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

ECE 2504, Fall 2013

EXAM 1 ANSWER KEY

Exam A Exam B 1 a 1001011 1 a 111010 or 0111010 b 4B b 3A c 01110101 c 0101000 d 01001011 d 00111010 e 10111010 e 11001011 f 01011000 f 01110101 g 11000110 g 10110101 2 a 00010001 (must use 2cm arithmetic) no overflow

2 a 11101111 (must use 2cm arithmetic) No overflow b 01111011 (must use 2cm arithmetic) Overflow

b 01111011 (must use 2cm arithmetic) Overflow c 0001 0011 0011 (must use BCD arithmetic)

c 0001 0011 0011 (must use BCD arithmetic) 3 a 135 3 a 149 b -121 b - c 87 c 95 d -7 d - 4 b No b’d’ + a’d

4 b No b’d’ + ad c (a’+d’) ∙ (b’+d) c^ (a+d’) ∙ (b’+d) 5 M = C’ + A’D

or

(SOP simpler) 5 M = B’C + BC’D’

or

(SOP simpler) N = A’ + D’ (same SOP or POS) N = B’D + BC’D’ (SOP simpler) P = A + C’D’ (SOP simpler) P=B’D’+AC’D’+ ACD (SOP simpler) Q = B’ + A’C’ (SOP simpler) Q = D’ (same SOP or POS) 6 a Q = D 2 +D 4 +D 5 +D 10 6 Q = D 0 +D 2 +D 4 +D 12 +D 14 b S 1 = A S 0 = B I 0 = 1 I 1 = C’ I 2 = 1 I 3 = 0

6 S 1 = A

S 0 = B

I 0 = D’

I 1 = 1

I 2 = 0

I 3 = D’

7 a See Table 4-2 in the text 7 a See Table 4-2 in the text b Two FAs used One select bit S to choose between X+Y and X- A 1 = x (^1) A 0 = x 0 C 0 = 0 Either 2x1 muxes or OR gates could be used for the B input. OR gates: B 1 = y 1 +S B 0 = y 0 +S Muxes: S 0 = S I 0 = y o I 1 = 1 B i = mux output

b Two FAs used One select bit S to choose between X+Y and X- A 1 = x (^1) A 0 = x 0 C 0 = 0 Either 2x1 muxes or OR gates could be used for the B input. OR gates: B 1 = y 1 +S B 0 = y 0 +S Muxes: S 0 = S I 0 = y i I 1 = 1 B i = mux output

_Your initials:_______________