SlideShare a Scribd company logo
1 of 11
Logic circuit: logic expression 
& its representation using 
logic gates 
1
2
Logic and Gates 
 Basic logical operators are the logic functions 
AND, OR and NOT. 
 Logic gates implement logic functions. 
 Boolean Algebra: a useful mathematical system 
for specifying and transforming logic functions 
to designing and analyzing digital systems! 
3
Logical Operations 
 The three basic logical operations are: 
• AND 
• OR 
• NOT 
 AND is denoted by a dot (·). 
 OR is denoted by a plus (+). 
 NOT is denoted by an over bar ( ¯ ). 
4
Notation Examples 
 Examples: 
• Y = A× B 
is read “Y is equal to A AND B.” 
• z = x + y 
is read “z is equal to x OR y.” 
• X = A 
is read “X is equal to NOT A.” 
• 1 + 1 = 2 
(read “one plus one equals two”) 
• 1 + 1 = 1 
(read “1 or 1 equals 1”). 
5
Truth Tables & Operator Definitions 
X 
NOT 
Z= X 
0 1 
1 0 
 Example: Truth tables for the basic logic 
operations: 
AND OR 
X Y Z = X·Y 
0 0 0 
0 1 0 
1 0 0 
1 1 1 
X Y Z = X+Y 
0 0 0 
0 1 1 
1 0 1 
1 1 1 
6
Experiment 
Consider F(X, Y, Z) = X Y + Y Z 
7
Truth Tables – Cont’d 
Consider F(X, Y, Z) = X Y + Y Z 
X Y Z X Y Y Y Z F = X Y + Y Z 
0 0 0 0 1 0 0 
0 0 1 0 1 1 1 
0 1 0 0 0 0 0 
0 1 1 0 0 0 0 
1 0 0 0 1 0 0 
1 0 1 0 1 1 1 
1 1 0 1 0 0 1 
1 1 1 1 0 0 1 
8
Logic Function Implementation 
 Example: Logic Using Switches 
B 
A 
D 
 Light is on (L = 1) for 
C 
L(A, B, C, D) = 
and off (L = 0), otherwise. 
A (B C + D) 
9
Logic Gate Symbols and Behavior 
 Logic gates have special symbols: 
OR gate 
X 
Y 
Z = X + Y 
 And waveform behavior in time as follows: 
X 0 0 1 1 
Y 0 1 0 1 
(AND) X · Y 0 0 0 1 
(OR) X + Y 0 1 1 1 
(NOT) X 1 1 0 0 
X 
Y 
Z = X · Y 
AND gate 
X Z = X 
NOT gate or 
inverter 
10
Logic Diagrams and Expressions 
X 
Logic Equation 
F = X + Y Z 
Logic Diagram 
Y F 
Z 
Truth Table 
X Y Z F = X + Y × Z 
0 0 0 0 
0 0 1 1 
0 1 0 0 
0 1 1 0 
1 0 0 1 
1 0 1 1 
1 1 0 1 
1 1 1 1 
11

More Related Content

What's hot

Chapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesEr. Nawaraj Bhandari
 
Chapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational LogicChapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational LogicSSE_AndyLi
 
Exponential functions
Exponential functionsExponential functions
Exponential functionskvillave
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean AlgebraHau Moy
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebraSARITHA REDDY
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebragavhays
 
Rational functions bingo
Rational functions bingoRational functions bingo
Rational functions bingokatiemcgehee
 
Mit6 087 iap10_lec02
Mit6 087 iap10_lec02Mit6 087 iap10_lec02
Mit6 087 iap10_lec02John Lawrence
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.mshoaib15
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Qundeel
 
Quadratic Function by Jasmine & Cristina
Quadratic Function by Jasmine & CristinaQuadratic Function by Jasmine & Cristina
Quadratic Function by Jasmine & CristinaHope Scott
 
Introduction to logic gate
Introduction to logic gateIntroduction to logic gate
Introduction to logic gatechauhankapil
 
Logic design basics
Logic design basicsLogic design basics
Logic design basicsharishnn
 
Digital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsDigital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsLekashri Subramanian
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebraSudheesh S Madhav
 

What's hot (20)

2.2 homework a
2.2 homework a2.2 homework a
2.2 homework a
 
Chapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic Gates
 
Chapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational LogicChapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational Logic
 
Exponential functions
Exponential functionsExponential functions
Exponential functions
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
Rational functions bingo
Rational functions bingoRational functions bingo
Rational functions bingo
 
Boolean algebra and Logic gates
Boolean algebra and Logic gatesBoolean algebra and Logic gates
Boolean algebra and Logic gates
 
Mit6 087 iap10_lec02
Mit6 087 iap10_lec02Mit6 087 iap10_lec02
Mit6 087 iap10_lec02
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1
 
Quadratic Function by Jasmine & Cristina
Quadratic Function by Jasmine & CristinaQuadratic Function by Jasmine & Cristina
Quadratic Function by Jasmine & Cristina
 
Introduction to logic gate
Introduction to logic gateIntroduction to logic gate
Introduction to logic gate
 
Logic design basics
Logic design basicsLogic design basics
Logic design basics
 
Digital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsDigital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 units
 
Dpsd lecture-notes
Dpsd lecture-notesDpsd lecture-notes
Dpsd lecture-notes
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebra
 
Lesson 21
Lesson 21Lesson 21
Lesson 21
 

Viewers also liked (20)

Saleh presentation
Saleh presentationSaleh presentation
Saleh presentation
 
Oral Cancer Exam
Oral Cancer ExamOral Cancer Exam
Oral Cancer Exam
 
Differential diagnosis
Differential diagnosisDifferential diagnosis
Differential diagnosis
 
Oral cancer
Oral cancerOral cancer
Oral cancer
 
Oral cancer by J. Shah
Oral cancer by J. ShahOral cancer by J. Shah
Oral cancer by J. Shah
 
Pharmacology
PharmacologyPharmacology
Pharmacology
 
Oral cancer seminar
Oral cancer seminarOral cancer seminar
Oral cancer seminar
 
Oral cancer
Oral cancerOral cancer
Oral cancer
 
Molecular biology of oral cancer, ppt
Molecular biology of oral cancer, pptMolecular biology of oral cancer, ppt
Molecular biology of oral cancer, ppt
 
Oral Cancer Stage and Grade
Oral Cancer Stage and GradeOral Cancer Stage and Grade
Oral Cancer Stage and Grade
 
Molecular Basis of Cancer
 Molecular Basis of Cancer Molecular Basis of Cancer
Molecular Basis of Cancer
 
Radiation therapy of oral cancers
Radiation therapy of oral cancersRadiation therapy of oral cancers
Radiation therapy of oral cancers
 
Oral cancer
Oral cancerOral cancer
Oral cancer
 
Oral cancers
Oral cancersOral cancers
Oral cancers
 
Radiographic Differential Diagnosis 2009
Radiographic Differential Diagnosis 2009Radiographic Differential Diagnosis 2009
Radiographic Differential Diagnosis 2009
 
Oral cancer
Oral cancerOral cancer
Oral cancer
 
Salivary glands diseases
Salivary glands diseasesSalivary glands diseases
Salivary glands diseases
 
Oral cancer pwr.pnt.
Oral cancer pwr.pnt.Oral cancer pwr.pnt.
Oral cancer pwr.pnt.
 
oral mucosal diseases 2010
oral mucosal diseases 2010oral mucosal diseases 2010
oral mucosal diseases 2010
 
Differential Diagnosis of Salivary Gland Lesions
Differential Diagnosis of Salivary Gland LesionsDifferential Diagnosis of Salivary Gland Lesions
Differential Diagnosis of Salivary Gland Lesions
 

Similar to Saleh

De Mornan Theory, Boolean Algebra, 7 logical get, truth table,
De Mornan Theory, Boolean Algebra, 7 logical get, truth table,  De Mornan Theory, Boolean Algebra, 7 logical get, truth table,
De Mornan Theory, Boolean Algebra, 7 logical get, truth table, DharmaKumariBhandari
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesRai University
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theoremsarunachalamr16
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptmichaelaaron25322
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)MeghaSharma513
 
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdfsiliconvalley6203
 
BOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.pptBOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.pptdhanamalathieee
 
