SlideShare a Scribd company logo
1 of 28
BINARY NUMBERS
&
BOOLEAN ALGEBRA
Outline
Part 1 – Logical Operators
Part 2 – Binary Number System
Part 3 – Boolean Algebra
Relational Operators
Name of Operator Symbol
Less than <
Greater than >
Less than or Equal to <+
Greater than or Equal to >=
Equal to =
Not Equal to <>
Logical Operators
Name of Operator Symbol
NOT
A
AND A.B
OR A+B
XOR A B
NAND
A.B
NOR
A+B
TRUTH Tables
List of Boys with
Blood Group A+
A : Name
B : Blood Group
T
T
T
T
T
T T
F
F
F
F
F
F
F
F
F
TRUTH Tables
List of all
students of
10th Class
and rest of
BLUE House
A : Class
B : House
T
T T
T
T
T
T
F
F
F F F
TRUTH Tables
TRUTH Tables
TRUTH Tables
BINARY SYSTEM
 Barrier of language between man and machine is overcome by the
bi-stable nature of all electrical devices.
 A light bulb is either “on” or “off”
 A switch is either “open” or “closed”
 A magnet has a field in one direction or the opposite
 For computer language, we can think of “ON” condition as being
equal to 1, and the “OFF” condition as 0
 This system of 0 and 1 (with radix 2) is termed as “BINARY” system.
 The positional values increase in terms of powers of 2
Place Value of DECIMAL Numbers
7852 = 7 x 103 + 8 x 102 + 5 x 101 + 2 x 100
0.6504 = 6 x 10-1 + 5 x 10-2 + 0 x 10-3 + 4 x 10-4
BINARY to DECIMAL Conversion
Any combination of 0’s and 1’s is a valid Binary
Number and can be converted into decimal by
expanding it in powers of 2
(110101)2 = 1 x 25 + 1 x 24 + 0 x 23 + 1 x 22 + 0 x 21 + 1 x 20
= (53)10
(0.1101)2 = 1 x 2-1 + 1 x 2-2 + 0 x 2-3 + 1 x 2-4
= 0.5 + 0.25 + 0 + 0.0625
= (0.8125)10
BINARY to DECIMAL Conversion
DECIMAL to BINARY Conversion
An integer decimal number can be converted to Binary
by dividing it successively by 2. A fraction can be
converted to Binary by multiplying it successively by 2.
2 : 13 remainder
2 : 6 1
2 : 3 0
2 : 1 1
2 : 0 1
.125
x 2
0.250
x 2
0.500
x 2
1.000
Thus (13.125)10 = (1101.001)2
Dear, who Invented
Boolean Algebra?
Yes, I would also
like to know!
George Boole,
(born 1815, died 1864), English
mathematician who helped establish modern
symbolic logic and whose algebra of logic,
now is called Boolean algebra.
Laws of
BOOLEAN ALGEBRA
Variables A, B, C etc., giving
us a logical expression of
A + B = C, but each variable can
ONLY be a 0 or a 1
The variables used in Boolean
Algebra only have one of two possible
values, a logic “0” and a logic “1”
Examples of
these
individual laws
of Boolean,
rules and
theorems for
Boolean
Algebra are
given in the
next slides
Laws of BOOLEAN ALGEBRA
Laws of BOOLEAN ALGEBRA
BOOLEAN Postulates
BOOLEAN Algebra – Example1
BOOLEAN Algebra – Example2
Construct a Truth Table for the logical functions at points C, D and Q
in the following circuit and identify a single logic gate that can be
used to replace the whole circuit.
BOOLEAN Algebra – Example2
First observations tell us that the
circuit consists of a 2-input NAND
gate, a 2-input EX-OR gate and
finally a 2-input EX-NOR gate at the
output. As there are only 2 inputs
to the circuit labelled A and B,
there can only be 4 possible
combinations of the input and
these are: 0-0, 0-1, 1-0 and
finally 1-1.
Plotting the logical functions from
each gate in tabular form will give
us the truth table for the whole of
the logic circuit 
BOOLEAN Algebra – Example2
From the truth table above, column C
represents the output function generated by
the NAND gate, while column D represents
the output function from the Ex-OR gate.
Both of these two output expressions then
become the input condition for the Ex-
NOR gate at the output.
It can be seen from the truth table that an
output at Q is present when any of the two
inputs A or B are at logic 1. The only truth
table that satisfies this condition is that of
an OR Gate. Therefore, the whole of the
above circuit can be replaced by just one
single 2-input OR Gate.
Applications of BOOLEAN Algebra
Boolean algebra can be applied to any system in which each
variable has two states. Few examples are :
EXAMPLE 1
Coffee, Tea, or Milk? An
Automated Cafeteria orders a
machine to dispense coffee, tea,
and milk. Design the machine so
that it has a button (input line) for
each choice and so that a
customer can have at most one of
the three choices. Diagram the
circuit to insure that the “at most
one” condition is met.
Applications of BOOLEAN Algebra
EXAMPLE 2
U.S. Rocket Launcher The nation of
Upper Slobovia has gained a missile
defense capability governed by its
Security Council. The Council consists of
four members: the U.S. (Upper
Slobovian) President and three
Counselors (the Chiefs of Staff of the
Army and Air Force plus the President’s
Uncle Homer). The missile system is to
be activated by a device obeying these
rules: each member of the Security
Council has a button to push; the
missiles fire only if the President and at
least one Counselor push their buttons.
Design the rocket firing circuitry
Applications of BOOLEAN Algebra
EXAMPLE 3
Most calculators, digital clocks, and watches use the
“seven segment display” format. In this setup, as
the diagram at the right shows, there are seven
segments that can be lit in different combinations to
form the numerals 0 through 9. For example, “1” is
formed by lighting segments b and c; “2” consists of
segments a, b, g, e, and d. “4” is composed of
segments b, c, f, and g.
Design circuitry to run a seven-segment display for
one digit. The input consists of a four-bit digit
(where each bit is an input line). The outputs are a,
b, c, d, e, f, and g of the seven segment diagram (1 =
light the segment, 0 = do not light the segment).
From a truth table, write and simplify seven Boolean
expressions. Then draw the minimal circuit.
Looking Forward to
a better understanding of
“Is BINARY”
THANK YOU
&

