Identify the type of logic gate shown in this schematic diagram, and explain why it has the name it does:

This is an inverter gate, so named because its output is always the opposite (inverted) state as the input.
Note: inverter gates are often shown like this instead:

Note: inverter gates are sometimes referred to as NOT gates, because when the input is high, the output will not be high.
Your students should have no great difficulty identifying this particular logic gate if they have a good digital electronics reference book at their disposal.
Identify the type of logic gate shown in this schematic diagram, and explain why it has the name it does:

This is an AND gate, so named because its output goes high only if input A is high and input B is high.
Followup question: show how a lightemitting diode could be connected to the output of this logic gate to provide visual indication of its output state.
Challenge question: show how this logic gate could drive a highcurrent load such as a solenoid or an electric motor.
Your students should have no great difficulty identifying this particular logic gate if they have a good digital electronics reference book at their disposal.
Identify the type of logic gate shown in this schematic diagram, and explain why it has the name it does:

This is an OR gate, so named because its output goes high if either input A is high or input B is high.
Followup question: replace the two SPDT switches with SPST switches, complete with pullup or pulldown resistors as necessary.
Your students should have no great difficulty identifying this particular logic gate if they have a good digital electronics reference book at their disposal.
Crude logic gates circuits may be constructed out of nothing but diodes and resistors. Take for example this logic gate circuit:

Identify what type of logic function is represented by this gate circuit (AND, OR, inverter, etc.).
This is an OR gate circuit.
Dioderesistor gate circuits such as this are rarely used in real digital circuitry because they have no capacity to amplify weak input signals. They also have no capacity for signal inversion, rendering them incapable of representing a great many logic function types. Gates made from transistors are much preferred over dioderesistor technology.
Crude logic gates circuits may be constructed out of nothing but diodes and resistors. Take for example this logic gate circuit:

Identify what type of logic function is represented by this gate circuit (AND, OR, inverter, etc.). Also, trace the directions of all currents in this circuit.
This is an AND gate circuit.

Followup question: show how the two SPDT switches could be replaced by SPST switches (without the need for pullup or pulldown resistors).
Challenge question: explain why it may be impractical to design this dioderesistor gate circuit to directly drive an LED so that it lights up when the output state is “high.”
Dioderesistor gate circuits such as this are rarely used in real digital circuitry because they have no capacity to amplify weak input signals. They also have no capacity for signal inversion, rendering them incapable of representing a great many logic function types. Gates made from transistors are much preferred over dioderesistor technology.
Identify each of these logic gates by name, and complete their respective truth tables:


In order to familiarize students with the standard logic gate types, I like to given them practice with identification and truth tables each day. Students need to be able to recognize these logic gate types at a glance, or else they will have difficulty analyzing circuits that use them.
One way to think of the basic logic gate types (all but the XOR and XNOR gates) is to consider what single input state guarantees a certain output state. For example, we could describe the function of an OR gate as such:

Identify what type of gate is represented by each of the following phrases:
This is a very useful way to think of the different logic gate types, as often you are faced with a choice of which gate type to use for a specific function in a digital circuit based on a requirement cast in these terms (“Any blank input guarantees a blank output”).
For example, we might need a gate to perform a “disable” function for a digital signal:

Considered in terms of what input state forces a low output, the choice to use an AND gate becomes obvious.
One way to think of logic gate types is to consider what input states guarantee a certain output state. For example, we could describe the function of an AND gate as such:

Identify what type of gate is represented by each of the following phrases:
Also, explain how this sort of gate identification could be useful in troubleshooting logic gate circuits.
This is a very useful way to think of the different logic gate types, as often you are faced with a choice of which gate type to use for a specific function in a digital circuit based on a requirement cast in these terms (“Any blank input guarantees a blank output”).
For example, we might need a gate to perform a “disable” function for a digital signal:

Considered in terms of what input state forces a low output, the choice to use an AND gate becomes obvious.
A different way to view the functions of twoinput logic gates is to think of them in terms of signal controllers, where the status of one input affects how the other input’s signal passes through to the output. The generic schematic diagram for this format is as such:

Identify the types of logic gates which do the following (there is more than one type of gate for each of the following rules!):
Also, explain how an understanding of this can be helpful in troubleshooting faulted logic gates.
Followup question: explain why XOR and XNOR gates are so useful as signal controllers.
This is a very useful way to think of the different logic gate types, as it is often required to use a gate as a controlled buffer or controlled inverter.
Many types of logic gate circuits are built with more than two inputs. These are useful, even necessary, in some digital circuit applications. Research the part numbers and datasheets of the following logic gate integrated circuits:
It would be far too easy for you to look here for the answers! Research the website of a digital IC manufacturer, or consult a reference book, to find the part numbers and datasheets you’re looking for. Be prepared to show at least one datasheet for class discussion.
If you haven’t already, ask your students to provide a sample truth table for any of these gates.
Complete the truth table for a threeinput AND gate:



Followup question: how do you suppose the truth tables would look like for threeinput OR, NOR, and NAND gates? Explain how one may transition from the regular twoinput gates to gate circuits with more than two inputs. What remains the same despite additional input lines?
There isn’t much to comment on here, but this is a concept some students do not immediately see (how gates work with more than two inputs).
Suppose you needed a twoinput AND gate, but happened to have an unused 3input AND gate in one of the integrated circuits (“chips”) already in the system you were building. Of course, you could just add another IC containing 2input AND gates, but it seems a shame to waste the 3input gate already there.
Explain what you would need to do with the third input terminal on this gate in order to use it as a 2input AND gate:

Now, explain what to do with each of the following gates’ third inputs, in order to use each of them as 2input gates:

In each case, describe why your solution works.

A helpful way for students to think about this question is to consider gates in terms of what input state forces the output to go to a particular state. For example, AND gate outputs are forced low by any low input, therefore the unused input had better not be tied to ground  the only remaining option is to tie it high.
Published under the terms and conditions of the Creative Commons Attribution License
by Jake Hertz
by Steve Arar