SlideShare a Scribd company logo
1 of 31
BOOLEAN LOGIC
https://www.youtube.com/watch?v=gI-qXk7XojA
CHECKLIST
History
On-off states
And, or , not – key operators
Truth tables
Drawing a circuit
Postulates, principles of duality, DeMorgan’s theorem
Nor, nand, xor, xnor gates- symbolic representation, truth tables
The English mathematician George Boole (1815-1864)
sought to give symbolic form to Aristotle’s system of logic.
Boole wrote a treatise on the subject in 1854, titled An
Investigation of the Laws of Thought, on Which Are
Founded the Mathematical Theories of Logic and
Probabilities, which codified several rules of relationship
between mathematical quantities limited to one of two
possible values: true or false, 1 or 0.
His mathematical system became known as Boolean
algebra.
However, Claude Shannon of MIT fame recognized how
Boolean algebra could be applied to on-and-off circuits,
where all signals are characterized as either “high” (1) or
“low” (0).
His 1938 thesis, titled A Symbolic Analysis of Relay and
Switching Circuits, put Boole’s theoretical work to use in a
way Boole could never have imagined, giving us a
powerful mathematical tool for designing and analyzing
digital circuits.
Boolean Algebra is the underlying mathematical structure of
digital logic which is most often implemented via VLSI of CMOS
circuits in the form of CPU, memory, and other digital
technologies which are used to do things like run your laptop,
or route packets over networks and so on.
Deep down, inside the computer, inside the CPU, are transistors
implementing NAND ports, NOR ports, NOT gates, the building
blocks of digital logic. These have direct equivalents in boolean
algebra.
GATES are DIGITAL BUILDING BLOCKS. They are called
DIGITAL because they operate on digital principles. They
require a signal (also called a PULSE or INPUT) that is
either 0v (LOW) or HIGH and give out a signal that is either LOW
or HIGH.
The decision which results into either YES(True) or NO(FALSE)
is called a BINARY DECISION.
Values True (0)and False (1)are called TRUTH Values.
Logical Operators operate on binary values and binary
variables.(And, Or, Not)
Using Boolean logic, verify using truth table that X + XY = X for each
X, Y in {0,1}
Prepare a table of combinations for the following Boolean logic expressions:
BASIC LOGIC GATES:
1) NOT Gate (INVERTER):
1) Output state always opposite to the input state.
2) Called the complement of the input.
2) OR Gate:
1) Has 2 or more input signals, but only one output
2) If one/more input is 1, output is 1.
3) You can have a 2-input OR/3-input OR/n-input OR Gate.
3) AND Gate:
1) Has 2 or more input signals, but only one output
2) If all input is 1, output is 1.
3) You can have a 2-input AND/3-input AND/n-input AND Gate.
• Postulates and theorems of Boolean Algebra are used to analyze and simplify
the digital (logic) circuits.
1. Properties of 0 0 + X = X ; 0.X =0
2. Properties of 1 1+X = 1 ; 1.X. = X
3. Idempotent law X + X = X, X.X. = X
4. Involution (X’) ‘ = X
5. COMPLEMENT LAW X + X’ = 1 ; X .X’ = 0
6. COMMUTATIVE LAW X+Y = Y+X ; X.Y = Y.X
7. ASSOCIATIVE LAW X+(Y+Z) = (X+Y) +Z ; X(YZ) = (XY) Z
8. DISTRIBUTIVE LAW X(Y+Z) = XY+XZ ; X +YZ = (X+Y) (X+Z)
9. ABSORPTION LAW X+XY = X ; X(X+Y) = X
10. 3RD DISTRIBUTIVE LAW X + X’Y = X+Y
PRINCIPLE OF DUALITY:
 According to principle of duality "Dual of one expression is obtained by replacing AND (.)with OR(+)
and OR with AND together with replacement of 1 with 0 and 0 with 1”.
1) Changing each OR (+)sign to an AND sign(.)
2) Changing each AND (.) sign to an OR sign (+)
3) Replacing each 0 by 1 and each 1 by 0.
 The derived relation using duality principle is called dual of original expression.
 Ex: OR operator on a input:
