Docsity

ECE 349: Logic Circuits Homework Assignment Solutions, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 349 Homework Assignment #2
1. Find an expression for f=a0b0c0+abc0+a0bc +ab0cthat uses only the exclusive-OR
and complement operations.
2. The following table shows the input and output voltages for a 2-input logic gate circuit.
Translate the table to a truth table using positive logic and then negative logic. What
are the logic functions realized in each case?
e1e2e0
0 0 0
0 +5 +5
+5 0 +5
+5 +5 +5
3. Express each of the following as minterm expansions.
(a) f(a, b, c) = a+b0c(b) f(x, y, z ) = QM(0,4,5,7)
4. Express each of the following as maxterm expansions.
(a) f(a, b, c) = (a+b0)(a0+b+c)(b+c0) (b) f(x, y, z) = Pm(1,3,5,6)
5. For f(a, b, c) = (ab+c)(a0+b0), find the minterm and maxterm expansions (use mand
Mnotation).
6. For the table below, express f as a minterm expansion (use mnotation) and as a
maxterm expansion (use Mnotation).
a b c f
0 0 0 0
0 0 1 1
0 1 0 X
0 1 1 1
1 0 0 0
1 0 1 X
1 1 0 1
1 1 1 0
7. For the truth table of the previous problem, find the simplest expression for f.
8. A bank vault has three locks with a different key for each lock. Each key is owned by a
different person. In order to open the door, at least two people must insert their keys
into the assigned locks. The signals A,B, and Care 1 if there is a key inserted into
lock 1, 2, or 3, respectively. Write an equation for the variable Z, which is 1 iff the
door should open.
pf2

Partial preview of the text

Download ECE 349: Logic Circuits Homework Assignment Solutions and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE 349 Homework Assignment #

  1. Find an expression for f = a′b′c′^ + abc′^ + a′bc + ab′c that uses only the exclusive-OR and complement operations.
  2. The following table shows the input and output voltages for a 2-input logic gate circuit. Translate the table to a truth table using positive logic and then negative logic. What are the logic functions realized in each case?

e 1 e 2 e 0 0 0 0 0 +5 + +5 0 + +5 +5 +

  1. Express each of the following as minterm expansions.

(a) f (a, b, c) = a + b′c (b) f (x, y, z) =

∏ M(0, 4 , 5 , 7)

  1. Express each of the following as maxterm expansions.

(a) f (a, b, c) = (a + b′)(a′^ + b + c)(b + c′) (b) f (x, y, z) =

∑ m(1, 3 , 5 , 6)

  1. For f (a, b, c) = (ab + c)(a′^ + b′), find the minterm and maxterm expansions (use m and M notation).
  2. For the table below, express f as a minterm expansion (use m notation) and as a maxterm expansion (use M notation). a b c f 0 0 0 0 0 0 1 1 0 1 0 X 0 1 1 1 1 0 0 0 1 0 1 X 1 1 0 1 1 1 1 0
  3. For the truth table of the previous problem, find the simplest expression for f.
  4. A bank vault has three locks with a different key for each lock. Each key is owned by a different person. In order to open the door, at least two people must insert their keys into the assigned locks. The signals A, B, and C are 1 if there is a key inserted into lock 1, 2, or 3, respectively. Write an equation for the variable Z, which is 1 iff the door should open.
  1. A combinational switching network has four inputs (A, B, C, D) and one output Z. The output is 1 iff three or more of the inputs are 1. Design the network using two AND gates and three OR gates. Assume that each gate has a maximum of three inputs so that it will be necessary to partially factor your logic equation before you realize it.
  2. (Optional 2 Points) A combinational network has four inputs (a, b, c, d) and three out- puts (x, y, z). The outputs represent a binary number whose value equals the number of 1’s at the input. For example, if abcd = 1011, then xyz = 011. Find the maxterm expansion for x, y, and z.
  3. Provide the truth table for the following circuit.

A

A B

F

C