SlideShare a Scribd company logo
1 of 6
O = NOT (A AND B)   O = NOT (A OR B)   O = (NOT A) AND B




         Make a TRUTH TABLE for each of
            the above logic diagrams
Answers
NAND     NOR
More about logic tables
• To produce a truth table from a logic diagram you need to
  work out the outputs for every possible combination of
  inputs.

   – If a logic diagram has only 2 inputs then there will only be 4 input
     combinations (00, 01, 10 and 11).
   – If there are 3 inputs then there will be 8 possible combinations.
   – 4 inputs would give 16 combinations.


• Therefore n inputs gives 2n outputs
Now try making a TRUTH TABLE for this diagram…




       This is called a half-adder circuit.
            Can you work out why?
Half-adder Circuit
• Are designed to add 2 binary numbers with a
  carry (C) if the sum (S) is greater than 1.

• So this can be expressed as a logic statement:
S = (A OR B) AND (NOT (A AND B))
C = (A AND B)
Logic diagrams starter teacher version

More Related Content

What's hot

SMIU Discrete Structure Lecture 3 Section 3E.pdf
SMIU Discrete Structure Lecture 3 Section 3E.pdfSMIU Discrete Structure Lecture 3 Section 3E.pdf
SMIU Discrete Structure Lecture 3 Section 3E.pdfMuhammadUmerIhtisham
 