a) 0 + 0 = 0 b) 0 + 1 = 1 c)1 + 0 = 1 d) 1 + 1 =1
 Now as per Principle of duality:
i) 1 . 1 = 1 ii) 1 . 0 = 0 c)0 . 1 = 0 d) 0 . 0 =0
 The above is the result of a 2 input and operation.
 So i), ii), iii) and iv) are the duals of a), b), c) and d)
In proving the theorems or rules of Boolean Algebra, it is then necessary to
prove only one theorem, and the dual of the theorem follows necessarily.
QUESTIONS
1. Give the dual of X . X ’ = 0
Ans: X + X’ = 1
2. Give the dual of X + 0 = X
Ans: X . 1 =X
3. State the principle of duality in Boolean Algebra and give the dual of the
Boolean expression: (X + Y).(X ’ + Z ’) . (Y + Z)
ANS: (X . Y) + (X’ . Z’) + (Y .Z)
PROOF OF THEOREMS
3) Involution(Double Negation/Double Inversion Rule):
States that a variable with two negation its symbol gets cancelled out and
original variable is obtained,
Idempotent law
4) Complementarity Law:
In this Law, if a complement is added to a variable it gives one, if a variable
is multiplied with its complement it results in ‘0’, i.e.
A + A’ = 1
A.A’ = 0
5) Commutative Law:
a variable order does not matter in this law, i.e.,
A + B = B + A
A.B = B.A
6) Associative Law:
the order of operation does not matter if the priority of variables are same like
‘*’ and ‘/’, i.e.,
A+(B+C) = (A+B)+C
A.(B.C) = (A.B).C
7) Distributive Law:
This law governs opening up of brackets, i.e.,
A.(B+C) = (A.B)+(A.C)
A+(B.C) = (A+B).(A+C)
Algebraic proof of Distributive law:
Prove: X + YZ = (X + Y) (X + Z)
8) Absorption Law:
This law enables a reduction in a complicated expression to a simpler one
by absorbing like terms.
A + (A.B) = A (OR Absorption Law)
A(A + B) = A (AND Absorption Law)
Prove: X(X + Y) = X
9) Third Distributive Law:
Prove:
DeMorgan´s Theorem – There are two “de Morgan´s” rules or theorems,
(1) Two separate terms NOR´ed together is the same as the two terms
inverted (Complement) and AND´ed for example:
(2) Two separate terms NAND´ed together is the same as the two terms
inverted (Complement) and OR´ed for example:
II) X . Y + Y . Z + Y ’ . Z = X . Y + Z
There are some more logic gates which are derived from 3 basic gates (AND, OR,
NOT).
These are more popular and used widely in the industry.
NOR Gate: not(or)
Can have 2/more input signals, but only one output signal.
If all inputs are 0, then the output signal is 1.
No matter how many inputs, all 0 inputs produce 1.
NOR is the result of the negation of the OR operator.
a b A+b (A+b)’
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0
NAND Gate:
Can have 2/more input signals, but only one output signal.
If all inputs are 1, then the output signal is 0.
For any other input combination, it produces a 1.
NAND is the result of the negation of the AND operator(inverted AND gate).
XOR Gate(Exclusive OR Gate:)
Can have 2/more input signals, but only one output signal.
OR gate produces output 1 for any input combination having one/more 1’s,
but XOR gate produces output 1 for only those input combinations that have
ODD NUMBER OF 1’s.
XNOR Gate(Exclusive OR Gate:)
Can have 2/more input signals, but only one output signal.
It is an inverted XOR.
XNOR gate produces output 1 for only those input combinations that have EVEN
NUMBER OF 1’s.
Identify the gates and
complete the truth
table
Design a circuit for the given Boolean expression:
F(a,b,c) = AB + AC ’ + B’ A’ C
DeMorgan´s Theorem – There are two “de Morgan´s” rules or theorems,
(1) Two separate terms NOR´ed together is the same as the two terms inverted
(Complement) and AND´ed for example:
(2) Two separate terms NAND´ed together is the same as the two terms
inverted (Complement) and OR´ed for example:
Involution A = A
Complementarit
y law
A + A = 1 A . A = 0
3rd Distributive
Law
A + A B = A + B
NAND and NOR gates are more popular, less expensive and easier to design.
Also referred as UNIVERSAL gates…

