SlideShare a Scribd company logo
2
Most read
3
Most read
7
Most read
Lecture 5
Binary Operation
Boolean Logic
Lecturer: Sumaira Hussain
S.M.I university
Binary Operations
• Addition
• Subtraction
• Multiplication
• Division
Addition
Subtraction
Multiplication
Division
Boolean Logic Operations
Let x, y, z be Boolean variables. Boolean variables can only have binary values
i.e., they
can have values which are either 0 or 1.
For example, if we represent the state of a light switch with a Boolean
variable x, we will assign a value of 0 to x when the switch is OFF, and 1 when
it is ON
A few other names for the states of these Boolean variables
0 1
Off On
Low High
False True
Boolean Logic
• AND
• OR
• NOT
We define the following logic operations or functions
among the Boolean variables
Name Example Symbolically
NOT y = NOT(x) x´
AND z = x AND y x · y
OR z = x OR y x + y
Truth Table
A truth table defines the output of a logic function for all
possible inputs.
Number of rows in a truth table?
2n
n = number of input variables
NOT Operation
Truth Table for the NOT Operation
X y = x´
0 1
1 0
AND Operation
Truth Table for the AND Operation
X y z = x · y
0 0 0
0 1 0
1 0 0
1 1 1
OR Operation
Truth Table for the OR Operation
x y z = x + y
0 0 0
0 1 1
1 0 1
1 1 1
Examples
z = (x + y)´
x y x + y z = (x + y)´
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0
Examples
z = y · (x + y)
x y x + y z = y · (x+ y)
0 0 0 0
0 1 1 1
1 0 1 0
1 1 1 1

More Related Content

PPT
Number system and codes
PPT
Inequalities ppt revised
PPTX
Decoder Full Presentation
DOCX
2's complement
PPS
Matrix Operations
PPT
Minterm and maxterm
PDF
Intro to Discrete Mathematics
PPT
Applications of set theory
Number system and codes
Inequalities ppt revised
Decoder Full Presentation
2's complement
Matrix Operations
Minterm and maxterm
Intro to Discrete Mathematics
Applications of set theory

What's hot (20)

PDF
Signed Binary Numbers
PPTX
Linear Equations
PPTX
Sequences and Series
PPT
Karnaugh map
PDF
Binary codes
PPTX
Multi ways trees
PPT
binary number system
PPTX
Binary codes
PPT
PPt on Functions
PPTX
8.1 intro to functions
PPT
Matrix basic operations
PPTX
Functions
PPTX
Data Representation
PPT
PPTX
BOOLEAN ALGEBRA AND LOGIC GATE
PPTX
Multiplexers
PDF
Introduction to Logarithm
PPT
Number Base Part1
PPTX
Binary number system
PPTX
Relations and functions
Signed Binary Numbers
Linear Equations
Sequences and Series
Karnaugh map
Binary codes
Multi ways trees
binary number system
Binary codes
PPt on Functions
8.1 intro to functions
Matrix basic operations
Functions
Data Representation
BOOLEAN ALGEBRA AND LOGIC GATE
Multiplexers
Introduction to Logarithm
Number Base Part1
Binary number system
Relations and functions
Ad

Viewers also liked (20)

PPT
Work part transport method
PDF
Boolean algebra laws
PPTX
Relations & functions
PDF
Boolean logic presentation
PPTX
Binary arithmetic
PPT
Binary ppt tr
PPT
binary arithmetic rules
PPTX
Online Search Techniques-Boolean Searching
PPT
Digital 1 8
PPT
Ch 5 boolean logic
PPT
Boolean Logic
PPT
Boolean logic
PPT
Binary Arithmetic
PPT
Boolean- Search Basics
PPTX
Boolean Logic: how to talk to search engines in their own language
PPTX
Boolean+logic
PPTX
Boolean Logic Searching: A Primer
PPTX
Number system
PPTX
Boolean Logic Example
Work part transport method
Boolean algebra laws
Relations & functions
Boolean logic presentation
Binary arithmetic
Binary ppt tr
binary arithmetic rules
Online Search Techniques-Boolean Searching
Digital 1 8
Ch 5 boolean logic
Boolean Logic
Boolean logic
Binary Arithmetic
Boolean- Search Basics
Boolean Logic: how to talk to search engines in their own language
Boolean+logic
Boolean Logic Searching: A Primer
Number system
Boolean Logic Example
Ad

Similar to Binary Operation Boolean Logic (20)

