SlideShare uma empresa Scribd logo
1 de 18
Understanding Boolean
       Algebra
 Software Developers View of
          Hardware
What is Boolean Algebra?
 Is used to describe logical propositions
  where the outcome is either true or
  false.
Algebra Notation
Logic Gate   Meaning   Notation

  NOT        NOT A        A

   OR        A OR B     A+B

  AND        A AND B     A.B

  XOR        A XOR B    A⊕B
The Process
Step 1
 Find the output for Q.




 Q = C.D
Step 2
 Find the output for D.




 D = A+B
Step 3
 Find the output for C.




 C = NOT B
Step 4
 Combine the equation.



 Q = (NOT B).(A+B)
Step 5
 Test via a truth table.
     A       B       C      B   A+B   Q
      0      0       0      1    0    0
      0      0       1      1    0    0
      0      1       0      0    1    0
      0      1       1      0    1    0
      1      0       0      1    1    1
      1      0       1      1    1    1
      1      1       0      0    1    0
      1      1       1      0    1    0
Activity 1
 Construct a truth table for the following
  circuit using Boolean algebra:
Answer
A   B   C=A    D=C.B   Q=B+D
0   0    1       0       0
0   1    1       1       1
1   0    0       0       0
1   1    0       0       1
Activity 2
 Construct a circuit that will output 1
  only when A=0 and B=1.

    A           B              Q
     0           0             0
     0           1             1
     1           0             0
     1           1             0
Answer
Activity 3
 We can solve a problem if we are given a truth table
  rather than a written description. Here is another
  truth table, create a circuit from it.

          A              B                Q
          0              0                 1
          0              1                 0
          1              0                 1
          1              1                 1
Answer
Activity 5
 You have a buzzer in your car that sounds
  when your keys are in the ignition and the
  door is open (Door Open = 0).Create the
  following:
    Algebra Notation
    Truth Table
    Circuit
Activity 6
 You have a buzzer in your car that sounds
  when your keys are in the ignition and the
  door is open (Door Open = 0).Create the
  following:
    Algebra Notation
    Truth Table
    Circuit
Situations
1.You have a buzzer in your car that sounds when your keys are in
   the ignition and the door is open.
2.You have a fire alarm installed in your house. This alarm will
   sound if it senses heat or smoke.
3.There is a federal election coming up. People are allowed to vote
   if they are a Canadian citizen and they are 18.
4.Mr. Carranza is giving his students an assignment. To complete
   the assignment the students must do a presentation or write an
   essay.
5.Stephanie is applying to a university Applied Mathematics
   program. She must have OACs in Algebra, Calculus and
   Physics or Chemistry.

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Design half ,full Adder and Subtractor
Design half ,full Adder and SubtractorDesign half ,full Adder and Subtractor
Design half ,full Adder and Subtractor
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Electronics: Logic Gates
Electronics: Logic GatesElectronics: Logic Gates
Electronics: Logic Gates
 
Logic gates presentation
Logic gates presentationLogic gates presentation
Logic gates presentation
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
STLD-Combinational logic design
STLD-Combinational  logic design STLD-Combinational  logic design
STLD-Combinational logic design
 
Half adder and full adder
Half adder and full adderHalf adder and full adder
Half adder and full adder
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
DIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic GatesDIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic Gates
 
simplification of boolean algebra
simplification of boolean algebrasimplification of boolean algebra
simplification of boolean algebra
 
Basic Logic gates
Basic Logic gatesBasic Logic gates
Basic Logic gates
 
Adder ppt
Adder pptAdder ppt
Adder ppt
 
Parity Generator and Parity Checker
Parity Generator and Parity CheckerParity Generator and Parity Checker
Parity Generator and Parity Checker
 
Verilog lab manual (ECAD and VLSI Lab)
Verilog lab manual (ECAD and VLSI Lab)Verilog lab manual (ECAD and VLSI Lab)
Verilog lab manual (ECAD and VLSI Lab)
 
module1:Introduction to digital electronics
module1:Introduction to digital electronicsmodule1:Introduction to digital electronics
module1:Introduction to digital electronics
 
Registers
RegistersRegisters
Registers
 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
 
Chapter 5 boolean algebra
Chapter 5 boolean algebraChapter 5 boolean algebra
Chapter 5 boolean algebra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Logic gates
Logic gatesLogic gates
Logic gates
 

Destaque

Boolean algebra
Boolean algebraBoolean algebra
Boolean algebraGagan Deep
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic GatesKumar
 
BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA Shaik Aman
 
CBSE XII Boolean Algebra
CBSE XII Boolean AlgebraCBSE XII Boolean Algebra
CBSE XII Boolean AlgebraGuru Ji
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Qundeel
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebraRania H
 
