SlideShare a Scribd company logo
Chapter-4 Logic Gates
SUPERVISED BY
FARHAD AHMED
LECTURER OF ICT and CS
Learning Objective
• Use logic gates to create electronic circuits
• Understand and define the functions of NOT, AND, OR, NAND, NOR and XOR (EOR) gates, including the binary output produced from all
the possible binary inputs (all gates, except the NOT gate, will have 2 inputs only)
• Draw truth tables and recognise a logic gate from its truth table
• Recognise and use the following standard symbols used to represent logic gates:
• Produce truth tables for given logic circuits, for example:
• Produce a logic circuit to solve a given problem or to implement a given written logic statement
Types of Logic Gates
• A logic gate is a basic foundation of a digital circuit.
• Various tasks are performed in a computer by switching on a high voltage
or a low voltage through a digital circuit called a logic gate (0 and 1).
• Six different logic gates: NOT, AND, OR, NAND, NOR and XOR (EOR)
gates.
Truth Table
• Truth tables are used to trace the output from a logic gate or logic circuit. The NOT gate is the
only logic gate with one input; the other five gates have two inputs.
• Each logic gate can only have one or two inputs, the number of inputs to a logic circuit can be
more than 2; for example, three inputs give a possible 23
(=8) binary combinations. And for four
inputs, the number of possible binary combinations is 24
(=16).
Truth Table Continue
The function of the six logic gates
• NOT gate-
The function of the six logic gates
• AND gate-
The function of the six logic gates
• NAND gate (NOT AND)-
The function of the six logic gates
• OR gate-
The function of the six logic gates
• NOR gate (NOT OR)-
The function of the six logic gates
• XOR gate-
Logic circuits
• Creating a truth table for a logic circuit-
Logic circuits
• Creating a truth table for a logic circuit-
Creating a circuit diagram from a logic statement
• Example-1:- X= NOT(A OR B)
Creating a circuit diagram from a logic statement
• Example-2:- X= (NOT C) AND (A OR B)
1.
2.
3.
4.
Example of logic gates with statement
• A safety system uses three inputs to a logic circuit. An alarm, X, sounds if input A represents ON
and input B represents OFF; or if input B represents ON and input C represents OFF. Produce a
logic circuit and truth table to show the conditions that cause the output X to be 1.
Example of logic gates with statement
• A wind turbine has a safety system which uses three inputs to a logic circuit. A certain
combination of conditions results in an output, X, from the logic circuit being equal to 1. When
the value of X = 1 then the wind turbine is shut down. The following table shows which
parameters are being monitored and form the three inputs to the logic circuit.
Example of logic gates with statement (Cont)
• The output, X, will have a value of 1 if any of the following
combination of conditions occur:
• Either turbine speed <= 1000 rpm and bearing temperature > 80°C
• Or turbine speed > 1000 rpm and wind velocity > 120 kph
• Or bearing temperature <= 80°C and wind velocity > 120 kph
• Design the logic circuit and complete the truth table to
produce a value of X = 1 when either of the three
conditions above occur.
Example of logic gates with statement (Cont)
THANK YOU
&
Any Questions?

More Related Content

PDF
Basic Logic Gates with Truth Tables.pdf
PDF
Logic gates
PDF
PLC Logic Circuits
PPTX
Logic Gates (Physics Investigatory Project Class 11&12).pptx
PPT
Presentation on Logic gates in Computer aarcjitecture.Logic_Gates.ppt
PPTX
Logic gates 07 11-2014
PPTX
investagatory PHYSICS-LOGIC GATES
PPT
LOGIC GATES
Basic Logic Gates with Truth Tables.pdf
Logic gates
PLC Logic Circuits
Logic Gates (Physics Investigatory Project Class 11&12).pptx
Presentation on Logic gates in Computer aarcjitecture.Logic_Gates.ppt
Logic gates 07 11-2014
investagatory PHYSICS-LOGIC GATES
LOGIC GATES

Similar to Lecture-4 Logic Gates about the output device (20)

PPTX
DOC-20240203-WA0000.pptx
DOCX
Physics project on logic gate
PPTX
Logic gates
PPTX
Logic gates 1
PPT
12733771.ppt
PPTX
LOGIC GATES, TYPES AND THEIR TRUTH TABLES.
PPTX
Electronics: Logic Gates
PDF
logic gates By ZAK
PDF
BASIC LOGIC GATES.pdf
PPTX
Logic___Gates__Simple__Presentation.pptx
DOCX
Physics investigatory project
PPTX
Lecture 04-Digital logic gates.pptx
PPTX
L10 Slides ΓÇô Computer Systems ΓÇô KS4.pptx
PPTX
Logic circuits and design PART 3.pptx
PPT
practical of hypothesis logic gates .ppt
PPT
basic logic gate presentation date23.ppt
PPT
6_2019_04_09!08_59_48_PM logic gate_.ppt
PPTX
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
PPTX
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
PDF
logic gates
DOC-20240203-WA0000.pptx
Physics project on logic gate
Logic gates
Logic gates 1
12733771.ppt
LOGIC GATES, TYPES AND THEIR TRUTH TABLES.
Electronics: Logic Gates
logic gates By ZAK
BASIC LOGIC GATES.pdf
Logic___Gates__Simple__Presentation.pptx
Physics investigatory project
Lecture 04-Digital logic gates.pptx
L10 Slides ΓÇô Computer Systems ΓÇô KS4.pptx
Logic circuits and design PART 3.pptx
practical of hypothesis logic gates .ppt
basic logic gate presentation date23.ppt
6_2019_04_09!08_59_48_PM logic gate_.ppt
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
logic gates
Ad