More Related Content

Similar to Boolean Logic.pptx

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
 
BOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.pptBOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.pptdhanamalathieee
 
Boolean Algebra.pdf
Boolean Algebra.pdfBoolean Algebra.pdf
Boolean Algebra.pdfssusere02873
 
Ass.(2)applications of logic u.s d.m
Ass.(2)applications of logic u.s d.mAss.(2)applications of logic u.s d.m
Ass.(2)applications of logic u.s d.mSyed Umair
 
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdfsiliconvalley6203
 
chapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxchapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxRithinA1
 
Week4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptxWeek4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptxAbubakrZahid1
 
Chapter 2 Boolean Algebra.pptx
Chapter 2 Boolean Algebra.pptxChapter 2 Boolean Algebra.pptx
Chapter 2 Boolean Algebra.pptxHazardRhenz1
 
Logic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andLogic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andMuruganandhanD
 
boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in shortRojin Khadka
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.mshoaib15
 
Lecture 2.4 logic_gate_&_simple_logic_circuit
Lecture 2.4 logic_gate_&_simple_logic_circuitLecture 2.4 logic_gate_&_simple_logic_circuit
Lecture 2.4 logic_gate_&_simple_logic_circuitKMJ Science Computer
 
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic GatesFYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic GatesArti Parab Academics
 
Chapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraChapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraAshish KC
 

Similar to Boolean Logic.pptx (20)

9. logic gates._rr
9. logic gates._rr9. logic gates._rr
9. logic gates._rr
 
Boolean Algebra.pptx
 Boolean Algebra.pptx Boolean Algebra.pptx
Boolean Algebra.pptx
 
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
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
BOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.pptBOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.ppt
 
Boolean Algebra.pdf
Boolean Algebra.pdfBoolean Algebra.pdf
Boolean Algebra.pdf
 
Ass.(2)applications of logic u.s d.m
Ass.(2)applications of logic u.s d.mAss.(2)applications of logic u.s d.m
Ass.(2)applications of logic u.s d.m
 
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
 
chapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxchapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptx
 
Week4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptxWeek4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptx
 
Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
Chapter 2 Boolean Algebra.pptx
Chapter 2 Boolean Algebra.pptxChapter 2 Boolean Algebra.pptx
Chapter 2 Boolean Algebra.pptx
 
Logic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andLogic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers and
 
Boolean Algebra DLD
Boolean Algebra DLDBoolean Algebra DLD
Boolean Algebra DLD
 
boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in short
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
 
Lecture 2.4 logic_gate_&_simple_logic_circuit
Lecture 2.4 logic_gate_&_simple_logic_circuitLecture 2.4 logic_gate_&_simple_logic_circuit
Lecture 2.4 logic_gate_&_simple_logic_circuit
 
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic GatesFYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
 
Chapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraChapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebra
 

Recently uploaded

webinaire-green-mirror-episode-2-Smart contracts and virtual purchase agreeme...
webinaire-green-mirror-episode-2-Smart contracts and virtual purchase agreeme...webinaire-green-mirror-episode-2-Smart contracts and virtual purchase agreeme...
webinaire-green-mirror-episode-2-Smart contracts and virtual purchase agreeme...Cluster TWEED
 
Low Rate Call Girls Nashik Lavanya 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Lavanya 7001305949 Independent Escort Service NashikLow Rate Call Girls Nashik Lavanya 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Lavanya 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
VIP Call Girls Saharanpur Aaradhya 8250192130 Independent Escort Service Saha...
VIP Call Girls Saharanpur Aaradhya 8250192130 Independent Escort Service Saha...VIP Call Girls Saharanpur Aaradhya 8250192130 Independent Escort Service Saha...
VIP Call Girls Saharanpur Aaradhya 8250192130 Independent Escort Service Saha...Suhani Kapoor
 