presentation on (Boolean rules & laws)
presentation on (Boolean rules & laws)presentation on (Boolean rules & laws)
presentation on (Boolean rules & laws)kinza arshad
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gatesKumar
 
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
 
Graph isomorphism
Graph isomorphismGraph isomorphism
Graph isomorphismCore Condor
 

Destaque (20)

Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
 
Boolean algebra
 Boolean algebra Boolean algebra
Boolean algebra
 
BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
CBSE XII Boolean Algebra
CBSE XII Boolean AlgebraCBSE XII Boolean Algebra
CBSE XII Boolean Algebra
 
boolean algebra
boolean algebraboolean algebra
boolean algebra
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Flip flops (ff)
Flip flops (ff)Flip flops (ff)
Flip flops (ff)
 
presentation on (Boolean rules & laws)
presentation on (Boolean rules & laws)presentation on (Boolean rules & laws)
presentation on (Boolean rules & laws)
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic 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.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
 
Counters
CountersCounters
Counters
 
Chapter 5 counter
Chapter 5 counterChapter 5 counter
Chapter 5 counter
 
Graph isomorphism
Graph isomorphismGraph isomorphism
Graph isomorphism
 
Ecology jt2012
Ecology  jt2012Ecology  jt2012
Ecology jt2012
 

Semelhante a Boolean Algebra Guide for Software Developers

Semelhante a Boolean Algebra Guide for Software Developers (20)

Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfBoolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdf
 
Pe 4030 digital logic chapter 7 (weeks 11 12)
Pe 4030 digital logic chapter 7 (weeks 11 12)Pe 4030 digital logic chapter 7 (weeks 11 12)
Pe 4030 digital logic chapter 7 (weeks 11 12)
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Week 2 Boolean Algebra.pptx
Week 2 Boolean Algebra.pptxWeek 2 Boolean Algebra.pptx
Week 2 Boolean Algebra.pptx
 
Logic Equation Simplification
Logic Equation SimplificationLogic Equation Simplification
Logic Equation Simplification
 
Top school in india
Top school in indiaTop school in india
Top school in india
 
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdfLec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
 
14 Lec11 2003
14 Lec11 200314 Lec11 2003
14 Lec11 2003
 
07 boolean algebra
07 boolean algebra07 boolean algebra
07 boolean algebra
 
boolean logic3.pdf
boolean logic3.pdfboolean logic3.pdf
boolean logic3.pdf
 
NOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxNOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptx
 
Chapter 4 logic design
Chapter 4   logic designChapter 4   logic design
Chapter 4 logic design
 
Digital logic design lecture 06
Digital logic design   lecture 06 Digital logic design   lecture 06
Digital logic design lecture 06
 
Gerbang Logika Dasar
Gerbang Logika DasarGerbang Logika Dasar
Gerbang Logika Dasar
 
PPT 1.pptx
PPT 1.pptxPPT 1.pptx
PPT 1.pptx
 
9. logic gates._rr
9. logic gates._rr9. logic gates._rr
9. logic gates._rr
 
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
 
DM2020 boolean algebra
DM2020 boolean algebraDM2020 boolean algebra
DM2020 boolean algebra
 
Electronic Circuits
Electronic  CircuitsElectronic  Circuits
Electronic Circuits
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 

Mais de gavhays

Data types
Data typesData types
Data typesgavhays
 
End user development
End user developmentEnd user development
End user developmentgavhays
 
Representation Of Data
Representation Of DataRepresentation Of Data
Representation Of Datagavhays
 
N301 Designing Circuits
N301 Designing CircuitsN301 Designing Circuits
N301 Designing Circuitsgavhays
 
Integer Representation
Integer RepresentationInteger Representation
Integer Representationgavhays
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmeticgavhays
 
Understanding Flip Flops
Understanding Flip FlopsUnderstanding Flip Flops
Understanding Flip Flopsgavhays
 
Programming Hardware Devices
Programming Hardware DevicesProgramming Hardware Devices
Programming Hardware Devicesgavhays
 
Sdd Maintenance Of Software Solutions
Sdd Maintenance Of Software SolutionsSdd Maintenance Of Software Solutions
Sdd Maintenance Of Software Solutionsgavhays
 
Sdd Documentation
Sdd DocumentationSdd Documentation
Sdd Documentationgavhays
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutionsgavhays
 
Reporting On The Testing Process
Reporting On The Testing ProcessReporting On The Testing Process
Reporting On The Testing Processgavhays
 
