0% found this document useful (0 votes)
46 views5 pages

Logic Gates Activity

This document describes an activity using logic gates to create circuits in an online simulator. It explains how an XNOR gate works like a comparison of equality between two inputs, while an XOR gate works like a comparison of inequality. Tables are provided to show the output of circuits using each gate with different input combinations. The document then asks the reader to create two new circuits - one using a NAND gate to compare inequality between two inputs and another using an OR gate to detect equality between inputs. Tables are included for the reader to complete the output for each new circuit given different input combinations.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
46 views5 pages

Logic Gates Activity

This document describes an activity using logic gates to create circuits in an online simulator. It explains how an XNOR gate works like a comparison of equality between two inputs, while an XOR gate works like a comparison of inequality. Tables are provided to show the output of circuits using each gate with different input combinations. The document then asks the reader to create two new circuits - one using a NAND gate to compare inequality between two inputs and another using an OR gate to detect equality between inputs. Tables are included for the reader to complete the output for each new circuit given different input combinations.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 5

Logic Gates Activity

1. Using https://logic.ly/demo create the following circuit using an


XNOR gate:

2. Complete the following table (assuming the inputs are named a


and b):

a b output
0 0 1
0 1 0
1 0 0
1 1 1

Notice that the output is only 1 when the inputs are the same.
The XNOR gate can work like an == comparison

3. Using https://logic.ly/demo create the following circuit using an


XOR gate:
4. Complete the following table (assuming the inputs are named a
and b):

a b output
0 0 0
0 1 1
1 0 1
1 1 0

Notice that the output is only 1 when the inputs are different.
The XOR gate can work like an != comparison

5. Using https://logic.ly/demo create the following two circuits where


a, b, c, d are separate inputs. Copy and paste a screenshot of
the circuits (using a Snipping Tool or similar).

Circuit 1: a != b NAND c != d
Circuit 2: a == b OR c == d
6. For Circuit 1, complete the following table (assuming the inputs
are named a, b, c and d):

a b c d output
0 0 0 0 1
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 0
0 1 1 0 0
0 1 1 1 0
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 0
1 1 0 0 0
1 1 0 1 0
1 1 1 0 0
1 1 1 1 1

7. When is the lightbulb in circuit 1 turned on?


The bulb is on when both switches are either on or off.
8. For Circuit 2, complete the following table (assuming the inputs
are named a, b, c and d):

a b c d output
0 0 0 0 0
0 0 0 1 1
0 0 1 0 1
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0
0 1 1 0 0
0 1 1 1 1
1 0 0 0 1
1 0 0 1 0
1 0 1 0 0
1 0 1 1 1
1 1 0 0 0
1 1 0 1 1
1 1 1 0 1
1 1 1 1 0

9. When is the lightbulb in circuit 2 turned on?


The bulb is on when one or three of the four bulbs are turned on.
10. Explain in simple terms why the two circuits have the same
output given the same inputs.
The two circuits have complete opposite outputs. If circuit one has an
about of 1 then circuit 2 has an output of 0.

You might also like