More Related Content

Similar to BooleanAlgebra.pptx

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
 
4 logic circuit optimisation
4 logic circuit optimisation4 logic circuit optimisation
4 logic circuit optimisationchandkec
 
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
 
combinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxcombinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxNadzlinIbrahim3
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1Techglyphs
 
1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdfDamotTesfaye
 
Week4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptxWeek4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptxAbubakrZahid1
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logicKamal Acharya
 
Simplification of Circuits.pdf
Simplification of Circuits.pdfSimplification of Circuits.pdf
Simplification of Circuits.pdfMaryJacob24
 
Digital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraDigital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraelfeds916
 
Chapter 3_Boolean Algebra _ Logic Gate (3).pptx
Chapter 3_Boolean Algebra _ Logic Gate (3).pptxChapter 3_Boolean Algebra _ Logic Gate (3).pptx
Chapter 3_Boolean Algebra _ Logic Gate (3).pptxsujenizswaranrajan
 
Chapter 2 Boolean Algebra.pptx
Chapter 2 Boolean Algebra.pptxChapter 2 Boolean Algebra.pptx
Chapter 2 Boolean Algebra.pptxHazardRhenz1
 
Digital electronics
Digital electronicsDigital electronics
Digital electronicsnanishajieha
 
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
 
Conversion of Boolean Function - R.D.Sivakumar
Conversion of Boolean Function - R.D.SivakumarConversion of Boolean Function - R.D.Sivakumar
Conversion of Boolean Function - R.D.SivakumarSivakumar R D .
 

Similar to BooleanAlgebra.pptx (20)

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
 
9. logic gates._rr
9. logic gates._rr9. logic gates._rr
9. logic gates._rr
 
2 gates
2 gates2 gates
2 gates
 
