Docsity

Boolean Expression - Computer Engineering - Solved Exam, Exams of Computer Science

Toggle sidebar
bg1
ECE 2030 10:00am Computer Engineering Fall 2001
4 problems, 4 pages Exam One Solutions 19 September 2001
1
Problem 1 (3 parts, 24 points) Incomplete Circuits
For each partial switch circuit below, complete the complementary switching network so the
circuit contains no floats or short. Also write the Boolean expression computed by the completed
circuit. Assume the inputs and their complements are available.
A
B
C
Outx
EA
D
B
Outy
E
C
A B
C
E
D
D
A
B
C
D
Outz
A
B
D
C
AB
D C
OUTx = DECBA โ‹…++โ‹… )(
OUTy = )()( DCBA +โ‹…+
OUTz = CDBA +โ‹…+ )(
pf3
pf4

Partial preview of the text

Download Boolean Expression - Computer Engineering - Solved Exam and more Exams Computer Science in PDF only on Docsity!

4 problems, 4 pages Exam One Solutions 19 September 2001

Problem 1 (3 parts, 24 points) Incomplete Circuits

For each partial switch circuit below, complete the complementary switching network so the circuit contains no floats or short. Also write the Boolean expression computed by the completed circuit. Assume the inputs and their complements are available.

A

B

C

Out x

E A

D

B

Out y

E

C

A B

C

E

D

D

A

B

C

D

Out z A

B

D

C

A (^) B

D C

OUTx = A โ‹… B +( C + E )โ‹… D

OUTy = ( A + B )โ‹…( C + D )

OUTz = ( A + B )โ‹… D + C

4 problems, 4 pages Exam One Solutions 19 September 2001

Problem 2 (3 parts, 30 points) Mixed Logic

For the following expressions, implement the Boolean expression using the specified gate type. Use correct mixed-logic notation. Do not simplify the expression. You may use 2, 3, and 4 input gates. When possible, use common subexpressions to reduce gate counts.

Implement ( A + B )โ‹… C โ‹…( D + E )using only NAND and NOT gates.

A

B

C

D

E

Out

Implement A โ‹… B โ‹… C โ‹… D โ‹… E using only NOR and NOT gates.

A

B

C

D

E

Out

Implement ( A + C )โ‹…( B +( A + C ))using only NOR and NOT gates.

A

B

C Out

4 problems, 4 pages Exam One Solutions 19 September 2001

A

A

B B

C

C

C

D

D D

prime implicants

essential? yes no A D

C D

B D

B C

simplified SOP expression (^) A โ‹… D + C โ‹… D + B โ‹… C

Part C (10 points) For the following behavior (in map format), derive a simplified product of sums expression using a Karnaugh Map. Circle and list the prime implicants, indicating which are essential. Then write the simplified POS expression.

A

A

B B

C

C

C

D

D D

prime implicants

essential? yes no B + C

A + C

D

simplified POS expression (^) ( B + C )โ‹…( A + C )โ‹… D