INTRODUCTION TO DIGITAL ELECTRONICS & HALF ADDER (LINK TO VIDEO IN DESCRIPTI...
INTRODUCTION TO DIGITAL ELECTRONICS & HALF ADDER (LINK TO  VIDEO IN DESCRIPTI...INTRODUCTION TO DIGITAL ELECTRONICS & HALF ADDER (LINK TO  VIDEO IN DESCRIPTI...
INTRODUCTION TO DIGITAL ELECTRONICS & HALF ADDER (LINK TO VIDEO IN DESCRIPTI...George Thomas
 
FULL ADDER (VIDEO LINK IN DESCRIPTION)
FULL ADDER (VIDEO  LINK IN DESCRIPTION)FULL ADDER (VIDEO  LINK IN DESCRIPTION)
FULL ADDER (VIDEO LINK IN DESCRIPTION)George Thomas
 
Intro to coordinate plane
Intro to coordinate planeIntro to coordinate plane
Intro to coordinate planemathgirl1217
 
3.2 exponential function tables
3.2 exponential function tables3.2 exponential function tables
3.2 exponential function tableshisema01
 
8.1 exponential growth
8.1 exponential growth8.1 exponential growth
8.1 exponential growthhisema01
 
3.3 graphs of exponential functions
3.3 graphs of  exponential functions3.3 graphs of  exponential functions
3.3 graphs of exponential functionshisema01
 
Question 3 Solution
Question 3 SolutionQuestion 3 Solution
Question 3 SolutionShinobi
 
Rational functions
Rational functionsRational functions
Rational functionsjennahall1
 
Absolute value functions
Absolute value functionsAbsolute value functions
Absolute value functionsAlexander Nwatu
 
Lecture 14 data structures and algorithms
Lecture 14 data structures and algorithmsLecture 14 data structures and algorithms
Lecture 14 data structures and algorithmsAakash deep Singhal
 
Coordinate Plane Review
Coordinate Plane ReviewCoordinate Plane Review
Coordinate Plane ReviewAndrew Israel
 
5.2 solve quadratic equations by graphing.vertex and intercept form
5.2 solve quadratic equations by graphing.vertex and intercept form5.2 solve quadratic equations by graphing.vertex and intercept form
5.2 solve quadratic equations by graphing.vertex and intercept formmorrobea
 
Jan. 13 polynonial sketching
Jan. 13 polynonial sketchingJan. 13 polynonial sketching
Jan. 13 polynonial sketchingRyanWatt
 
Cubic Function and Reciprocal Function (ALDO ANDIKA)
Cubic Function and Reciprocal Function (ALDO ANDIKA)Cubic Function and Reciprocal Function (ALDO ANDIKA)
Cubic Function and Reciprocal Function (ALDO ANDIKA)Robertus Aldo Andika
 

What's hot (18)

SMIU Discrete Structure Lecture 3 Section 3E.pdf
SMIU Discrete Structure Lecture 3 Section 3E.pdfSMIU Discrete Structure Lecture 3 Section 3E.pdf
SMIU Discrete Structure Lecture 3 Section 3E.pdf
 
2. Real numbers
2. Real numbers2. Real numbers
2. Real numbers
 
INTRODUCTION TO DIGITAL ELECTRONICS & HALF ADDER (LINK TO VIDEO IN DESCRIPTI...
INTRODUCTION TO DIGITAL ELECTRONICS & HALF ADDER (LINK TO  VIDEO IN DESCRIPTI...INTRODUCTION TO DIGITAL ELECTRONICS & HALF ADDER (LINK TO  VIDEO IN DESCRIPTI...
INTRODUCTION TO DIGITAL ELECTRONICS & HALF ADDER (LINK TO VIDEO IN DESCRIPTI...
 
FULL ADDER (VIDEO LINK IN DESCRIPTION)
FULL ADDER (VIDEO  LINK IN DESCRIPTION)FULL ADDER (VIDEO  LINK IN DESCRIPTION)
FULL ADDER (VIDEO LINK IN DESCRIPTION)
 
Intro to coordinate plane
Intro to coordinate planeIntro to coordinate plane
Intro to coordinate plane
 
3.2 exponential function tables
3.2 exponential function tables3.2 exponential function tables
3.2 exponential function tables
 
Lecture25
Lecture25Lecture25
Lecture25
 
8.1 exponential growth
8.1 exponential growth8.1 exponential growth
8.1 exponential growth
 
3.3 graphs of exponential functions
3.3 graphs of  exponential functions3.3 graphs of  exponential functions
3.3 graphs of exponential functions
 
Lecture 16
Lecture 16Lecture 16
Lecture 16
 
Question 3 Solution
Question 3 SolutionQuestion 3 Solution
Question 3 Solution
 
Rational functions
Rational functionsRational functions
Rational functions
 
Absolute value functions
Absolute value functionsAbsolute value functions
Absolute value functions
 
Lecture 14 data structures and algorithms
Lecture 14 data structures and algorithmsLecture 14 data structures and algorithms
Lecture 14 data structures and algorithms
 
Coordinate Plane Review
Coordinate Plane ReviewCoordinate Plane Review
Coordinate Plane Review
 
5.2 solve quadratic equations by graphing.vertex and intercept form
5.2 solve quadratic equations by graphing.vertex and intercept form5.2 solve quadratic equations by graphing.vertex and intercept form
5.2 solve quadratic equations by graphing.vertex and intercept form
 
Jan. 13 polynonial sketching
Jan. 13 polynonial sketchingJan. 13 polynonial sketching
Jan. 13 polynonial sketching
 
Cubic Function and Reciprocal Function (ALDO ANDIKA)
Cubic Function and Reciprocal Function (ALDO ANDIKA)Cubic Function and Reciprocal Function (ALDO ANDIKA)
Cubic Function and Reciprocal Function (ALDO ANDIKA)
 

Similar to Logic diagrams starter teacher version

IS 151 Lecture 9
IS 151 Lecture 9IS 151 Lecture 9
IS 151 Lecture 9wajanga
 
Unlock Your Mathematical Potential with MathAssignmentHelp.com! 🧮✨
Unlock Your Mathematical Potential with MathAssignmentHelp.com! 🧮✨Unlock Your Mathematical Potential with MathAssignmentHelp.com! 🧮✨
Unlock Your Mathematical Potential with MathAssignmentHelp.com! 🧮✨Maths Assignment Help
 
I semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptxI semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptxMayank Pandey
 
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra .docx
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra   .docxELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra   .docx
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra .docxjack60216
 
Digital Electronics Unit_1.pptx
Digital Electronics Unit_1.pptxDigital Electronics Unit_1.pptx
Digital Electronics Unit_1.pptxThapar Institute
 
Information Theory and Coding - Lecture 4
Information Theory and Coding - Lecture 4Information Theory and Coding - Lecture 4
Information Theory and Coding - Lecture 4Aref35
 
Lesson4.4 u4 l1 using hex
Lesson4.4 u4 l1 using hexLesson4.4 u4 l1 using hex
Lesson4.4 u4 l1 using hexLexume1
 
Number_Systems_and_Boolean_Algebra.ppt
Number_Systems_and_Boolean_Algebra.pptNumber_Systems_and_Boolean_Algebra.ppt
Number_Systems_and_Boolean_Algebra.pptVEERA BOOPATHY E
 
data representation
 data representation data representation
data representationHaroon_007
 
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdfCDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdfshubhangisonawane6
 
Name dld preparation
Name dld preparationName dld preparation
Name dld preparationPadam Rai
 

Similar to Logic diagrams starter teacher version (20)

JPC#8 Foundation of Computer Science
JPC#8 Foundation of Computer ScienceJPC#8 Foundation of Computer Science
JPC#8 Foundation of Computer Science
 
Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
 
UNIT-1_CSA.pdf
UNIT-1_CSA.pdfUNIT-1_CSA.pdf
UNIT-1_CSA.pdf
 
Linear Algebra.pptx
Linear Algebra.pptxLinear Algebra.pptx
Linear Algebra.pptx
 
IS 151 Lecture 9
IS 151 Lecture 9IS 151 Lecture 9
IS 151 Lecture 9
 
Unlock Your Mathematical Potential with MathAssignmentHelp.com! 🧮✨
Unlock Your Mathematical Potential with MathAssignmentHelp.com! 🧮✨Unlock Your Mathematical Potential with MathAssignmentHelp.com! 🧮✨
Unlock Your Mathematical Potential with MathAssignmentHelp.com! 🧮✨
 
Linear Algebra Assignment help
Linear Algebra Assignment helpLinear Algebra Assignment help
Linear Algebra Assignment help
 
Boolean algebra1
Boolean algebra1Boolean algebra1
Boolean algebra1
 
I semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptxI semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptx
 
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra .docx
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra   .docxELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra   .docx
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra .docx
 
dld 01-introduction
dld 01-introductiondld 01-introduction
dld 01-introduction
 
Digital Electronics Unit_1.pptx
Digital Electronics Unit_1.pptxDigital Electronics Unit_1.pptx
Digital Electronics Unit_1.pptx
 
Information Theory and Coding - Lecture 4
Information Theory and Coding - Lecture 4Information Theory and Coding - Lecture 4
Information Theory and Coding - Lecture 4
 
Algorithm Homework Help
Algorithm Homework HelpAlgorithm Homework Help
Algorithm Homework Help
 
dld.ppt
dld.pptdld.ppt
dld.ppt
 
Lesson4.4 u4 l1 using hex
Lesson4.4 u4 l1 using hexLesson4.4 u4 l1 using hex
Lesson4.4 u4 l1 using hex
 
Number_Systems_and_Boolean_Algebra.ppt
Number_Systems_and_Boolean_Algebra.pptNumber_Systems_and_Boolean_Algebra.ppt
Number_Systems_and_Boolean_Algebra.ppt
 
data representation
 data representation data representation
data representation
 
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdfCDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
 
Name dld preparation
Name dld preparationName dld preparation
Name dld preparation
 

More from mckennadglyn

Programming basics
Programming basicsProgramming basics
Programming basicsmckennadglyn
 
Programming basics
Programming basicsProgramming basics
Programming basicsmckennadglyn
 
Programming basics
Programming basicsProgramming basics
Programming basicsmckennadglyn
 
Computer legislation
Computer legislationComputer legislation
Computer legislationmckennadglyn
 
01 -what_is_an_information_system - copy
01  -what_is_an_information_system - copy01  -what_is_an_information_system - copy
01 -what_is_an_information_system - copymckennadglyn
 
01 -what_is_an_information_system
01  -what_is_an_information_system01  -what_is_an_information_system
01 -what_is_an_information_systemmckennadglyn
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to pythonmckennadglyn
 

More from mckennadglyn (8)

Programming basics
Programming basicsProgramming basics
Programming basics
 
Programming basics
Programming basicsProgramming basics
Programming basics
 
Programming basics
Programming basicsProgramming basics
Programming basics
 
Computer legislation
Computer legislationComputer legislation
Computer legislation
 
01 -what_is_an_information_system - copy
01  -what_is_an_information_system - copy01  -what_is_an_information_system - copy
01 -what_is_an_information_system - copy
 
01 -what_is_an_information_system
01  -what_is_an_information_system01  -what_is_an_information_system
01 -what_is_an_information_system
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Algorithm itabq
Algorithm itabqAlgorithm itabq
Algorithm itabq
 

Logic diagrams starter teacher version

  • 1. O = NOT (A AND B) O = NOT (A OR B) O = (NOT A) AND B Make a TRUTH TABLE for each of the above logic diagrams
  • 3. More about logic tables • To produce a truth table from a logic diagram you need to work out the outputs for every possible combination of inputs. – If a logic diagram has only 2 inputs then there will only be 4 input combinations (00, 01, 10 and 11). – If there are 3 inputs then there will be 8 possible combinations. – 4 inputs would give 16 combinations. • Therefore n inputs gives 2n outputs
  • 4. Now try making a TRUTH TABLE for this diagram… This is called a half-adder circuit. Can you work out why?
  • 5. Half-adder Circuit • Are designed to add 2 binary numbers with a carry (C) if the sum (S) is greater than 1. • So this can be expressed as a logic statement: S = (A OR B) AND (NOT (A AND B)) C = (A AND B)