Chapter_11.pdf
Chapter_11.pdfChapter_11.pdf
Chapter_11.pdf
 
4 logic circuit optimisation
4 logic circuit optimisation4 logic circuit optimisation
4 logic circuit optimisation
 
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
 
combinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxcombinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptx
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1
 
Chapter+13.ppt
Chapter+13.pptChapter+13.ppt
Chapter+13.ppt
 
1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf
 
Week4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptxWeek4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptx
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
 
Simplification of Circuits.pdf
Simplification of Circuits.pdfSimplification of Circuits.pdf
Simplification of Circuits.pdf
 
Digital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraDigital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebra
 
Chapter 3_Boolean Algebra _ Logic Gate (3).pptx
Chapter 3_Boolean Algebra _ Logic Gate (3).pptxChapter 3_Boolean Algebra _ Logic Gate (3).pptx
Chapter 3_Boolean Algebra _ Logic Gate (3).pptx
 
boolean-algebra.pdf
boolean-algebra.pdfboolean-algebra.pdf
boolean-algebra.pdf
 
Chapter 2 Boolean Algebra.pptx
Chapter 2 Boolean Algebra.pptxChapter 2 Boolean Algebra.pptx
Chapter 2 Boolean Algebra.pptx
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
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,
 
Conversion of Boolean Function - R.D.Sivakumar
Conversion of Boolean Function - R.D.SivakumarConversion of Boolean Function - R.D.Sivakumar
Conversion of Boolean Function - R.D.Sivakumar
 

Recently uploaded

The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFVivekanand Anglo Vedic Academy
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesAmanpreetKaur157993
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...Gary Wood
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project researchCaitlinCummins3
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptxVishal Singh
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17Celine George
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxLimon Prince
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...Nguyen Thanh Tu Collection
 
philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the lifeNitinDeodare
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjMohammed Sikander
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppCeline George
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital ManagementMBA Assignment Experts
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxneillewis46
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................MirzaAbrarBaig5
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽中 央社
 
demyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptxdemyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptxMohamed Rizk Khodair
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxheathfieldcps1
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024Borja Sotomayor
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismDabee Kamal
 

Recently uploaded (20)

The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the life
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge App
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
demyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptxdemyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptx
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 