2nd PUC computer science chapter 2 boolean algebra 1
2nd PUC computer science chapter 2  boolean algebra 12nd PUC computer science chapter 2  boolean algebra 1
2nd PUC computer science chapter 2 boolean algebra 1Aahwini Esware gowda
 

Similar to Saleh (20)

Chapter 4 logic design
Chapter 4   logic designChapter 4   logic design
Chapter 4 logic design
 
De Mornan Theory, Boolean Algebra, 7 logical get, truth table,
De Mornan Theory, Boolean Algebra, 7 logical get, truth table,  De Mornan Theory, Boolean Algebra, 7 logical get, truth table,
De Mornan Theory, Boolean Algebra, 7 logical get, truth table,
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gates
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
 
2dig circ
2dig circ2dig circ
2dig circ
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
9. logic gates._rr
9. logic gates._rr9. logic gates._rr
9. logic gates._rr
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).ppt
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)
 
Boolean Algebra.pptx
 Boolean Algebra.pptx Boolean Algebra.pptx
Boolean Algebra.pptx
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
 
BOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.pptBOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.ppt
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Chapter 2.pdf
Chapter 2.pdfChapter 2.pdf
Chapter 2.pdf
 
Chapter_11.pdf
Chapter_11.pdfChapter_11.pdf
Chapter_11.pdf
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
UNIT-1_CSA.pdf
UNIT-1_CSA.pdfUNIT-1_CSA.pdf
UNIT-1_CSA.pdf
 
2nd PUC computer science chapter 2 boolean algebra 1
2nd PUC computer science chapter 2  boolean algebra 12nd PUC computer science chapter 2  boolean algebra 1
2nd PUC computer science chapter 2 boolean algebra 1
 
sop_pos(DE).pptx
sop_pos(DE).pptxsop_pos(DE).pptx
sop_pos(DE).pptx
 

Saleh

  • 1. Logic circuit: logic expression & its representation using logic gates 1
  • 2. 2
  • 3. Logic and Gates  Basic logical operators are the logic functions AND, OR and NOT.  Logic gates implement logic functions.  Boolean Algebra: a useful mathematical system for specifying and transforming logic functions to designing and analyzing digital systems! 3
  • 4. Logical Operations  The three basic logical operations are: • AND • OR • NOT  AND is denoted by a dot (·).  OR is denoted by a plus (+).  NOT is denoted by an over bar ( ¯ ). 4
  • 5. Notation Examples  Examples: • Y = A× B is read “Y is equal to A AND B.” • z = x + y is read “z is equal to x OR y.” • X = A is read “X is equal to NOT A.” • 1 + 1 = 2 (read “one plus one equals two”) • 1 + 1 = 1 (read “1 or 1 equals 1”). 5
  • 6. Truth Tables & Operator Definitions X NOT Z= X 0 1 1 0  Example: Truth tables for the basic logic operations: AND OR X Y Z = X·Y 0 0 0 0 1 0 1 0 0 1 1 1 X Y Z = X+Y 0 0 0 0 1 1 1 0 1 1 1 1 6
  • 7. Experiment Consider F(X, Y, Z) = X Y + Y Z 7
  • 8. Truth Tables – Cont’d Consider F(X, Y, Z) = X Y + Y Z X Y Z X Y Y Y Z F = X Y + Y Z 0 0 0 0 1 0 0 0 0 1 0 1 1 1 0 1 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 1 0 0 1 0 1 0 1 1 1 1 1 0 1 0 0 1 1 1 1 1 0 0 1 8
  • 9. Logic Function Implementation  Example: Logic Using Switches B A D  Light is on (L = 1) for C L(A, B, C, D) = and off (L = 0), otherwise. A (B C + D) 9
  • 10. Logic Gate Symbols and Behavior  Logic gates have special symbols: OR gate X Y Z = X + Y  And waveform behavior in time as follows: X 0 0 1 1 Y 0 1 0 1 (AND) X · Y 0 0 0 1 (OR) X + Y 0 1 1 1 (NOT) X 1 1 0 0 X Y Z = X · Y AND gate X Z = X NOT gate or inverter 10
  • 11. Logic Diagrams and Expressions X Logic Equation F = X + Y Z Logic Diagram Y F Z Truth Table X Y Z F = X + Y × Z 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1 11