Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Q1: complete the following table.

Logical Truth table


gate
Name

A Z

A B Z

A B Z

A B Z

A B Z
Q2: complete truth table for the following logical circuit

A B C D E Z(output)
0 0
0 1
1 0
1 1
Q3: Complete the truth table for the given logic circuit

A B C Working space Y
0 0 0

0 0 1

0 1 0

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1
Q4: Build logic gates to test the following logical statement
a. (A AND B) OR C

b. (A OR B) AND C
Q5:
Q6:
Q7:
a. Draw a diagram to show how these two sets intersect
x1 = {'foo', 'bar', 'baz'}
x2 = {'baz', 'qux', 'quux'}

b. X1UX2=

c. X1 ∩ X2=

d. X1 - X2=

You might also like