Call Girls Mumbai Gayatri 8617697112 Independent Escort Service Mumbai
Call Girls Mumbai Gayatri 8617697112 Independent Escort Service MumbaiCall Girls Mumbai Gayatri 8617697112 Independent Escort Service Mumbai
Call Girls Mumbai Gayatri 8617697112 Independent Escort Service MumbaiCall girls in Ahmedabad High profile
 
Call Girls Service Nagpur Aditi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Aditi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Aditi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Aditi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Low Rate Call Girls Bikaner Anika 8250192130 Independent Escort Service Bikaner
Low Rate Call Girls Bikaner Anika 8250192130 Independent Escort Service BikanerLow Rate Call Girls Bikaner Anika 8250192130 Independent Escort Service Bikaner
Low Rate Call Girls Bikaner Anika 8250192130 Independent Escort Service BikanerSuhani Kapoor
 
(NANDITA) Hadapsar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune ...
(NANDITA) Hadapsar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune ...(NANDITA) Hadapsar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune ...
(NANDITA) Hadapsar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune ...ranjana rawat
 
VIP Call Girls Service Chaitanyapuri Hyderabad Call +91-8250192130
VIP Call Girls Service Chaitanyapuri Hyderabad Call +91-8250192130VIP Call Girls Service Chaitanyapuri Hyderabad Call +91-8250192130
VIP Call Girls Service Chaitanyapuri Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012sapnasaifi408
 
Freegle User Survey as visual display - BH
Freegle User Survey as visual display - BHFreegle User Survey as visual display - BH
Freegle User Survey as visual display - BHbill846304
 
(RIYA) Kalyani Nagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(RIYA) Kalyani Nagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(RIYA) Kalyani Nagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(RIYA) Kalyani Nagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(ANIKA) Call Girls Wagholi ( 7001035870 ) HI-Fi Pune Escorts Service
(ANIKA) Call Girls Wagholi ( 7001035870 ) HI-Fi Pune Escorts Service(ANIKA) Call Girls Wagholi ( 7001035870 ) HI-Fi Pune Escorts Service
(ANIKA) Call Girls Wagholi ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
VIP Kolkata Call Girl Kalighat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kalighat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kalighat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kalighat 👉 8250192130 Available With Roomdivyansh0kumar0
 
ENVIRONMENTAL LAW ppt on laws of environmental law
ENVIRONMENTAL LAW ppt on laws of environmental lawENVIRONMENTAL LAW ppt on laws of environmental law
ENVIRONMENTAL LAW ppt on laws of environmental lawnitinraj1000000
 

Recently uploaded (20)

webinaire-green-mirror-episode-2-Smart contracts and virtual purchase agreeme...
webinaire-green-mirror-episode-2-Smart contracts and virtual purchase agreeme...webinaire-green-mirror-episode-2-Smart contracts and virtual purchase agreeme...
webinaire-green-mirror-episode-2-Smart contracts and virtual purchase agreeme...
 
Low Rate Call Girls Nashik Lavanya 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Lavanya 7001305949 Independent Escort Service NashikLow Rate Call Girls Nashik Lavanya 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Lavanya 7001305949 Independent Escort Service Nashik
 
Sustainable Packaging
Sustainable PackagingSustainable Packaging
Sustainable Packaging
 
E Waste Management
E Waste ManagementE Waste Management
E Waste Management
 
VIP Call Girls Saharanpur Aaradhya 8250192130 Independent Escort Service Saha...
VIP Call Girls Saharanpur Aaradhya 8250192130 Independent Escort Service Saha...VIP Call Girls Saharanpur Aaradhya 8250192130 Independent Escort Service Saha...
VIP Call Girls Saharanpur Aaradhya 8250192130 Independent Escort Service Saha...
 
