SlideShare una empresa de Scribd logo
1 de 18
The basis for digital electronics.
What digital electronics do you 
use? 
Computer 
CD & DVD players 
IPod 
Cell phone 
HDTV 
Digital cameras
What are digital electronics? 
Sound is an analog signal. 
On a CD, digital sound is encoded 
as 44.1 kHz, 16 bit audio. 
 The original wave is 'sliced' 44,100 
times a second - and an average 
amplitude level is applied to each 
sample. 
 16 bit means that a total of 65,536 
different values can be assigned, or 
quantized to each sample. 
DVD-Audio can be 96 or 192 kHz 
and up to 24 bits resolution
George Boole 
George Boole, a British mathematician (1815-1864). 
Logic and math are equivalent. 
All math functions can be determined using these 3 
primary Boolean logic operators: AND, OR, and NOT. 
AND narrows your search, 
OR broadens your search, and 
NOT is used to exclude concepts.
Have you used Boolean logic? 
What information have you searched for on the Web? 
Do a Google Search for car radios.
The AND operator 
(both, all) 
rivers AND salinity 
dairy products AND export AND 
Europe
The OR operator 
(either, any) 
fruit OR vegetables 
fruit OR vegetables OR cereal 
from CSIRO Australia
The NOT operator 
fruit NOT apples
Let’s use Boolean logic to examine 
class. 
Please stand up if you are: 
girl 
AND black hair 
AND left handed 
Please stand up if you are: 
girl 
OR black hair 
OR left handed 
And NOT 
How has the group changed depending on the logical 
operator used.
What would a library search give 
for “stress” and “anxiety”? 
Shaded areas indicate 
retrieval Search Statement Types of records retrieved 
Number of 
records 
retrieved 
stress OR anxiety Documents that discuss 
either stress or anxiety 1127 
stress AND anxiety Documents that discuss 
both stress and anxiety 51 
Documents that discuss
Nesting 
When more than one element is in parentheses, the sequence is left to 
right. This is called "nesting." 
 (foxes OR rabbits) AND pest control 
 foxes OR rabbits AND pest control 
 (animal pests OR pest animals) NOT rabbits 
Parentheses should be used to group terms joined by OR when there 
is any other operator in the search.
Order of precedence of Boolean 
operators 
The order of operations is: AND, NOT, OR, XOR 
Parentheses are used to override priority. 
Expressions in parentheses are processed first. 
Parentheses are used to organize the sequence and 
groups of concepts.
Basis for digital 
computers. 
The true-false nature of Boolean 
logic makes it compatible with 
binary logic used in digital 
computers. 
Electronic circuits can produce 
Boolean logic operations. 
Circuits are called gates. 
 NOT 
 AND 
 OR
NOT gate 
 The simplest possible gate is called an "inverter," or a NOT gate. 
 One bit as input produces its opposite as output. 
 The symbol for a NOT gate in circuit diagrams is shown below. 
 The logic table for the NOT gate shows input and output. 
A Q 
0 1 
1 0 
From How Stuff Works
AND gate 
 The AND gate has the following symbol and logic 
table. 
 Two or more input bits produce one output bit. 
 Both inputs must be true (1) for the output to be 
true. 
 Otherwise the output is false (0). 
A B Q 
0 0 0 
0 1 0 
1 0 0 
1 1 1
OR gate 
 The OR gate has the following symbol and logic table. 
 Two or more input bits produce one output bit. 
 Either inputs must be true (1) for the output to be true. 
A B Q 
0 0 0 
0 1 1 
1 0 1 
1 1 1 
 http://www.play-hookey.com/digital/basic_gates.html
Combine gates. 
Gates can be combined. 
The output of one gate can become the input of another. 
Try to determine the logic table for this circuit.
Construct the logic table for these 
circuits.

Más contenido relacionado

La actualidad más candente

Laws of boolean algebra
Laws of boolean algebraLaws of boolean algebra
Laws of boolean algebraArunaDevi63
 
Kmap..(karnaugh map)
Kmap..(karnaugh map)Kmap..(karnaugh map)
Kmap..(karnaugh map)Zain Jafri
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Satya P. Joshi
 
variable entered map
variable entered mapvariable entered map
variable entered mapBansari Shah
 
