SlideShare a Scribd company logo
1 of 32
UNIVERSITY OF AZAD JAMMU AND KASHMIR
Department of CS & IT
BSCS 3rd
PRESENTED TO SIR TAHIR
PRESENTED BY KINZA ARSHAD(roll# 05)
SAYYIDA TABINDA KOKAB(roll# 08)
PARVEEN TABASSUM(roll# 33)
AMNA AFTAB(roll# 34)
SAYYIDA ADAN AJAZ(roll# 37)
PRESENTATION OUTLINE:-
Rules of Boolean Algebra
Laws of Boolean Algebra
Simplification of Boolean Expressions
Rules of Boolean Algebra
Rule 1:- A.1 = A
A variable Anded with 1 is always equal to variable
Rules of Boolean Algebra(contd…)
 Rule 2:- A. 0 = 0
 A variable Anded 0 is always equal to 0
Rules of Boolean Algebra(contd…)
Rule 3:- A.A=A
A variable anded itself to the variable. If A=0 then 0.0=0, If A = 1 then
1.1=1
X=A.A=A
Rules of Boolean Algebra(contd…)
Rule 4:-A.A=0
A variable Anded with its compliment is always equal to zero.
If A=1 A. A= 1.1=1.0=0
If A=0 A.A=0.0=0.1=0
A=1 A.A =0
A =0
A=0 A.A =0
A=1
Rules of Boolean Algebra(contd…)
Rule 5:- A+1 = 1
A variable ored with 1 is always equal to 1
Rules of Boolean Algebra(contd…)
Rule 6:-A + A = A
A variable ored with itself is always equal to the variable
X=A+A=A
Rules of Boolean Algebra(contd…)
Rule 7:- A + 0 = A
A variable ored with 0 is always equal to variable.
If input variable A is 1 the output variable X is 1 which is equal to A.
if A is 0 the output is 0 which is equal to A.
 X = A + 0
 Her e lowered input fixed at 0
Here lowered input fixed at 0
Rules of Boolean Algebra(contd…)
Rule 8:- A+A=1
A variable ORed with its compliment is always equal to 1.
If A=1 then A+A=1+1=1+0=1
If A=0 then A+A=0+0=0+1=1
X=A+A=1
Rules of Boolean Algebra(contd…)
Rule 9:- A=A
The double compliment of a variable is always equal to the variable
If A=0 then A=1 and A=0 which is equal to A
If A=1 then A=0 and A =1=A
A=0 A=1 A=0 =A
Rule 10:- A+AB=A
Proof:-
L.H.S=A+AB
=A(1+B) (1)
A=1 A= 0 A=1 =A
Rules of Boolean Algebra(contd…)
By rule 1+B=1
Eq (1) L.H.S=A(1)
=A=R.H.S
Diagramatically it is shown as
A
A A+AB A
B AB
TRUTH TABLE:-
A B AB A+AB
0 0 0 0
0 1 0 0
1 0 0 1
1 1 1 1
Rules of Boolean Algebra(contd…)
 RULE:-11 A+AB=A+B
 Proof:-
 L.H.S =A+AB (1)
 By rule A+AB=A (2)
 Using (2) in (1)
 Eq(1) A+AB+AB
 By rule A=AA
 L.H.S=AA+AB+AB (3)
 By rule AA=0
 Eq (3) =AA+AB+AA+ AB
 =A(A+B)+A(A+B)
 =(A+B)(A+A) (4)
 By rule A+A=1
 Eq (4) = (A+B)(1)
 =A+B=R.H.S
Rules of Boolean Algebra(contd…)
Diagramatically it is shown as
A
A+AB A A+B
A AB =
B B
TRUTH TABLE :-
A B A AB A+AB A+B
0 0 1 0 0 0
0 1 1 1 1 1
1 0 0 0 1 1
1 1 0 0 1 1
Boolean Addition :-
Boolean addition is equivalent to OR gate or operation. In logic circuits a sum of term is
produced by an OR operation with no AND operation involved. Some examples of sum
terms are
A+B,A+B,A+B+C and A+B+C+D
Boolean Multiplication:-
Boolean multiplication is equivalent to the AND operation. In logic circuit a product term
is produced by an AND operation with no OR operation involved.Some examples of
Product terms are AB,ABC,ABC,ABCD
Variable:-
A variable is a symbol used to represent a logic quality. Any variable can have a 1 or 0
value.
Complement:-
A complement is a inverse of a variable and it is indicated by a bar (-) over the variable.
For example the complement of a variable A=A. If A=1 then A=0.
the complement of A is read as “not A” or “A”
Literal: -
A literal is a variable or the complement of the variable
Laws of Boolean algebra:
1. Commutative law:
(a) Boolean algebra obeys the commutative law of addition. the
commutative law of addition for two variables is written as.
A+B=B+A
This law States that the order in which variables are ORed makes no difference.
Symbolically it is shown as.
(b) Commutative law for multiplication for two variables:-
AB=BA
This states that the order in which the variableANDed s makes no difference.
Symbolically it is represented as:
Laws of Boolean algebra:(contd…)
Associative law:
(a) For addition:-
The associative law of addition for three variables is written as:
A+(B+C) = (A+B)+C
This law states that when ORing more than two variables the result is
the same regardless of the grouping of variables.
Diagrammatically it is shown as:-
Laws of Boolean algebra:(contd…)
(b) Associative law for multiplication for three variables:-
The associative law for multiplication for three digits is written as.
A(BC) = (AB)C
This law states that when ANDing more than two variables the result is
the same regardless of the grouping of variables.
Diagrammatically it is shown as below:-
Laws of Boolean algebra:(contd…)
Distributive law: -
This law states that ORing two or more variables and than ANDing the
result with single variable is equivalent to ANDing the Single variable with
each of two or more than two variables and than ORing the product.
Diagrammatically it is shown below:
Laws of Boolean algebra:(contd…)
Simplification of Boolean Expressions:-
Using Boolean techniques simplify the following expressions
Q.1:- (A+B)(A+C)=A+BC
Sol: L.H.S(A+B)(A+C)
By using distributive law
=AA+AC+AB+BC (1)
By rule AA=A
=A+AC+AB+BC
=A(1+C)+AB+BC (2)
By rule 1+C=1
Eq(2) =A(1)+AB+BC
=A+AB+BC
=A(1+B)+BC (3)
By rule 1+B=1
Eq(3) =A(1)+BC
=A+BC =R.H.S
Simplification of Boolean Expressions: (contd…)
A B C (A+B) (A+C) (A+B)(A+C) BC A+BC
0 0 0 0 0 0 0 0
0 0 1 0 1 0 0 0
0 1 0 1 0 0 0 0
0 1 1 1 1 1 1 1
1 0 0 1 1 1 0 1
1 0 1 1 1 1 0 1
1 1 0 1 1 1 0 1
1 1 1 1 1 1 1 1
Simplification of Boolean Expressions: (contd…)
Diagramtically it is shown as
A A+B A
B (A+B)(A+C)
A A+C = B A+BC
C C BC
Simplification of Boolean Expressions:-
Q.2:- AB + A(B+C) + B(B+C)
Step 1: Apply distributive law to second and third term.
AB + AB + AC + BB + BC
Step 2: Apply rule BB=B to the fourth term
AB + AB + AC + B + BC
AB + AB + AC + B(1+C)
Step 3: Apply rule 1+C=1 to fourth term
AB + AB +AC+ B(1)
Step 4: Apply rule drop ‘1’ to fourth term
AB + AB +AC+ B
Step 5: Apply the rule AB + AB = AB on first two terms
AB +AC+ B
AB+B+AC
Simplification of Boolean Expressions:-
B(A+1)+AC
Step 6: Apply the rule A+1 = A to first term
B(1)+AC
Step 7: Apply the rule drop ‘1’ to first term
B+AC
Simplification of Boolean Expressions:-
 B(A+1)+AC
Step 6: Apply the rule A+1 = A to first term
B(1)+AC
Step 7: Apply the rule drop ‘1’ to first term
B+AC
Simplification of Boolean Expressions:-
Q.3:- [AB(C+BD)+AB ]C
Step 1: Apply the distributive law
[ABC+ABBD+AB]C
Step 2: Apply the rule BB = 0
[ABC + A.0.D + AB]C
Step 3: Apply the rule drop ‘0’ to second term we get
[ABC + AB]C
Step 4: Apply distributive law
ABCC + ABC
Step 5: Apply the rule CC = C
ABC + ABC
BC(A+A)
Simplification of Boolean Expressions:-
Step 6: Apply the rule A + A = 1
BC (1)
Step 7: Apply rule Drop ‘1’
BC
C
B C+BD
D BD AB(C+BD) C[AB(C+BD)+AB]
A AB
B B
AB(C+BD)+AB
A
B
A B
AB(C+BD)+AB
Simplification of Boolean Expressions:-
 B BC
 C
 Q.4:- ABC + AB C + ABC + ABC + ABC
 Step 1:- Takinq out BC common from first and last term
 BC (A + A) + ABC + A B C + ABC
 Step 2:- Apply rule A + A = 1
 BC (1) + ABC + A B C + ABC
 Step 3:- Apply rule drop ‘1’ to first term
 BC + ABC + A B C + ABC
 Step 4:- Taking out AB common from second and last term
 BC + AB (C + C) + ABC
 Step 5:- Applying rule C + C = 1
 BC + AB (1) + ABC
 Step 6:- Apply rule drop ‘1’ to second term
 BC + AB + ABC
 Step 7:- Taking out B out common from second and last term
Simplification of Boolean Expressions:-
BC + B(A+A C)
Step 8:- Apply A+AC=A+C
BC + B(A+C)
Step 9:- Apply Distributive law to second term
BC + BA+BC
Simplification of Boolean Expressions:-
A
B ABC
C
A AB C
B
C
ABC+ABC+AB C+ABC+ABC
A A B C
B
C
A
B A B C
C
A
ABC
B
C
Simplification of Boolean Expressions:-
• = B BC
 C
 B
 A BC+ BA+ B C
 BA
BC

More Related Content

What's hot

Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
Kumar
 

What's hot (20)

Sop and pos
Sop and posSop and pos
Sop and pos
 
Logic gates presentation
Logic gates presentationLogic gates presentation
Logic gates presentation
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean Logic
Boolean LogicBoolean Logic
Boolean Logic
 
basic logic gates
 basic logic gates basic logic gates
basic logic gates
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Basic theorems and properties of boolean algebra
Basic theorems and properties of boolean algebraBasic theorems and properties of boolean algebra
Basic theorems and properties of boolean algebra
 
1s and 2s complement
1s and 2s complement1s and 2s complement
1s and 2s complement
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
 
Boolean algebra.pptx
Boolean algebra.pptxBoolean algebra.pptx
Boolean algebra.pptx
 
Boolean algebra & logic gates
Boolean algebra & logic gatesBoolean algebra & logic gates
Boolean algebra & logic gates
 
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
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
Homogeneous Linear Differential Equations
 Homogeneous Linear Differential Equations Homogeneous Linear Differential Equations
Homogeneous Linear Differential Equations
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Digital logic gate and its application
Digital logic gate and its applicationDigital logic gate and its application
Digital logic gate and its application
 

Viewers also liked

Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
gavhays
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
Gagan Deep
 
Islamic ethics of using the internet
Islamic ethics of using the internetIslamic ethics of using the internet
Islamic ethics of using the internet
Momina Mateen
 
Boolean Searching
Boolean SearchingBoolean Searching
Boolean Searching
hisled
 
Ed. Tech 1 (Technology: boon or Bane?)
Ed. Tech 1 (Technology: boon or Bane?)Ed. Tech 1 (Technology: boon or Bane?)
Ed. Tech 1 (Technology: boon or Bane?)
Marshe8901
 
PPT OF ELEGANT FURNITURES CASE SHOWN IN THE CLASS JAN 18, 2015
PPT OF ELEGANT FURNITURES CASE SHOWN IN THE CLASS JAN 18, 2015PPT OF ELEGANT FURNITURES CASE SHOWN IN THE CLASS JAN 18, 2015
PPT OF ELEGANT FURNITURES CASE SHOWN IN THE CLASS JAN 18, 2015
skpalekarmba
 
Designing For Democracy!
Designing For Democracy!Designing For Democracy!
Designing For Democracy!
Aurora Barrett
 
Placement application research1
Placement application research1Placement application research1
Placement application research1
Ming Kodee-Gibson
 

Viewers also liked (19)

Boolean algebra
 Boolean algebra Boolean algebra
Boolean algebra
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
07 boolean algebra
07 boolean algebra07 boolean algebra
07 boolean algebra
 
Islamic ethics of using the internet
Islamic ethics of using the internetIslamic ethics of using the internet
Islamic ethics of using the internet
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean Searching
Boolean SearchingBoolean Searching
Boolean Searching
 
Sourcing using boolean search and other tips 2014
Sourcing using boolean search and other tips 2014Sourcing using boolean search and other tips 2014
Sourcing using boolean search and other tips 2014
 
Technology Boon or Bane?
Technology Boon or Bane?Technology Boon or Bane?
Technology Boon or Bane?
 
Ed. Tech 1 (Technology: boon or Bane?)
Ed. Tech 1 (Technology: boon or Bane?)Ed. Tech 1 (Technology: boon or Bane?)
Ed. Tech 1 (Technology: boon or Bane?)
 
PPT OF ELEGANT FURNITURES CASE SHOWN IN THE CLASS JAN 18, 2015
PPT OF ELEGANT FURNITURES CASE SHOWN IN THE CLASS JAN 18, 2015PPT OF ELEGANT FURNITURES CASE SHOWN IN THE CLASS JAN 18, 2015
PPT OF ELEGANT FURNITURES CASE SHOWN IN THE CLASS JAN 18, 2015
 
Designing For Democracy!
Designing For Democracy!Designing For Democracy!
Designing For Democracy!
 
LIJOE RESUME
LIJOE RESUMELIJOE RESUME
LIJOE RESUME
 
Placement application research1
Placement application research1Placement application research1
Placement application research1
 
Narendra modi
Narendra modiNarendra modi
Narendra modi
 
10 Things Progressives Can Learn From Rob Ford
10 Things Progressives Can Learn From Rob Ford10 Things Progressives Can Learn From Rob Ford
10 Things Progressives Can Learn From Rob Ford
 
Hari Kantin
Hari KantinHari Kantin
Hari Kantin
 
5 QuickBooks Mistakes Every Business Should Avoid
5 QuickBooks Mistakes Every Business Should Avoid5 QuickBooks Mistakes Every Business Should Avoid
5 QuickBooks Mistakes Every Business Should Avoid
 

Similar to presentation on (Boolean rules & laws)

Similar to presentation on (Boolean rules & laws) (20)

Digital logic design lecture 06
Digital logic design   lecture 06 Digital logic design   lecture 06
Digital logic design lecture 06
 
9402730.ppt
9402730.ppt9402730.ppt
9402730.ppt
 
Boolean Algebra DLD
Boolean Algebra DLDBoolean Algebra DLD
Boolean Algebra DLD
 
Boolean variables r010
Boolean variables   r010Boolean variables   r010
Boolean variables r010
 
Boolean Algebra.pdf
Boolean Algebra.pdfBoolean Algebra.pdf
Boolean Algebra.pdf
 
Boolean Algebra and Logic Smiplification
Boolean Algebra and Logic SmiplificationBoolean Algebra and Logic Smiplification
Boolean Algebra and Logic Smiplification
 
Boolean algebra r009
Boolean algebra   r009Boolean algebra   r009
Boolean algebra r009
 
PPT 1.pptx
PPT 1.pptxPPT 1.pptx
PPT 1.pptx
 
Computer Architecture & Organization
Computer Architecture & OrganizationComputer Architecture & Organization
Computer Architecture & Organization
 
Digital electronics lesson 2
Digital electronics lesson 2Digital electronics lesson 2
Digital electronics lesson 2
 
Boolean Algebra - R.D.Sivakumar
Boolean Algebra - R.D.SivakumarBoolean Algebra - R.D.Sivakumar
Boolean Algebra - R.D.Sivakumar
 
Gerbang Logika Dasar
Gerbang Logika DasarGerbang Logika Dasar
Gerbang Logika Dasar
 
DLD PRESENTATION1.pptx
DLD PRESENTATION1.pptxDLD PRESENTATION1.pptx
DLD PRESENTATION1.pptx
 
Digital logic mohammed salim ch4
Digital logic mohammed salim ch4Digital logic mohammed salim ch4
Digital logic mohammed salim ch4
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Chapter2 (1).pptx
Chapter2 (1).pptxChapter2 (1).pptx
Chapter2 (1).pptx
 
set identities and their examples outlined.pptx
set identities and their examples outlined.pptxset identities and their examples outlined.pptx
set identities and their examples outlined.pptx
 
Lec1 n
Lec1 nLec1 n
Lec1 n
 
Theorems in DE
Theorems in DETheorems in DE
Theorems in DE
 
NOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxNOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptx
 

Recently uploaded

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 

Recently uploaded (20)

Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 

presentation on (Boolean rules & laws)

  • 1. UNIVERSITY OF AZAD JAMMU AND KASHMIR Department of CS & IT BSCS 3rd PRESENTED TO SIR TAHIR PRESENTED BY KINZA ARSHAD(roll# 05) SAYYIDA TABINDA KOKAB(roll# 08) PARVEEN TABASSUM(roll# 33) AMNA AFTAB(roll# 34) SAYYIDA ADAN AJAZ(roll# 37)
  • 2. PRESENTATION OUTLINE:- Rules of Boolean Algebra Laws of Boolean Algebra Simplification of Boolean Expressions
  • 3. Rules of Boolean Algebra Rule 1:- A.1 = A A variable Anded with 1 is always equal to variable
  • 4. Rules of Boolean Algebra(contd…)  Rule 2:- A. 0 = 0  A variable Anded 0 is always equal to 0
  • 5. Rules of Boolean Algebra(contd…) Rule 3:- A.A=A A variable anded itself to the variable. If A=0 then 0.0=0, If A = 1 then 1.1=1 X=A.A=A
  • 6. Rules of Boolean Algebra(contd…) Rule 4:-A.A=0 A variable Anded with its compliment is always equal to zero. If A=1 A. A= 1.1=1.0=0 If A=0 A.A=0.0=0.1=0 A=1 A.A =0 A =0 A=0 A.A =0 A=1
  • 7. Rules of Boolean Algebra(contd…) Rule 5:- A+1 = 1 A variable ored with 1 is always equal to 1
  • 8. Rules of Boolean Algebra(contd…) Rule 6:-A + A = A A variable ored with itself is always equal to the variable X=A+A=A
  • 9. Rules of Boolean Algebra(contd…) Rule 7:- A + 0 = A A variable ored with 0 is always equal to variable. If input variable A is 1 the output variable X is 1 which is equal to A. if A is 0 the output is 0 which is equal to A.  X = A + 0  Her e lowered input fixed at 0 Here lowered input fixed at 0
  • 10. Rules of Boolean Algebra(contd…) Rule 8:- A+A=1 A variable ORed with its compliment is always equal to 1. If A=1 then A+A=1+1=1+0=1 If A=0 then A+A=0+0=0+1=1 X=A+A=1
  • 11. Rules of Boolean Algebra(contd…) Rule 9:- A=A The double compliment of a variable is always equal to the variable If A=0 then A=1 and A=0 which is equal to A If A=1 then A=0 and A =1=A A=0 A=1 A=0 =A Rule 10:- A+AB=A Proof:- L.H.S=A+AB =A(1+B) (1) A=1 A= 0 A=1 =A
  • 12. Rules of Boolean Algebra(contd…) By rule 1+B=1 Eq (1) L.H.S=A(1) =A=R.H.S Diagramatically it is shown as A A A+AB A B AB TRUTH TABLE:- A B AB A+AB 0 0 0 0 0 1 0 0 1 0 0 1 1 1 1 1
  • 13. Rules of Boolean Algebra(contd…)  RULE:-11 A+AB=A+B  Proof:-  L.H.S =A+AB (1)  By rule A+AB=A (2)  Using (2) in (1)  Eq(1) A+AB+AB  By rule A=AA  L.H.S=AA+AB+AB (3)  By rule AA=0  Eq (3) =AA+AB+AA+ AB  =A(A+B)+A(A+B)  =(A+B)(A+A) (4)  By rule A+A=1  Eq (4) = (A+B)(1)  =A+B=R.H.S
  • 14. Rules of Boolean Algebra(contd…) Diagramatically it is shown as A A+AB A A+B A AB = B B TRUTH TABLE :- A B A AB A+AB A+B 0 0 1 0 0 0 0 1 1 1 1 1 1 0 0 0 1 1 1 1 0 0 1 1
  • 15. Boolean Addition :- Boolean addition is equivalent to OR gate or operation. In logic circuits a sum of term is produced by an OR operation with no AND operation involved. Some examples of sum terms are A+B,A+B,A+B+C and A+B+C+D Boolean Multiplication:- Boolean multiplication is equivalent to the AND operation. In logic circuit a product term is produced by an AND operation with no OR operation involved.Some examples of Product terms are AB,ABC,ABC,ABCD Variable:- A variable is a symbol used to represent a logic quality. Any variable can have a 1 or 0 value. Complement:- A complement is a inverse of a variable and it is indicated by a bar (-) over the variable. For example the complement of a variable A=A. If A=1 then A=0. the complement of A is read as “not A” or “A” Literal: - A literal is a variable or the complement of the variable
  • 16. Laws of Boolean algebra: 1. Commutative law: (a) Boolean algebra obeys the commutative law of addition. the commutative law of addition for two variables is written as. A+B=B+A This law States that the order in which variables are ORed makes no difference. Symbolically it is shown as. (b) Commutative law for multiplication for two variables:- AB=BA This states that the order in which the variableANDed s makes no difference. Symbolically it is represented as:
  • 17. Laws of Boolean algebra:(contd…) Associative law: (a) For addition:- The associative law of addition for three variables is written as: A+(B+C) = (A+B)+C This law states that when ORing more than two variables the result is the same regardless of the grouping of variables. Diagrammatically it is shown as:-
  • 18. Laws of Boolean algebra:(contd…) (b) Associative law for multiplication for three variables:- The associative law for multiplication for three digits is written as. A(BC) = (AB)C This law states that when ANDing more than two variables the result is the same regardless of the grouping of variables. Diagrammatically it is shown as below:-
  • 19. Laws of Boolean algebra:(contd…) Distributive law: - This law states that ORing two or more variables and than ANDing the result with single variable is equivalent to ANDing the Single variable with each of two or more than two variables and than ORing the product. Diagrammatically it is shown below:
  • 20. Laws of Boolean algebra:(contd…)
  • 21. Simplification of Boolean Expressions:- Using Boolean techniques simplify the following expressions Q.1:- (A+B)(A+C)=A+BC Sol: L.H.S(A+B)(A+C) By using distributive law =AA+AC+AB+BC (1) By rule AA=A =A+AC+AB+BC =A(1+C)+AB+BC (2) By rule 1+C=1 Eq(2) =A(1)+AB+BC =A+AB+BC =A(1+B)+BC (3) By rule 1+B=1 Eq(3) =A(1)+BC =A+BC =R.H.S
  • 22. Simplification of Boolean Expressions: (contd…) A B C (A+B) (A+C) (A+B)(A+C) BC A+BC 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 1 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 1 1 1 0 1 1 0 1 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 1
  • 23. Simplification of Boolean Expressions: (contd…) Diagramtically it is shown as A A+B A B (A+B)(A+C) A A+C = B A+BC C C BC
  • 24. Simplification of Boolean Expressions:- Q.2:- AB + A(B+C) + B(B+C) Step 1: Apply distributive law to second and third term. AB + AB + AC + BB + BC Step 2: Apply rule BB=B to the fourth term AB + AB + AC + B + BC AB + AB + AC + B(1+C) Step 3: Apply rule 1+C=1 to fourth term AB + AB +AC+ B(1) Step 4: Apply rule drop ‘1’ to fourth term AB + AB +AC+ B Step 5: Apply the rule AB + AB = AB on first two terms AB +AC+ B AB+B+AC
  • 25. Simplification of Boolean Expressions:- B(A+1)+AC Step 6: Apply the rule A+1 = A to first term B(1)+AC Step 7: Apply the rule drop ‘1’ to first term B+AC
  • 26. Simplification of Boolean Expressions:-  B(A+1)+AC Step 6: Apply the rule A+1 = A to first term B(1)+AC Step 7: Apply the rule drop ‘1’ to first term B+AC
  • 27. Simplification of Boolean Expressions:- Q.3:- [AB(C+BD)+AB ]C Step 1: Apply the distributive law [ABC+ABBD+AB]C Step 2: Apply the rule BB = 0 [ABC + A.0.D + AB]C Step 3: Apply the rule drop ‘0’ to second term we get [ABC + AB]C Step 4: Apply distributive law ABCC + ABC Step 5: Apply the rule CC = C ABC + ABC BC(A+A)
  • 28. Simplification of Boolean Expressions:- Step 6: Apply the rule A + A = 1 BC (1) Step 7: Apply rule Drop ‘1’ BC C B C+BD D BD AB(C+BD) C[AB(C+BD)+AB] A AB B B AB(C+BD)+AB A B A B AB(C+BD)+AB
  • 29. Simplification of Boolean Expressions:-  B BC  C  Q.4:- ABC + AB C + ABC + ABC + ABC  Step 1:- Takinq out BC common from first and last term  BC (A + A) + ABC + A B C + ABC  Step 2:- Apply rule A + A = 1  BC (1) + ABC + A B C + ABC  Step 3:- Apply rule drop ‘1’ to first term  BC + ABC + A B C + ABC  Step 4:- Taking out AB common from second and last term  BC + AB (C + C) + ABC  Step 5:- Applying rule C + C = 1  BC + AB (1) + ABC  Step 6:- Apply rule drop ‘1’ to second term  BC + AB + ABC  Step 7:- Taking out B out common from second and last term
  • 30. Simplification of Boolean Expressions:- BC + B(A+A C) Step 8:- Apply A+AC=A+C BC + B(A+C) Step 9:- Apply Distributive law to second term BC + BA+BC
  • 31. Simplification of Boolean Expressions:- A B ABC C A AB C B C ABC+ABC+AB C+ABC+ABC A A B C B C A B A B C C A ABC B C
  • 32. Simplification of Boolean Expressions:- • = B BC  C  B  A BC+ BA+ B C  BA BC