Introduction To Gates Assignment
Introduction To Gates Assignment
(A + B)(B + C)
(AB + C)D
A’B + (B+C)’
(AB)’ + (CD)’
A B AB A+B AB + (A+B)
0 0
0 1
1 0
1 1
A B A’ AB A’ (AB)
0 0
0 1
1 0
1 1
7. Show the behavior of the following circuit with a truth table:
A
C
A B C A’ BC A’(BC)
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
8. Show the behavior of the following circuit with a truth table:
A
Questions
3. Write down a logic expression to detect decimal 2, 3, 4 and 5 and simplify it by using Boolean
algebra. Construct the logic circuit according to the final expression in Tinkercad. (Place LEDs
to indicate all the inputs and outputs). Check whether it gives the correct output and measure
the output voltage and fill the Output column.
A B C Output
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
4. Simplify the following logic expression and construct the circuit according to the final
expression in Tinkercad (Place LEDs to indicate all the inputs and outputs). Write down the
truth table for the operation of the circuit. Measure the output voltage and fill the Output
column. Final expression should be; AB + BC +AC
5. You are given the following truth table where A,B,C,D are inputs to the circuit and Q is the
output. Write down the logic expression for Q and simplify it by using Boolean algebra. Draw
the circuit diagram. Construct the logic circuit according to the final expression in Tinkercad
(Place LEDs to indicate all the inputs and outputs). Add “Output” column for the table and
measure the output voltage and fill the Output column.
A B C D Q
0 0 0 0 1
0 0 0 1 0
0 0 1 0 1
0 0 1 1 1
0 1 0 0 1
0 1 0 1 1
0 1 1 0 0
0 1 1 1 1
1 0 0 0 1
1 0 0 1 0
1 0 1 0 1
1 0 1 1 1
1 1 0 0 0
1 1 0 1 1
1 1 1 0 0
1 1 1 1 1
Binary Addition
Input Output
A B S C
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
Input Output
C A B S C1
0 0 0 0 0 A
S
1 0 0 1 0 B
C1
0 1 0 1 0 A
C
1 1 0 0 1 A
0 0 1 1 0
1 0 1 0 1 Block diagram of a full adder
0 1 1 0 1
1 1 1 1 1
Questions
1. Write down the logic expressions for half adder circuit using the truth table provided above.
Simplify it by using Boolean algebra and construct the circuit on Tinkercad according to the
final expression (Place LEDs to indicate all the inputs and outputs). Check whether it gives the
correct output and measure the output voltages and fill the Output column.
2. Write down the logic expressions for full adder circuit using the truth table provided above.
Simplify it by using Boolean algebra. Construct the circuit according to the final expression.
Construct the logic circuit according to the final expression in Tinkercad (Place LEDs to
indicate all the inputs and outputs). Check whether it gives the correct output and measure the
output voltages and fill the Output column. Final expressions should be;
S = C ( A B) : XOR gate
C1= C. ( A B ) + A.B
3. Draw a circuit using two full adders that adds two two-bit binary values. Show its
corresponding truth table. Construct the logic circuit according to the final expression in
Tinkercad (Place LEDs to indicate all the inputs and outputs). Check whether it gives the
correct output and measure the output voltages and fill the Output column.