Digital Electronics Notes
Digital Electronics Notes Digital Electronics Notes
Digital Electronics Notes Srikrishna Thota
 
flip flop Presentation
flip flop  Presentationflip flop  Presentation
flip flop Presentationmaalik123
 
encoder and decoder in digital electronics
encoder and decoder in digital electronicsencoder and decoder in digital electronics
encoder and decoder in digital electronicsvikram rajpurohit
 
Embedded c program and programming structure for beginners
Embedded c program and programming structure for beginnersEmbedded c program and programming structure for beginners
Embedded c program and programming structure for beginnersKamesh Mtec
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsVanitha Chandru
 
Matlab for beginners, Introduction, signal processing
Matlab for beginners, Introduction, signal processingMatlab for beginners, Introduction, signal processing
Matlab for beginners, Introduction, signal processingDr. Manjunatha. P
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean AlgebraHau Moy
 
Applications of Mealy & Moore Machine
Applications of  Mealy  & Moore Machine Applications of  Mealy  & Moore Machine
Applications of Mealy & Moore Machine SardarKashifKhan
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplificationUnsa Shakir
 

La actualidad más candente (20)

Latches & flip flop
Latches & flip flopLatches & flip flop
Latches & flip flop
 
Laws of boolean algebra
Laws of boolean algebraLaws of boolean algebra
Laws of boolean algebra
 
Kmap..(karnaugh map)
Kmap..(karnaugh map)Kmap..(karnaugh map)
Kmap..(karnaugh map)
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
 
Digital logic design part1
Digital logic design part1Digital logic design part1
Digital logic design part1
 
variable entered map
variable entered mapvariable entered map
variable entered map
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
Digital Electronics Notes
Digital Electronics Notes Digital Electronics Notes
Digital Electronics Notes
 
flip flop Presentation
flip flop  Presentationflip flop  Presentation
flip flop Presentation
 
encoder and decoder in digital electronics
encoder and decoder in digital electronicsencoder and decoder in digital electronics
encoder and decoder in digital electronics
 
K - Map
  K - Map    K - Map
K - Map
 
Rules of Karnaugh Map
Rules of Karnaugh MapRules of Karnaugh Map
Rules of Karnaugh Map
 
Embedded c program and programming structure for beginners
Embedded c program and programming structure for beginnersEmbedded c program and programming structure for beginners
Embedded c program and programming structure for beginners
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
 
Matlab for beginners, Introduction, signal processing
Matlab for beginners, Introduction, signal processingMatlab for beginners, Introduction, signal processing
Matlab for beginners, Introduction, signal processing
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Applications of Mealy & Moore Machine
Applications of  Mealy  & Moore Machine Applications of  Mealy  & Moore Machine
Applications of Mealy & Moore Machine
 
Binary to Decimal Conversion
Binary to Decimal ConversionBinary to Decimal Conversion
Binary to Decimal Conversion
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 

Destacado

Boolean algebra
Boolean algebraBoolean algebra
Boolean algebraGagan Deep
 
Keyword Searching 13
Keyword Searching 13Keyword Searching 13
Keyword Searching 13Lbraddock
 
Class 6 truth tables and boolean math
Class 6   truth tables and boolean mathClass 6   truth tables and boolean math
Class 6 truth tables and boolean mathStephen Parsons
 
EMBEDDED SYSTEMS 6
EMBEDDED SYSTEMS 6EMBEDDED SYSTEMS 6
EMBEDDED SYSTEMS 6PRADEEP
 
Math1003 1.8 - Converting from Binary and Hex to Decimal
Math1003 1.8 - Converting from Binary and Hex to DecimalMath1003 1.8 - Converting from Binary and Hex to Decimal
Math1003 1.8 - Converting from Binary and Hex to Decimalgcmath1003
 
Math1003 1.12 - Binary Addition
Math1003 1.12 - Binary AdditionMath1003 1.12 - Binary Addition
Math1003 1.12 - Binary Additiongcmath1003
 
Math1003 - An Intro to Number Systems
Math1003 - An Intro to Number SystemsMath1003 - An Intro to Number Systems
Math1003 - An Intro to Number Systemsgcmath1003
 