PPSX
PDF
2nd PUC computer science chapter 2 boolean algebra 1
PDF
boolean-algebra.pdf
PDF
DM2020 boolean algebra
PPT
Boolean algebra And Logic Gates
PPTX
Week4_BooleanAlgebra.pptx
PDF
Lec 03 - Combinational Logic Design
PPT
Boolean Algebra
PPTX
Boolean algebra
PDF
Boolean algebra and logic gates
PPT
booleanalgebra-140914001141-phpapp01 (1).ppt
PDF
Lect 2 boolean algebra (4 5-21)
PPTX
Boolean Algebra
PPT
PPT
LCDF3_Chaaaaaaaaaaaaaaaaaaaaap_02_P1.ppt
PPT
digital logic tutorial combinational logic
PPT
LCDF3_Chap_02_P1.ppt Digital Login Design
PPT
IntroductiontoDigitalElectronics IntroductiontoDigitalElectronics
PPT
LCDF4_Chap_02_P1 computer engineering.ppt
PPTX
sop_pos(DE).pptx
2nd PUC computer science chapter 2 boolean algebra 1
boolean-algebra.pdf
DM2020 boolean algebra
Boolean algebra And Logic Gates
Week4_BooleanAlgebra.pptx
Lec 03 - Combinational Logic Design
Boolean Algebra
Boolean algebra
Boolean algebra and logic gates
booleanalgebra-140914001141-phpapp01 (1).ppt
Lect 2 boolean algebra (4 5-21)
Boolean Algebra
LCDF3_Chaaaaaaaaaaaaaaaaaaaaap_02_P1.ppt
digital logic tutorial combinational logic
LCDF3_Chap_02_P1.ppt Digital Login Design
IntroductiontoDigitalElectronics IntroductiontoDigitalElectronics
LCDF4_Chap_02_P1 computer engineering.ppt
sop_pos(DE).pptx

More from Gaditek (20)

PPTX
Digital marketing strategy and planning | About Business
PPT
Intro to social network analysis | What is Network Analysis? | History of (So...
PPT
Marketing ethics and social responsibility | Criticisms of Marketing
PPT
understanding and capturing customer value | What Is a Price?
PPT
The marketing environment | Suppliers | Marketing intermediaries
PPT
strategic planning | Customer Relationships | Partnering to Build
PPT
Digital marketing | what is marketing?
PPT
Fundamentals of Computer Design including performance measurements & quantita...
PPTX
Dealing with exceptions Computer Architecture part 2
PPTX
Dealing with Exceptions Computer Architecture part 1
PPTX
Pipelining of Processors
PPT
Instruction Set Architecture (ISA)
PDF
differential equation Lecture#14
PDF
differential equation Lecture#12
PDF
differential equation Lecture#11
PDF
differential equation Lecture#13
PDF
differential equation Lecture#10
PDF
differential equation Lecture#9
PDF
differential equation Lecture#8
PDF
differential equation Lecture#7
Digital marketing strategy and planning | About Business
Intro to social network analysis | What is Network Analysis? | History of (So...
Marketing ethics and social responsibility | Criticisms of Marketing
understanding and capturing customer value | What Is a Price?
The marketing environment | Suppliers | Marketing intermediaries
strategic planning | Customer Relationships | Partnering to Build
Digital marketing | what is marketing?
Fundamentals of Computer Design including performance measurements & quantita...
Dealing with exceptions Computer Architecture part 2
Dealing with Exceptions Computer Architecture part 1
Pipelining of Processors
Instruction Set Architecture (ISA)
differential equation Lecture#14
differential equation Lecture#12
differential equation Lecture#11
differential equation Lecture#13
differential equation Lecture#10
differential equation Lecture#9
differential equation Lecture#8
differential equation Lecture#7

Recently uploaded (20)

PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Pre independence Education in Inndia.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Cell Types and Its function , kingdom of life
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
master seminar digital applications in india
PDF
Complications of Minimal Access Surgery at WLH
PDF
Basic Mud Logging Guide for educational purpose
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Classroom Observation Tools for Teachers
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
O7-L3 Supply Chain Operations - ICLT Program
Renaissance Architecture: A Journey from Faith to Humanism
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
Computing-Curriculum for Schools in Ghana
Microbial diseases, their pathogenesis and prophylaxis
Pre independence Education in Inndia.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Cell Types and Its function , kingdom of life
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
master seminar digital applications in india
Complications of Minimal Access Surgery at WLH
Basic Mud Logging Guide for educational purpose
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Classroom Observation Tools for Teachers
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
VCE English Exam - Section C Student Revision Booklet

Binary Operation Boolean Logic