S D D Program Development Tools
S D D  Program  Development  ToolsS D D  Program  Development  Tools
S D D Program Development Toolsgavhays
 
SDD Translation
SDD  TranslationSDD  Translation
SDD Translationgavhays
 
The Role Of The Cpu
The Role Of The CpuThe Role Of The Cpu
The Role Of The Cpugavhays
 
Sdd Syntax Descriptions
Sdd Syntax DescriptionsSdd Syntax Descriptions
Sdd Syntax Descriptionsgavhays
 
Interface Design
Interface DesignInterface Design
Interface Designgavhays
 

Mais de gavhays (18)

Data types
Data typesData types
Data types
 
End user development
End user developmentEnd user development
End user development
 
Representation Of Data
Representation Of DataRepresentation Of Data
Representation Of Data
 
N301 Designing Circuits
N301 Designing CircuitsN301 Designing Circuits
N301 Designing Circuits
 
Integer Representation
Integer RepresentationInteger Representation
Integer Representation
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Understanding Flip Flops
Understanding Flip FlopsUnderstanding Flip Flops
Understanding Flip Flops
 
Programming Hardware Devices
Programming Hardware DevicesProgramming Hardware Devices
Programming Hardware Devices
 
Plp
PlpPlp
Plp
 
Sdd Maintenance Of Software Solutions
Sdd Maintenance Of Software SolutionsSdd Maintenance Of Software Solutions
Sdd Maintenance Of Software Solutions
 
Sdd Documentation
Sdd DocumentationSdd Documentation
Sdd Documentation
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
 
Reporting On The Testing Process
Reporting On The Testing ProcessReporting On The Testing Process
Reporting On The Testing Process
 
S D D Program Development Tools
S D D  Program  Development  ToolsS D D  Program  Development  Tools
S D D Program Development Tools
 
SDD Translation
SDD  TranslationSDD  Translation
SDD Translation
 
The Role Of The Cpu
The Role Of The CpuThe Role Of The Cpu
The Role Of The Cpu
 
Sdd Syntax Descriptions
Sdd Syntax DescriptionsSdd Syntax Descriptions
Sdd Syntax Descriptions
 
Interface Design
Interface DesignInterface Design
Interface Design
 

Último

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Último (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Boolean Algebra Guide for Software Developers

  • 1. Understanding Boolean Algebra Software Developers View of Hardware
  • 2. What is Boolean Algebra?  Is used to describe logical propositions where the outcome is either true or false.
  • 3. Algebra Notation Logic Gate Meaning Notation NOT NOT A A OR A OR B A+B AND A AND B A.B XOR A XOR B A⊕B
  • 5. Step 1  Find the output for Q.  Q = C.D
  • 6. Step 2  Find the output for D.  D = A+B
  • 7. Step 3  Find the output for C.  C = NOT B
  • 8. Step 4  Combine the equation.  Q = (NOT B).(A+B)
  • 9. Step 5  Test via a truth table. A B C B A+B Q 0 0 0 1 0 0 0 0 1 1 0 0 0 1 0 0 1 0 0 1 1 0 1 0 1 0 0 1 1 1 1 0 1 1 1 1 1 1 0 0 1 0 1 1 1 0 1 0
  • 10. Activity 1  Construct a truth table for the following circuit using Boolean algebra:
  • 11. Answer A B C=A D=C.B Q=B+D 0 0 1 0 0 0 1 1 1 1 1 0 0 0 0 1 1 0 0 1
  • 12. Activity 2  Construct a circuit that will output 1 only when A=0 and B=1. A B Q 0 0 0 0 1 1 1 0 0 1 1 0
  • 14. Activity 3  We can solve a problem if we are given a truth table rather than a written description. Here is another truth table, create a circuit from it. A B Q 0 0 1 0 1 0 1 0 1 1 1 1
  • 16. Activity 5  You have a buzzer in your car that sounds when your keys are in the ignition and the door is open (Door Open = 0).Create the following:  Algebra Notation  Truth Table  Circuit
  • 17. Activity 6  You have a buzzer in your car that sounds when your keys are in the ignition and the door is open (Door Open = 0).Create the following:  Algebra Notation  Truth Table  Circuit
  • 18. Situations 1.You have a buzzer in your car that sounds when your keys are in the ignition and the door is open. 2.You have a fire alarm installed in your house. This alarm will sound if it senses heat or smoke. 3.There is a federal election coming up. People are allowed to vote if they are a Canadian citizen and they are 18. 4.Mr. Carranza is giving his students an assignment. To complete the assignment the students must do a presentation or write an essay. 5.Stephanie is applying to a university Applied Mathematics program. She must have OACs in Algebra, Calculus and Physics or Chemistry.