Boolean- Search Basics
Boolean- Search BasicsBoolean- Search Basics
Boolean- Search BasicsRithesh Nair
 
Boolean algebra akash
Boolean algebra akashBoolean algebra akash
Boolean algebra akashaaryan505
 
Math1003 1.15 - Integers and 2's Complement
Math1003 1.15 - Integers and 2's ComplementMath1003 1.15 - Integers and 2's Complement
Math1003 1.15 - Integers and 2's Complementgcmath1003
 
Boolean Logic: how to talk to search engines in their own language
Boolean Logic: how to talk to search engines in their own languageBoolean Logic: how to talk to search engines in their own language
Boolean Logic: how to talk to search engines in their own languageBoxford Library
 
2s complement arithmetic
2s complement arithmetic2s complement arithmetic
2s complement arithmeticSanjay Saluth
 

Destacado (20)

Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Ebp for the ebp
Ebp for the ebpEbp for the ebp
Ebp for the ebp
 
Number System
Number SystemNumber System
Number System
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Keyword Searching 13
Keyword Searching 13Keyword Searching 13
Keyword Searching 13
 
Class 6 truth tables and boolean math
Class 6   truth tables and boolean mathClass 6   truth tables and boolean math
Class 6 truth tables and boolean math
 
Boolean operators
Boolean operatorsBoolean operators
Boolean operators
 
EMBEDDED SYSTEMS 6
EMBEDDED SYSTEMS 6EMBEDDED SYSTEMS 6
EMBEDDED SYSTEMS 6
 
ENGR 312 Wind Power
ENGR 312   Wind PowerENGR 312   Wind Power
ENGR 312 Wind Power
 
Binary addition
Binary additionBinary addition
Binary addition
 
Boolean Searching
Boolean SearchingBoolean Searching
Boolean Searching
 
Searching Tips
Searching TipsSearching Tips
Searching Tips
 
Math1003 1.8 - Converting from Binary and Hex to Decimal
Math1003 1.8 - Converting from Binary and Hex to DecimalMath1003 1.8 - Converting from Binary and Hex to Decimal
Math1003 1.8 - Converting from Binary and Hex to Decimal
 
Math1003 1.12 - Binary Addition
Math1003 1.12 - Binary AdditionMath1003 1.12 - Binary Addition
Math1003 1.12 - Binary Addition
 
Math1003 - An Intro to Number Systems
Math1003 - An Intro to Number SystemsMath1003 - An Intro to Number Systems
Math1003 - An Intro to Number Systems
 
Boolean- Search Basics
Boolean- Search BasicsBoolean- Search Basics
Boolean- Search Basics
 
Boolean algebra akash
Boolean algebra akashBoolean algebra akash
Boolean algebra akash
 
Math1003 1.15 - Integers and 2's Complement
Math1003 1.15 - Integers and 2's ComplementMath1003 1.15 - Integers and 2's Complement
Math1003 1.15 - Integers and 2's Complement
 
Boolean Logic: how to talk to search engines in their own language
Boolean Logic: how to talk to search engines in their own languageBoolean Logic: how to talk to search engines in their own language
Boolean Logic: how to talk to search engines in their own language
 
2s complement arithmetic
2s complement arithmetic2s complement arithmetic
2s complement arithmetic
 

Similar a Introduction to Boolean Algebra

Similar a Introduction to Boolean Algebra (20)

boolean-logic.pptx
boolean-logic.pptxboolean-logic.pptx
boolean-logic.pptx
 
Boolean+logic
Boolean+logicBoolean+logic
Boolean+logic
 
DE notes
DE notesDE notes
DE notes
 
Logical Gates
Logical GatesLogical Gates
Logical Gates
 
Chapter 2 Boolean Algebra.pptx
Chapter 2 Boolean Algebra.pptxChapter 2 Boolean Algebra.pptx
Chapter 2 Boolean Algebra.pptx
 
Number System & Logic Gate
Number System & Logic GateNumber System & Logic Gate
Number System & Logic Gate
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
 
class xi pptx-1.pptx
class xi pptx-1.pptxclass xi pptx-1.pptx
class xi pptx-1.pptx
 
Digital Basics
Digital BasicsDigital Basics
Digital Basics
 
9. logic gates._rr
9. logic gates._rr9. logic gates._rr
9. logic gates._rr
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
 
