Exam Solutions for ECE 2030 Computer Engineering Spring 2009, Exams of Computer Science

The solutions to exam one for the computer engineering course ece 2030 in spring 2009. The exam covers topics such as incomplete circuits, boolean algebra, karnaugh maps, and mixed logic design. Students are required to complete circuits, transform boolean expressions, derive simplified expressions using karnaugh maps, and implement expressions using multi-input gates.

Typology: Exams

2012/2013

Uploaded on 04/08/2013

seema_852
seema_852 ๐Ÿ‡ฎ๐Ÿ‡ณ

3.6

(7)

87 documents

1 / 5

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE 2030 A 10:00am Computer Engineering Spring 2009
4 problems, 5 pages Exam One Solutions 4 February 2009
1
Problem 1 (3 parts, 30 points) Incomplete Circuits
The three parts below contain (A) a pull up network, (B) a pull down network, and (C) an
expression to be implemented. For (A) and (B), complete the missing complementary switching
networks so the circuit contains no floats or short and write the Boolean expression computed by
the completed circuit. For (C), design the entire switching network. Assume the inputs and their
complements are available.
Outy
C
A B
D
A
B
C
D
Outz
AB
C
D
A
B
CD
Outx
A B
DEF
C
A D
B
C
E
F
OUTx =
(
)
(
)
FECBDA +โ‹…++โ‹…
OUTy = DCBA โ‹…โ‹…โ‹…
OUTz = DCBA โ‹…++
pf3
pf4
pf5

Partial preview of the text

Download Exam Solutions for ECE 2030 Computer Engineering Spring 2009 and more Exams Computer Science in PDF only on Docsity!

4 problems, 5 pages Exam One Solutions 4 February 2009

Problem 1 (3 parts, 30 points) Incomplete Circuits

The three parts below contain (A) a pull up network, (B) a pull down network, and (C) an expression to be implemented. For (A) and (B), complete the missing complementary switching networks so the circuit contains no floats or short and write the Boolean expression computed by the completed circuit. For (C), design the entire switching network. Assume the inputs and their complements are available.

Outy

C

A B

D

A

B

C

D

Outz

A B

C

D

A

B

C D

Outx

A B

D E F

C

A D

B

C

E

F

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

OUTy = A โ‹… B โ‹… C โ‹… D

OUTz = A + B + C โ‹… D

4 problems, 5 pages Exam One Solutions 4 February 2009

Problem 2 (2 parts, 20 points) Boolean Algebra

Part A (12 points) Transform each of the following Boolean expressions to a form where they are ready for switch level implementation (i.e., there should only be bars over input variables, not over operations). The behavior of the expression should remain unchanged. Do not implement.

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

OUTY = A โ‹… B โ‹… C โ‹… D =^ A^ +^ B โ‹… C โ‹… D =^ A^ + B โ‹…( C^ + D )

Part B (8 points) Derive a canonical sum of products (using minterms) and a product of sums (using maxterms) expression for the truth table below.

A B C F(A,B,C) 0 0 0 0 1 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 1 1 0 1 1 0 1 1 1 1

SOP(MINTERMS) = A โ‹… B โ‹… C + A โ‹… B โ‹… C + A โ‹… B โ‹… C + A โ‹… B โ‹… C

POS(MAXTERMS) = ( A + B + C ) (โ‹… A + B + C ) (โ‹… A + B + C ) (โ‹… A + B + C )

4 problems, 5 pages Exam One Solutions 4 February 2009

Part C (12 points) For the follow expression, derive a simplified product of sums expression using a Karnaugh Map. Circle and list all prime implicants, indicating which are essential.

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

0 0 1 1

0 0 1 1

1 1 1 1

0 0 0 1

A

A

B B

C

C

C

D

D D

prime implicants

essential? yes no

B + C

A + B

A + C+ D

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

Problem 4 (2 parts, 22 points) Mixed Logic Design

Part A (10 points) Implement the following expression using multi-input NAND gates and inverters. Minimize the total transistors (switches) required. Use proper mixed logic design technique. Do not simplify the expression.

OUT (^) X = ( A โ‹… B + C ) โ‹… D

A B

D

C OUTX

transistors = (^) 3 x 4t + 1 x 2t = 14t

4 problems, 5 pages Exam One Solutions 4 February 2009

Part B (12 points) Implement the following two expressions using multi-input NOR gates and inverters. Minimize the total transistors (switches) required. Use proper mixed logic design technique. Do not simplify the expressions.

OUTY = A โ‹… ( B + C ) OUTZ = B + C + D

A

B

D

OUTY

C OUTZ

transistors = (^) 3 x 4t + 1 x 2t = 14t