SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Chapter: Fundamentals
Lesson: Boolean Algebra
Lecturer: Susantha Herath PGD in IT (MBCS), PGD in Marketing (Uni. Of Kln)
Lecture 04
bcsonlinelectures.com
 Boolean Algebra is the mathematic
representation of operation of logic gates
(and digital circuits).
 Boolean Algebra has variables (input and
output) and operators (AND, OR
Complement).
 Operation of a logic gate (and digital circuit)
can be represented using a Boolean function.
Truth table is used to illustrate the results of
a Boolean function.
 There are two types of boolean expressions
◦ Sum of Products (SOP) expressions
◦ Product of Sums (POS) expressions
 SOP expression
◦ A product term is produced when one or more boolean
variables are logically multiplied. It is also called
minterm. When two or more product terms are logically
added a SOP expression is formed.
 POS expression
◦ A sum term is produced when one or more boolean
variables are logically added. This is also called maxtern.
When two or more sum terms are logically multiplied a
POS expression is formed.
 In Boolean algebra a variable can have only
either 1 (TRUE) or 0 (FALSE) values. In Boolean
algebra 1 is stands to represent the state of
TRUE, not integer value 1. Also 0 stands to
represent the state of FALSE, not the integer
value 0. Therefore addition and multiplication
works differently than we normally do in
mathematics.
 In Boolean algebra we do only addition and
multiplication.
Multiplication (“dot”
used to represent
multiplication).
0.0 = 0
0.1 = 0
1.0 = 0
1.1 = 1
Addition
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 1
Negation
0̅ = 1
1̅ = 0
 According to basic laws of Boolean algebra
there is an important feature called “Basic
Duality”. It says that every boolean function
has a dual function.
 The duality principle ensures that "if we
exchange every symbol by its dual in a
formula, we get the dual result".
 Everywhere we see 1, change to 0.
 Everywhere we see 0, change to 1.
 Similarly, + to ., and . to +.
More examples:
0 . 1 = 0: is a true statement "false and true evaluates
to false“ it’s a basic law.
Now lets replace all values and operations by its
opposite value.
1 + 0 = 1: is the dual of (a): it is a true statement that
"true or false evaluates true.“ it is also a basic law.
Like this, in every formula, if we replace every value
and operation by its opposite, including the result, we
get a valid formula.
This is a very useful law in boolean algebra. This allows
to get the complement of a boolean expression. This
represent the basic duality of boolean algebra and
mostly used when we design circuits using NAND and
NOR gates.
(x + y)’ = x’.y’
(x.y)’ = x’ + y’
To get the complement of a boolean expression, do the
following two steps;
1. Replace all values in the expression by its opposite.
2. Replace all “+” with “.” and vise versa.

Weitere ähnliche Inhalte

Was ist angesagt?

Duality in lpp
Duality in lppDuality in lpp
Duality in lpp
Abu Bashar
 
Identity equality properties
Identity equality propertiesIdentity equality properties
Identity equality properties
Megan Woods
 
Section 1.4 identity and equality properties (algebra)
Section 1.4 identity and equality properties (algebra)Section 1.4 identity and equality properties (algebra)
Section 1.4 identity and equality properties (algebra)
Algebra / Mathematics
 

Was ist angesagt? (15)

First order partial differential equations
First order partial differential equationsFirst order partial differential equations
First order partial differential equations
 
Expressions (mathematical)
Expressions (mathematical)Expressions (mathematical)
Expressions (mathematical)
 
Formation of partial differential equations by eliminating arbitrary functions
Formation of partial differential equations by eliminating arbitrary functionsFormation of partial differential equations by eliminating arbitrary functions
Formation of partial differential equations by eliminating arbitrary functions
 
Nlp
NlpNlp
Nlp
 
Spell Checker and string matching Using BK tree
Spell Checker and string matching Using BK treeSpell Checker and string matching Using BK tree
Spell Checker and string matching Using BK tree
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Dbms unit-3
Dbms unit-3Dbms unit-3
Dbms unit-3
 
Fuzzy+logic
Fuzzy+logicFuzzy+logic
Fuzzy+logic
 
Duality in lpp
Duality in lppDuality in lpp
Duality in lpp
 
Identity equality properties
Identity equality propertiesIdentity equality properties
Identity equality properties
 
Section 1.4 identity and equality properties (algebra)
Section 1.4 identity and equality properties (algebra)Section 1.4 identity and equality properties (algebra)
Section 1.4 identity and equality properties (algebra)
 
Introduction to fuzzy logic
Introduction to fuzzy logicIntroduction to fuzzy logic
Introduction to fuzzy logic
 
Ai lecture 09(unit03)
Ai lecture  09(unit03)Ai lecture  09(unit03)
Ai lecture 09(unit03)
 
Fuzzy arithmetic
Fuzzy arithmeticFuzzy arithmetic
Fuzzy arithmetic
 