LOGIC GATES
LOGIC GATESLOGIC GATES
LOGIC GATES
 
Logic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andLogic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers and
 
Chapter 5 boolean algebra
Chapter 5 boolean algebraChapter 5 boolean algebra
Chapter 5 boolean algebra
 
BOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.pptBOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.ppt
 
Week4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptxWeek4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptx
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic gates 1
Logic gates 1Logic gates 1
Logic gates 1
 
Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdf
 
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
 

Último

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
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 17Celine George
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
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.MaryamAhmad92
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
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).pptxEsquimalt MFRC
 
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.pptxMaritesTamaniVerdade
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
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.pdfPoh-Sun Goh
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 

Último (20)

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
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
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
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.
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
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
 
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
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
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
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 

Introduction to Boolean Algebra

  • 1. The basis for digital electronics.
  • 2. What digital electronics do you use? Computer CD & DVD players IPod Cell phone HDTV Digital cameras
  • 3. What are digital electronics? Sound is an analog signal. On a CD, digital sound is encoded as 44.1 kHz, 16 bit audio.  The original wave is 'sliced' 44,100 times a second - and an average amplitude level is applied to each sample.  16 bit means that a total of 65,536 different values can be assigned, or quantized to each sample. DVD-Audio can be 96 or 192 kHz and up to 24 bits resolution
  • 4. George Boole George Boole, a British mathematician (1815-1864). Logic and math are equivalent. All math functions can be determined using these 3 primary Boolean logic operators: AND, OR, and NOT. AND narrows your search, OR broadens your search, and NOT is used to exclude concepts.
  • 5. Have you used Boolean logic? What information have you searched for on the Web? Do a Google Search for car radios.
  • 6. The AND operator (both, all) rivers AND salinity dairy products AND export AND Europe
  • 7. The OR operator (either, any) fruit OR vegetables fruit OR vegetables OR cereal from CSIRO Australia
  • 8. The NOT operator fruit NOT apples
  • 9. Let’s use Boolean logic to examine class. Please stand up if you are: girl AND black hair AND left handed Please stand up if you are: girl OR black hair OR left handed And NOT How has the group changed depending on the logical operator used.
  • 10. What would a library search give for “stress” and “anxiety”? Shaded areas indicate retrieval Search Statement Types of records retrieved Number of records retrieved stress OR anxiety Documents that discuss either stress or anxiety 1127 stress AND anxiety Documents that discuss both stress and anxiety 51 Documents that discuss
  • 11. Nesting When more than one element is in parentheses, the sequence is left to right. This is called "nesting."  (foxes OR rabbits) AND pest control  foxes OR rabbits AND pest control  (animal pests OR pest animals) NOT rabbits Parentheses should be used to group terms joined by OR when there is any other operator in the search.
  • 12. Order of precedence of Boolean operators The order of operations is: AND, NOT, OR, XOR Parentheses are used to override priority. Expressions in parentheses are processed first. Parentheses are used to organize the sequence and groups of concepts.
  • 13. Basis for digital computers. The true-false nature of Boolean logic makes it compatible with binary logic used in digital computers. Electronic circuits can produce Boolean logic operations. Circuits are called gates.  NOT  AND  OR
  • 14. NOT gate  The simplest possible gate is called an "inverter," or a NOT gate.  One bit as input produces its opposite as output.  The symbol for a NOT gate in circuit diagrams is shown below.  The logic table for the NOT gate shows input and output. A Q 0 1 1 0 From How Stuff Works
  • 15. AND gate  The AND gate has the following symbol and logic table.  Two or more input bits produce one output bit.  Both inputs must be true (1) for the output to be true.  Otherwise the output is false (0). A B Q 0 0 0 0 1 0 1 0 0 1 1 1
  • 16. OR gate  The OR gate has the following symbol and logic table.  Two or more input bits produce one output bit.  Either inputs must be true (1) for the output to be true. A B Q 0 0 0 0 1 1 1 0 1 1 1 1  http://www.play-hookey.com/digital/basic_gates.html
  • 17. Combine gates. Gates can be combined. The output of one gate can become the input of another. Try to determine the logic table for this circuit.
  • 18. Construct the logic table for these circuits.