Gandhi Nagar (Delhi) 9953330565 Escorts, Call Girls Services
Gandhi Nagar (Delhi) 9953330565 Escorts, Call Girls ServicesGandhi Nagar (Delhi) 9953330565 Escorts, Call Girls Services
Gandhi Nagar (Delhi) 9953330565 Escorts, Call Girls Services
 
Call Girls In Dhaula Kuan꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCe
Call Girls In Dhaula Kuan꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCeCall Girls In Dhaula Kuan꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCe
Call Girls In Dhaula Kuan꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCe
 
Call Girls Mumbai Gayatri 8617697112 Independent Escort Service Mumbai
Call Girls Mumbai Gayatri 8617697112 Independent Escort Service MumbaiCall Girls Mumbai Gayatri 8617697112 Independent Escort Service Mumbai
Call Girls Mumbai Gayatri 8617697112 Independent Escort Service Mumbai
 
Call Girls Service Nagpur Aditi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Aditi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Aditi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Aditi Call 7001035870 Meet With Nagpur Escorts
 
Low Rate Call Girls Bikaner Anika 8250192130 Independent Escort Service Bikaner
Low Rate Call Girls Bikaner Anika 8250192130 Independent Escort Service BikanerLow Rate Call Girls Bikaner Anika 8250192130 Independent Escort Service Bikaner
Low Rate Call Girls Bikaner Anika 8250192130 Independent Escort Service Bikaner
 
young Whatsapp Call Girls in Delhi Cantt🔝 9953056974 🔝 escort service
young Whatsapp Call Girls in Delhi Cantt🔝 9953056974 🔝 escort serviceyoung Whatsapp Call Girls in Delhi Cantt🔝 9953056974 🔝 escort service
young Whatsapp Call Girls in Delhi Cantt🔝 9953056974 🔝 escort service
 
(NANDITA) Hadapsar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune ...
(NANDITA) Hadapsar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune ...(NANDITA) Hadapsar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune ...
(NANDITA) Hadapsar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune ...
 
VIP Call Girls Service Chaitanyapuri Hyderabad Call +91-8250192130
VIP Call Girls Service Chaitanyapuri Hyderabad Call +91-8250192130VIP Call Girls Service Chaitanyapuri Hyderabad Call +91-8250192130
VIP Call Girls Service Chaitanyapuri Hyderabad Call +91-8250192130
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
Freegle User Survey as visual display - BH
Freegle User Survey as visual display - BHFreegle User Survey as visual display - BH
Freegle User Survey as visual display - BH
 
9953056974 ,Low Rate Call Girls In Adarsh Nagar Delhi 24hrs Available
9953056974 ,Low Rate Call Girls In Adarsh Nagar  Delhi 24hrs Available9953056974 ,Low Rate Call Girls In Adarsh Nagar  Delhi 24hrs Available
9953056974 ,Low Rate Call Girls In Adarsh Nagar Delhi 24hrs Available
 
(RIYA) Kalyani Nagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(RIYA) Kalyani Nagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(RIYA) Kalyani Nagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(RIYA) Kalyani Nagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(ANIKA) Call Girls Wagholi ( 7001035870 ) HI-Fi Pune Escorts Service
(ANIKA) Call Girls Wagholi ( 7001035870 ) HI-Fi Pune Escorts Service(ANIKA) Call Girls Wagholi ( 7001035870 ) HI-Fi Pune Escorts Service
(ANIKA) Call Girls Wagholi ( 7001035870 ) HI-Fi Pune Escorts Service
 
VIP Kolkata Call Girl Kalighat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kalighat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kalighat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kalighat 👉 8250192130 Available With Room
 
ENVIRONMENTAL LAW ppt on laws of environmental law
ENVIRONMENTAL LAW ppt on laws of environmental lawENVIRONMENTAL LAW ppt on laws of environmental law
ENVIRONMENTAL LAW ppt on laws of environmental law
 

