TEJ2O1: Digital Logic

Konrad Madden

D I G I TA L
Go to the following
www.neuroproductions.be/logicL O G Iwebsite:
C
lab/
S I M U L AT
1. Scroll to the bottom, and click on “LOGIC PORTS” to
OR
examine circuits illustrating the gates that we have learned
about. Turn the switches on and off, and observe what
happens.
a) Under what condition(s) does the light turn on for the AND gate?

Both switches must be on.

b) Under what condition(s) does the light turn on for the OR gate?

One switch must be off and one must be on.

c) Under what condition(s) does the light turn on for the NOT gate?

When the switch is off the lights is on.

d) Under what condition(s) does the light turn on for the NAND
gate?

Both switches must be off.

e) Under what condition(s) does the light turn on for the NOR
gate?

Both switches must be off in order for it to be on.

f) Under what condition(s) does the light turn on for the XOR gate?
When one is on and another is off.
2. Clear the stage by

clicking on

Create the circuits listed below, and answer the following
questions. Take a screenshot of the circuit and paste it into the
answer space to the right.
a)

One input flowing straight to a red light bulb.
What happens when the switch is turned “ON”?
The light turns on.
What happens when the switch is turned “OFF”?
The lights turns off.

TEJ2O1: Digital Logic

Konrad Madden

b) Two inputs flowing to an OR gate (but one flows through a NOT

gate first), and the output goes into a light bulb.
You will notice that there are many conditions under
which the light bulb will be “ON”. What is the only
scenario in which the light bulb will be “OFF”?
When the switch running through the NOT gate is on and the
One going through the or gate is off the light is off.

c)

Two inputs flowing to an XOR gate, and the fan as the output.
What happens when one switch is “ON”?
The fan turns on.
What happens when both switches are “ON”?
The fan turns off.
What happens when both switches are “OFF”?
The fan turns off.

d) Two inputs flowing to an AND gate and then that output flows
through a NOT gate, and into a light bulb.
Under what conditions does the light bulb turn OFF?
When both switches are on.
Describe what is happening under this condition.
(i.e. follow the flow through the circuit) That because
When both switches are on it makes the AND gate turns on,
Then the NOT gate inverts the signal to off.
e) Two inputs flowing to a NAND gate and then that output flows
through a NOT gate, and into a light bulb.
Under what conditions does the light bulb turn ON?
When both switches are on.
Describe what is happening under this condition.
(i.e. follow the flow through the circuit) When both
Switches are on and it goes through the NAND gate it inverts
The signal to off, then the NOT gate inverts the signal of the
NAND gate and turns it back on.
f) Two inputs flowing to a NOR gate and then that output flows
(along with a third input) to an AND gate.

TEJ2O1: Digital Logic

Konrad Madden

Under what conditions does the light bulb turn ON?
When two switches flowing into the NOR gate are off
And the switch flowing into the and gate is on.
Describe what is happening under this condition.
(i.e. follow the flow through the circuit) When the two
Switches are flowing into the NOR gate and they are
Both off the NOR gate is on, and when from the
NOR gate and the switch to the AND gate are both on
Then the light is on.
.
3. Use these basic logic gates to create a couple of your own
complex circuits. Then figure out the truth table for them.
Challenge another member of the class to figure out the
truth table as well. See if your truth tables match what
actually happens in the circuit. Limit yourself to only 2
inputs.