Basic Calculus Lesson 1
Basic Calculus Lesson 1Basic Calculus Lesson 1
Basic Calculus Lesson 1
 

Ähnlich wie Computer and Network Technology (CNT) - Lecture 04

Ähnlich wie Computer and Network Technology (CNT) - Lecture 04 (20)

Boolean Algebra.pdf
Boolean Algebra.pdfBoolean Algebra.pdf
Boolean Algebra.pdf
 
Boolean algebra.pptx
Boolean algebra.pptxBoolean algebra.pptx
Boolean algebra.pptx
 
Lecture 07.pptx
Lecture 07.pptxLecture 07.pptx
Lecture 07.pptx
 
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
 
Boolean Algebra Terminologies.pdf
Boolean Algebra Terminologies.pdfBoolean Algebra Terminologies.pdf
Boolean Algebra Terminologies.pdf
 
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
 
Chapter 2.pdf
Chapter 2.pdfChapter 2.pdf
Chapter 2.pdf
 
Boolean Algebra - R.D.Sivakumar
Boolean Algebra - R.D.SivakumarBoolean Algebra - R.D.Sivakumar
Boolean Algebra - R.D.Sivakumar
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
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
 
Ch3 Boolean Algebra.ppt
Ch3 Boolean Algebra.pptCh3 Boolean Algebra.ppt
Ch3 Boolean Algebra.ppt
 
Boolen Algebra Lecture Notes.pdf
Boolen Algebra Lecture Notes.pdfBoolen Algebra Lecture Notes.pdf
Boolen Algebra Lecture Notes.pdf
 
Boolean Algebra Presentation
Boolean Algebra PresentationBoolean Algebra Presentation
Boolean Algebra Presentation
 
boolean-algebra.pdf
boolean-algebra.pdfboolean-algebra.pdf
boolean-algebra.pdf
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
 
Boolean Logic.pptx
Boolean Logic.pptxBoolean Logic.pptx
Boolean Logic.pptx
 
Rthch2nts 160709112024
Rthch2nts 160709112024Rthch2nts 160709112024
Rthch2nts 160709112024
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Lecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptxLecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptx
 

Kürzlich hochgeladen

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Kürzlich hochgeladen (20)

Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 

Computer and Network Technology (CNT) - Lecture 04

  • 1. Chapter: Fundamentals Lesson: Boolean Algebra Lecturer: Susantha Herath PGD in IT (MBCS), PGD in Marketing (Uni. Of Kln) Lecture 04 bcsonlinelectures.com
  • 2.  Boolean Algebra is the mathematic representation of operation of logic gates (and digital circuits).  Boolean Algebra has variables (input and output) and operators (AND, OR Complement).  Operation of a logic gate (and digital circuit) can be represented using a Boolean function. Truth table is used to illustrate the results of a Boolean function.
  • 3.  There are two types of boolean expressions ◦ Sum of Products (SOP) expressions ◦ Product of Sums (POS) expressions  SOP expression ◦ A product term is produced when one or more boolean variables are logically multiplied. It is also called minterm. When two or more product terms are logically added a SOP expression is formed.  POS expression ◦ A sum term is produced when one or more boolean variables are logically added. This is also called maxtern. When two or more sum terms are logically multiplied a POS expression is formed.
  • 4.  In Boolean algebra a variable can have only either 1 (TRUE) or 0 (FALSE) values. In Boolean algebra 1 is stands to represent the state of TRUE, not integer value 1. Also 0 stands to represent the state of FALSE, not the integer value 0. Therefore addition and multiplication works differently than we normally do in mathematics.  In Boolean algebra we do only addition and multiplication.
  • 5. Multiplication (“dot” used to represent multiplication). 0.0 = 0 0.1 = 0 1.0 = 0 1.1 = 1 Addition 0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 = 1 Negation 0̅ = 1 1̅ = 0
  • 6.
  • 7.  According to basic laws of Boolean algebra there is an important feature called “Basic Duality”. It says that every boolean function has a dual function.  The duality principle ensures that "if we exchange every symbol by its dual in a formula, we get the dual result".  Everywhere we see 1, change to 0.  Everywhere we see 0, change to 1.  Similarly, + to ., and . to +.
  • 8. More examples: 0 . 1 = 0: is a true statement "false and true evaluates to false“ it’s a basic law. Now lets replace all values and operations by its opposite value. 1 + 0 = 1: is the dual of (a): it is a true statement that "true or false evaluates true.“ it is also a basic law. Like this, in every formula, if we replace every value and operation by its opposite, including the result, we get a valid formula.
  • 9. This is a very useful law in boolean algebra. This allows to get the complement of a boolean expression. This represent the basic duality of boolean algebra and mostly used when we design circuits using NAND and NOR gates. (x + y)’ = x’.y’ (x.y)’ = x’ + y’ To get the complement of a boolean expression, do the following two steps; 1. Replace all values in the expression by its opposite. 2. Replace all “+” with “.” and vise versa.