BooleanAlgebra.pptx

  • 2. Outline Part 1 – Logical Operators Part 2 – Binary Number System Part 3 – Boolean Algebra
  • 3. Relational Operators Name of Operator Symbol Less than < Greater than > Less than or Equal to <+ Greater than or Equal to >= Equal to = Not Equal to <>
  • 4. Logical Operators Name of Operator Symbol NOT A AND A.B OR A+B XOR A B NAND A.B NOR A+B
  • 5. TRUTH Tables List of Boys with Blood Group A+ A : Name B : Blood Group T T T T T T T F F F F F F F F F
  • 6. TRUTH Tables List of all students of 10th Class and rest of BLUE House A : Class B : House T T T T T T T F F F F F
  • 10. BINARY SYSTEM  Barrier of language between man and machine is overcome by the bi-stable nature of all electrical devices.  A light bulb is either “on” or “off”  A switch is either “open” or “closed”  A magnet has a field in one direction or the opposite  For computer language, we can think of “ON” condition as being equal to 1, and the “OFF” condition as 0  This system of 0 and 1 (with radix 2) is termed as “BINARY” system.  The positional values increase in terms of powers of 2
  • 11. Place Value of DECIMAL Numbers 7852 = 7 x 103 + 8 x 102 + 5 x 101 + 2 x 100 0.6504 = 6 x 10-1 + 5 x 10-2 + 0 x 10-3 + 4 x 10-4
  • 12. BINARY to DECIMAL Conversion Any combination of 0’s and 1’s is a valid Binary Number and can be converted into decimal by expanding it in powers of 2 (110101)2 = 1 x 25 + 1 x 24 + 0 x 23 + 1 x 22 + 0 x 21 + 1 x 20 = (53)10 (0.1101)2 = 1 x 2-1 + 1 x 2-2 + 0 x 2-3 + 1 x 2-4 = 0.5 + 0.25 + 0 + 0.0625 = (0.8125)10
  • 13. BINARY to DECIMAL Conversion
  • 14. DECIMAL to BINARY Conversion An integer decimal number can be converted to Binary by dividing it successively by 2. A fraction can be converted to Binary by multiplying it successively by 2. 2 : 13 remainder 2 : 6 1 2 : 3 0 2 : 1 1 2 : 0 1 .125 x 2 0.250 x 2 0.500 x 2 1.000 Thus (13.125)10 = (1101.001)2
  • 15. Dear, who Invented Boolean Algebra? Yes, I would also like to know! George Boole, (born 1815, died 1864), English mathematician who helped establish modern symbolic logic and whose algebra of logic, now is called Boolean algebra.
  • 17. Variables A, B, C etc., giving us a logical expression of A + B = C, but each variable can ONLY be a 0 or a 1 The variables used in Boolean Algebra only have one of two possible values, a logic “0” and a logic “1” Examples of these individual laws of Boolean, rules and theorems for Boolean Algebra are given in the next slides
  • 18. Laws of BOOLEAN ALGEBRA
  • 19. Laws of BOOLEAN ALGEBRA
  • 22. BOOLEAN Algebra – Example2 Construct a Truth Table for the logical functions at points C, D and Q in the following circuit and identify a single logic gate that can be used to replace the whole circuit.
  • 23. BOOLEAN Algebra – Example2 First observations tell us that the circuit consists of a 2-input NAND gate, a 2-input EX-OR gate and finally a 2-input EX-NOR gate at the output. As there are only 2 inputs to the circuit labelled A and B, there can only be 4 possible combinations of the input and these are: 0-0, 0-1, 1-0 and finally 1-1. Plotting the logical functions from each gate in tabular form will give us the truth table for the whole of the logic circuit 
  • 24. BOOLEAN Algebra – Example2 From the truth table above, column C represents the output function generated by the NAND gate, while column D represents the output function from the Ex-OR gate. Both of these two output expressions then become the input condition for the Ex- NOR gate at the output. It can be seen from the truth table that an output at Q is present when any of the two inputs A or B are at logic 1. The only truth table that satisfies this condition is that of an OR Gate. Therefore, the whole of the above circuit can be replaced by just one single 2-input OR Gate.
  • 25. Applications of BOOLEAN Algebra Boolean algebra can be applied to any system in which each variable has two states. Few examples are : EXAMPLE 1 Coffee, Tea, or Milk? An Automated Cafeteria orders a machine to dispense coffee, tea, and milk. Design the machine so that it has a button (input line) for each choice and so that a customer can have at most one of the three choices. Diagram the circuit to insure that the “at most one” condition is met.
  • 26. Applications of BOOLEAN Algebra EXAMPLE 2 U.S. Rocket Launcher The nation of Upper Slobovia has gained a missile defense capability governed by its Security Council. The Council consists of four members: the U.S. (Upper Slobovian) President and three Counselors (the Chiefs of Staff of the Army and Air Force plus the President’s Uncle Homer). The missile system is to be activated by a device obeying these rules: each member of the Security Council has a button to push; the missiles fire only if the President and at least one Counselor push their buttons. Design the rocket firing circuitry
  • 27. Applications of BOOLEAN Algebra EXAMPLE 3 Most calculators, digital clocks, and watches use the “seven segment display” format. In this setup, as the diagram at the right shows, there are seven segments that can be lit in different combinations to form the numerals 0 through 9. For example, “1” is formed by lighting segments b and c; “2” consists of segments a, b, g, e, and d. “4” is composed of segments b, c, f, and g. Design circuitry to run a seven-segment display for one digit. The input consists of a four-bit digit (where each bit is an input line). The outputs are a, b, c, d, e, f, and g of the seven segment diagram (1 = light the segment, 0 = do not light the segment). From a truth table, write and simplify seven Boolean expressions. Then draw the minimal circuit.
  • 28. Looking Forward to a better understanding of “Is BINARY” THANK YOU &