Topic 7 Logic Gates: Learning Outcomes

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

TOPIC 7

Logic Gates

“If you are not willing to learn, no one can help you.

If you are determined to learn, no one can stop you”

     
LEARNING OUTCOMES:

At the end of this lesson, you are expected to:

1. Draw the equivalent electronic circuits of various digital logic gates.


2. Determine the output of the different logic gates given two inputs.
3. Write a truth table that represents the logic gate.

PRE-TASK: Analyse the circuit below and answer the questions that follow.

COMPREHENSION QUESTIONS:

Answer individually. Write your answers on a separate sheet of paper for submission.
1. What will be the value of output Z if the value of A, B, and C are 1?
2. What will be the value of output Z if the value of A, B, and C are 0?

LESSON

LOGIC GATES
https://www.tutorialspoint.com/computer_logical_organization/logic_gates.htm

Logic gates are the basic building blocks of any digital system. It is an electronic circuit having one or more than
one input and only one output. The relationship between the input and the output is based on a certain logic. Based on
this, logic gates are named as AND gate, OR gate, NOT gate etc.

Logic gates are primarily implemented using diodes or transistors acting as electronic switches, but can also be
constructed using vacuum tubes, electromagnetic relays (relay logic), fluidic logic, pneumatic logic, optics, molecules, or
even mechanical elements. With amplification, logic gates can be cascaded in the same way that Boolean functions can
be composed, allowing the construction of a physical model of all of Boolean logic, and therefore, all of the algorithms
and mathematics that can be described with Boolean logic.
Logic circuits include such devices as multiplexers, registers, arithmetic logic units (ALUs), and computer
memory, all the way up through complete microprocessors, which may contain more than 100 million gates. In modern
practice, most gates are made from MOSFETs (metal–oxide–semiconductor field-effect transistors).
Compound logic gates AND-OR-Invert (AOI) and OR-AND-Invert (OAI) are often employed in circuit design
because their construction using MOSFETs is simpler and more efficient than the sum of the individual gates

AND Gate
A circuit which performs an AND operation is shown in
figure. It has n input (n >= 2) and one output.
Truth Table

Logic diagram

OR Gate
A circuit which performs an OR operation is shown in
figure. It has n input (n >= 2) and one output.
Truth Table

Logic diagram

NOT Gate
NOT gate is also known as Inverter. It has one input A
and one output Y.

Truth Table

Logic diagram

NAND Gate
A NOT-AND operation is known as NAND operation. It Truth Table
has n input (n >= 2) and one output.

Logic diagram

NOR Gate
A NOT-OR operation is known as NOR operation. It has Truth Table
n input (n >= 2) and one output.

Logic diagram

XOR Gate
XOR or Ex-OR gate is a special type of gate. It can be
used in the half adder, full adder and subtractor. The
exclusive-OR gate is abbreviated as EX-OR gate or
sometime as X-OR gate. It has n input (n >= 2) and one
output.
Truth Table

Logic diagram

XNOR Gate
XNOR gate is a special type of gate. It can be used in
the half adder, full adder and subtractor. The
exclusive-NOR gate is abbreviated as EX-NOR gate or
sometime as

X-NOR gate. It has n input (n >= 2) and one output.

Logic diagram

Truth Table
Truth Tables
The descriptions above are adequate to describe the functionality of single blocks, but there is a more useful tool available:
the truth table. Truth tables are simple plots which explain the output of a circuit in terms of the possible inputs to that circuit.
Here are truth tables describing the six main elements:

Truth tables can be expanded out to an arbitrary scale, with as many inputs and outputs as you can handle before your brain
melts. Here's what a four-input circuit and truth table look like:

POST TASK.

1. Draw a 3-input single-output diagram of the six logic gates.


2. Make the corresponding truth tables of each of the six logic gates

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy