Docsity

Practice Midterm Exam - Digital Logic Design | EE 244, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
Page 1 of 1
MONTGOMERY COLLEGE, ROCKVILLE
Physics, Engineering and Geosciences Department
EE 244 – Digital Logic Design
Fall 2008
Practice Midterm
1. (3) convert the following unsigned integer to decimal: 110011001100
110011001100 = 4 + 8 + 64 + 128 + 1024 + 2048 = 3276
2. (3) Convert the following decimal number to hexadecimal: 791
We first convert to binary
791 / 2 = 395 rem 1 1
395 / 2 = 197 rem 1 11
197 / 2 = 98 rem 1 111
98 / 2 = 49 rem 0 0111
49 / 2 = 24 rem 1 10 111
24 / 2 = 12 rem 0 01 0111
12 = 1100 11 0001 0111
1 / 8 = 0 rem 1 1427
Adding leading 0's we get 0011 0001 0111 = 31716
3. (4) The following decimal integers are to be stored in a 6-bit two’s complement format.
Show how they are stored. a. +32 b. -32 c. -16
+32: cannot be stored (It would need another bit.)
-32: 100000
-16: 110000
4. (7) In IEEE standard 32-bit notation, how would the following decimal be stored? -48.5
48.5 => 110000.1000000 = 1.100001000000 X 25
=> 1 10000100 10000100000000000
5. (8) Reduce the expression to a minimum SOP form, using P1 through P12.
h = ab’ + bc’d’ + abc’d + bc (3 terms, 5 literals)
h = a b' + b c' d' + a b c' d + b c
= a b' + b c' d' + a b c' + b c P10a
= a b' + b c' d' + a b + b c P10a
= a + b c' d' + b c P9a
= a + b d' + b c P10a
or
h = a b' + b c' d' + a b c' d + b c
= a b' + b c' d' + a b d + b c P10a
= a b' + b d' + a b d + b c P10a
= a b' + b d' + a b + b c P10a
= a + b d' + b c P9a
6. (25) For the following circuit:
pf3

Partial preview of the text

Download Practice Midterm Exam - Digital Logic Design | EE 244 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

MONTGOMERY COLLEGE, ROCKVILLE Physics, Engineering and Geosciences Department EE 244 – Digital Logic Design Fall 2008

Practice Midterm

  1. (3) convert the following unsigned integer to decimal: 110011001100

110011001100 = 4 + 8 + 64 + 128 + 1024 + 2048 = 3276

  1. (3) Convert the following decimal number to hexadecimal: 791

We first convert to binary 791 / 2 = 395 rem 1 1 395 / 2 = 197 rem 1 11 197 / 2 = 98 rem 1 111 98 / 2 = 49 rem 0 0111 49 / 2 = 24 rem 1 10 111 24 / 2 = 12 rem 0 01 0111 12 = 1100 11 0001 0111 1 / 8 = 0 rem 1 1427 Adding leading 0's we get 00 11 0001 0111 = 317 (^16)

  1. (4) The following decimal integers are to be stored in a 6-bit two’s complement format. Show how they are stored. a. +32 b. -32 c. - +32: cannot be stored (It would need another bit.) -32: 100000 -16: 110000
  2. (7) In IEEE standard 32-bit notation, how would the following decimal be stored? -48.

48.5 => 110000.1000000 = 1.100001000000 X 2 5

  1. (8) Reduce the expression to a minimum SOP form, using P1 through P12. h = ab’ + bc’d’ + abc’d + bc (3 terms, 5 literals)

h = a b' + b c' d' + a b c' d + b c = a b' + b c' d' + a b c' + b c P10a = a b' + b c' d' + a b + b c P10a = a + b c' d' + b c P9a = a + b d' + b c P10a or h = a b' + b c' d' + a b c' d + b c = a b' + b c' d' + a b d + b c P10a = a b' + b d' + a b d + b c P10a = a b' + b d' +^ a b^ + b c^ P10a = a + b d' + b c P9a

  1. (25) For the following circuit:

a. Compute the maximum delay, i. Assuming that all inputs are available both uncomplemented and complemented = 6∆ ii. Assuming only uncomplemented inputs are available, and an additional gate must be added to complement each input= 6∆ b. Compute the maximum delay from input D to the output, assuming only uncomplemented inputs are available, and an additional gate must be added to complement each input= 5∆

  1. (25) Design a priority encoder with seven active low inputs, p1 ,... , p7 and three active high outputs, CBA that indicate which is the highest priority line active is designed using AND, OR, and NOT gates. Input p1 is highest priority; p7 is lowest. If none of the inputs are active, the output is 000. Assume that is a fourth output line, M, which is 1 if there are multiple active inputs. Show the truth table and Boolean expressions for C, B and A.

p1' p2' p3' p4' p5' p6' p7' C B A

0 X X X X X X 0 0 1

1 0 X X X X X 0 1 0

1 1 0 X X X X 0 1 1

1 1 1 0 X X X 1 0 0

1 1 1 1 0 X X 1 0 1

1 1 1 1 1 0 X 1 1 0

C = p1' p2' p3' (p4' ' + p5' ' + p6' ' + p7' ') B = p1' (p2' ' + p3' ') + p1' p4' p5' (p6' ' + p7' ') A = p1' ' + p2' p3' ' + p2' p4'p5' ' + p2'p4' p6' p7' '

  1. (25) For the following set of functions, design a system using