Recently uploaded (20)

PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Cell Types and Its function , kingdom of life
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Cell Structure & Organelles in detailed.
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Presentation on HIE in infants and its manifestations
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Lesson notes of climatology university.
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Institutional Correction lecture only . . .
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
O7-L3 Supply Chain Operations - ICLT Program
Cell Types and Its function , kingdom of life
GDM (1) (1).pptx small presentation for students
human mycosis Human fungal infections are called human mycosis..pptx
Cell Structure & Organelles in detailed.
O5-L3 Freight Transport Ops (International) V1.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Presentation on HIE in infants and its manifestations
Microbial diseases, their pathogenesis and prophylaxis
202450812 BayCHI UCSC-SV 20250812 v17.pptx
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Lesson notes of climatology university.
Complications of Minimal Access Surgery at WLH
Institutional Correction lecture only . . .
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Ad

Lecture-4 Logic Gates about the output device

  • 1. Chapter-4 Logic Gates SUPERVISED BY FARHAD AHMED LECTURER OF ICT and CS
  • 2. Learning Objective • Use logic gates to create electronic circuits • Understand and define the functions of NOT, AND, OR, NAND, NOR and XOR (EOR) gates, including the binary output produced from all the possible binary inputs (all gates, except the NOT gate, will have 2 inputs only) • Draw truth tables and recognise a logic gate from its truth table • Recognise and use the following standard symbols used to represent logic gates: • Produce truth tables for given logic circuits, for example: • Produce a logic circuit to solve a given problem or to implement a given written logic statement
  • 3. Types of Logic Gates • A logic gate is a basic foundation of a digital circuit. • Various tasks are performed in a computer by switching on a high voltage or a low voltage through a digital circuit called a logic gate (0 and 1). • Six different logic gates: NOT, AND, OR, NAND, NOR and XOR (EOR) gates.
  • 4. Truth Table • Truth tables are used to trace the output from a logic gate or logic circuit. The NOT gate is the only logic gate with one input; the other five gates have two inputs. • Each logic gate can only have one or two inputs, the number of inputs to a logic circuit can be more than 2; for example, three inputs give a possible 23 (=8) binary combinations. And for four inputs, the number of possible binary combinations is 24 (=16).
  • 6. The function of the six logic gates • NOT gate-
  • 7. The function of the six logic gates • AND gate-
  • 8. The function of the six logic gates • NAND gate (NOT AND)-
  • 9. The function of the six logic gates • OR gate-
  • 10. The function of the six logic gates • NOR gate (NOT OR)-
  • 11. The function of the six logic gates • XOR gate-
  • 12. Logic circuits • Creating a truth table for a logic circuit-
  • 13. Logic circuits • Creating a truth table for a logic circuit-
  • 14. Creating a circuit diagram from a logic statement • Example-1:- X= NOT(A OR B)
  • 15. Creating a circuit diagram from a logic statement • Example-2:- X= (NOT C) AND (A OR B) 1. 2. 3. 4.
  • 16. Example of logic gates with statement • A safety system uses three inputs to a logic circuit. An alarm, X, sounds if input A represents ON and input B represents OFF; or if input B represents ON and input C represents OFF. Produce a logic circuit and truth table to show the conditions that cause the output X to be 1.
  • 17. Example of logic gates with statement • A wind turbine has a safety system which uses three inputs to a logic circuit. A certain combination of conditions results in an output, X, from the logic circuit being equal to 1. When the value of X = 1 then the wind turbine is shut down. The following table shows which parameters are being monitored and form the three inputs to the logic circuit.
  • 18. Example of logic gates with statement (Cont) • The output, X, will have a value of 1 if any of the following combination of conditions occur: • Either turbine speed <= 1000 rpm and bearing temperature > 80°C • Or turbine speed > 1000 rpm and wind velocity > 120 kph • Or bearing temperature <= 80°C and wind velocity > 120 kph • Design the logic circuit and complete the truth table to produce a value of X = 1 when either of the three conditions above occur.
  • 19. Example of logic gates with statement (Cont)