Boolean Logic.pptx

  • 2. CHECKLIST History On-off states And, or , not – key operators Truth tables Drawing a circuit Postulates, principles of duality, DeMorgan’s theorem Nor, nand, xor, xnor gates- symbolic representation, truth tables
  • 3. The English mathematician George Boole (1815-1864) sought to give symbolic form to Aristotle’s system of logic. Boole wrote a treatise on the subject in 1854, titled An Investigation of the Laws of Thought, on Which Are Founded the Mathematical Theories of Logic and Probabilities, which codified several rules of relationship between mathematical quantities limited to one of two possible values: true or false, 1 or 0. His mathematical system became known as Boolean algebra. However, Claude Shannon of MIT fame recognized how Boolean algebra could be applied to on-and-off circuits, where all signals are characterized as either “high” (1) or “low” (0). His 1938 thesis, titled A Symbolic Analysis of Relay and Switching Circuits, put Boole’s theoretical work to use in a way Boole could never have imagined, giving us a powerful mathematical tool for designing and analyzing digital circuits.
  • 4. Boolean Algebra is the underlying mathematical structure of digital logic which is most often implemented via VLSI of CMOS circuits in the form of CPU, memory, and other digital technologies which are used to do things like run your laptop, or route packets over networks and so on. Deep down, inside the computer, inside the CPU, are transistors implementing NAND ports, NOR ports, NOT gates, the building blocks of digital logic. These have direct equivalents in boolean algebra. GATES are DIGITAL BUILDING BLOCKS. They are called DIGITAL because they operate on digital principles. They require a signal (also called a PULSE or INPUT) that is either 0v (LOW) or HIGH and give out a signal that is either LOW or HIGH. The decision which results into either YES(True) or NO(FALSE) is called a BINARY DECISION. Values True (0)and False (1)are called TRUTH Values. Logical Operators operate on binary values and binary variables.(And, Or, Not)
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10. Using Boolean logic, verify using truth table that X + XY = X for each X, Y in {0,1} Prepare a table of combinations for the following Boolean logic expressions: BASIC LOGIC GATES: 1) NOT Gate (INVERTER): 1) Output state always opposite to the input state. 2) Called the complement of the input.
  • 11. 2) OR Gate: 1) Has 2 or more input signals, but only one output 2) If one/more input is 1, output is 1. 3) You can have a 2-input OR/3-input OR/n-input OR Gate. 3) AND Gate: 1) Has 2 or more input signals, but only one output 2) If all input is 1, output is 1. 3) You can have a 2-input AND/3-input AND/n-input AND Gate.
  • 12. • Postulates and theorems of Boolean Algebra are used to analyze and simplify the digital (logic) circuits. 1. Properties of 0 0 + X = X ; 0.X =0 2. Properties of 1 1+X = 1 ; 1.X. = X 3. Idempotent law X + X = X, X.X. = X 4. Involution (X’) ‘ = X 5. COMPLEMENT LAW X + X’ = 1 ; X .X’ = 0 6. COMMUTATIVE LAW X+Y = Y+X ; X.Y = Y.X 7. ASSOCIATIVE LAW X+(Y+Z) = (X+Y) +Z ; X(YZ) = (XY) Z 8. DISTRIBUTIVE LAW X(Y+Z) = XY+XZ ; X +YZ = (X+Y) (X+Z) 9. ABSORPTION LAW X+XY = X ; X(X+Y) = X 10. 3RD DISTRIBUTIVE LAW X + X’Y = X+Y
  • 13. PRINCIPLE OF DUALITY:  According to principle of duality "Dual of one expression is obtained by replacing AND (.)with OR(+) and OR with AND together with replacement of 1 with 0 and 0 with 1”. 1) Changing each OR (+)sign to an AND sign(.) 2) Changing each AND (.) sign to an OR sign (+) 3) Replacing each 0 by 1 and each 1 by 0.  The derived relation using duality principle is called dual of original expression.  Ex: OR operator on a input: a) 0 + 0 = 0 b) 0 + 1 = 1 c)1 + 0 = 1 d) 1 + 1 =1  Now as per Principle of duality: i) 1 . 1 = 1 ii) 1 . 0 = 0 c)0 . 1 = 0 d) 0 . 0 =0  The above is the result of a 2 input and operation.  So i), ii), iii) and iv) are the duals of a), b), c) and d)
  • 14. In proving the theorems or rules of Boolean Algebra, it is then necessary to prove only one theorem, and the dual of the theorem follows necessarily. QUESTIONS 1. Give the dual of X . X ’ = 0 Ans: X + X’ = 1 2. Give the dual of X + 0 = X Ans: X . 1 =X 3. State the principle of duality in Boolean Algebra and give the dual of the Boolean expression: (X + Y).(X ’ + Z ’) . (Y + Z) ANS: (X . Y) + (X’ . Z’) + (Y .Z)
  • 16. 3) Involution(Double Negation/Double Inversion Rule): States that a variable with two negation its symbol gets cancelled out and original variable is obtained, Idempotent law
  • 17. 4) Complementarity Law: In this Law, if a complement is added to a variable it gives one, if a variable is multiplied with its complement it results in ‘0’, i.e. A + A’ = 1 A.A’ = 0 5) Commutative Law: a variable order does not matter in this law, i.e., A + B = B + A A.B = B.A
  • 18. 6) Associative Law: the order of operation does not matter if the priority of variables are same like ‘*’ and ‘/’, i.e., A+(B+C) = (A+B)+C A.(B.C) = (A.B).C 7) Distributive Law: This law governs opening up of brackets, i.e., A.(B+C) = (A.B)+(A.C) A+(B.C) = (A+B).(A+C)
  • 19.
  • 20. Algebraic proof of Distributive law: Prove: X + YZ = (X + Y) (X + Z) 8) Absorption Law: This law enables a reduction in a complicated expression to a simpler one by absorbing like terms. A + (A.B) = A (OR Absorption Law) A(A + B) = A (AND Absorption Law) Prove: X(X + Y) = X 9) Third Distributive Law: Prove: DeMorgan´s Theorem – There are two “de Morgan´s” rules or theorems, (1) Two separate terms NOR´ed together is the same as the two terms inverted (Complement) and AND´ed for example: (2) Two separate terms NAND´ed together is the same as the two terms inverted (Complement) and OR´ed for example: II) X . Y + Y . Z + Y ’ . Z = X . Y + Z
  • 21. There are some more logic gates which are derived from 3 basic gates (AND, OR, NOT). These are more popular and used widely in the industry. NOR Gate: not(or) Can have 2/more input signals, but only one output signal. If all inputs are 0, then the output signal is 1. No matter how many inputs, all 0 inputs produce 1. NOR is the result of the negation of the OR operator. a b A+b (A+b)’ 0 0 0 1 0 1 1 0 1 0 1 0 1 1 1 0
  • 22. NAND Gate: Can have 2/more input signals, but only one output signal. If all inputs are 1, then the output signal is 0. For any other input combination, it produces a 1. NAND is the result of the negation of the AND operator(inverted AND gate).
  • 23. XOR Gate(Exclusive OR Gate:) Can have 2/more input signals, but only one output signal. OR gate produces output 1 for any input combination having one/more 1’s, but XOR gate produces output 1 for only those input combinations that have ODD NUMBER OF 1’s.
  • 24. XNOR Gate(Exclusive OR Gate:) Can have 2/more input signals, but only one output signal. It is an inverted XOR. XNOR gate produces output 1 for only those input combinations that have EVEN NUMBER OF 1’s.
  • 25. Identify the gates and complete the truth table
  • 26.
  • 27. Design a circuit for the given Boolean expression: F(a,b,c) = AB + AC ’ + B’ A’ C
  • 28. DeMorgan´s Theorem – There are two “de Morgan´s” rules or theorems, (1) Two separate terms NOR´ed together is the same as the two terms inverted (Complement) and AND´ed for example: (2) Two separate terms NAND´ed together is the same as the two terms inverted (Complement) and OR´ed for example:
  • 29. Involution A = A Complementarit y law A + A = 1 A . A = 0 3rd Distributive Law A + A B = A + B
  • 30.
  • 31. NAND and NOR gates are more popular, less expensive and easier to design. Also referred as UNIVERSAL gates…