PSU CS 106 Computing Fundamentals II Boolean Algebra - Intro HM 1/3/2009.

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gate
Advertisements

Lecture 2 Dr Richard Reilly Dept. of Electronic & Electrical Engineering Room 153, Engineering Building To insert your company logo on this slide From.
10/22/2004EE 42 fall 2004 lecture 221 Lecture #22 Truth tables and gates This week: Circuits for digital devices.
1 Boolean Algebra & Logic Design. 2 Developed by George Boole in the 1850s Mathematical theory of logic. Shannon was the first to use Boolean Algebra.
Copyright © Cengage Learning. All rights reserved. CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS THE LOGIC OF COMPOUND STATEMENTS.
Generalized De Morgan’s Theorem Lecture L5.4 Section 5.1.
The Arithmetic of Reasoning: Logic and Boolean Algebra -Jeff Johnson -Mike Grassel.
A Brief Biography of George Boole
22C:19 Discrete Math Introduction and Scope Propositions Fall 2011 Sukumar Ghosh.
Binary Logic and Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh
22C:19 Discrete Math Boolean Algebra & Digital Logic Fall 2010 Sukumar Ghosh.
Computer Organization
Binary Codes Computers and other digital systems "work" with binary numbers. I/P & O/P is usually done using decimal numbers, alphabetics, special symbols.
Computer Science 101 The Boolean System. George Boole British mathematician ( ) Boolean algebra –Logic –Set theory –Circuits –Conditions in if.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Today’s Agenda 1.Research Paper –Rough draft due Mon, Feb. 11 –Peer edit session on Wed, Feb. 13 –Final version due Wed, Feb. 20 –Oral presentation Tues,
CSC Intro. to Computing Lecture 5: Boolean Logic, Gates, & Circuits.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
1 CS 106 Computing Fundamentals II Chapter 9 “Binary and Decimal” Herbert G. Mayer, PSU CS status 6/17/2013.
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
Computer Science 210 Computer Organization Introduction to Boolean Algebra.
Discrete Mathematics and Its Applications.  The English mathematician George Boole ( ) sought to give symbolic form to Aristotle's system of.
Boolean Algebra & Logic Prepared by Dr P Marais (Modified by D Burford)
D75P 34R - HNC Computer Architecture Week 6 Boolean Logic © C Nyssen/Aberdeen College 2004 All images © C Nyssen /Aberdeen College unless otherwise stated.
George Boole English mathematician and a founder of the algebraic tradition in logic. Known as the “founder of the field of computer science.”
Presented by: Kevin Steward. Born November 2, 1815 in England He started school at 1 ½ By 11 he taught himself Greek and Latin 16 drop out of school,
Computer Organization 1 Logic and Boolean Algebra.
Logic and Boolean Algebra. Logic statements  Real life statements  “I use public transportation when the car is broken and I have to go to work”  “All.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
Lecture 4 Introduction to Boolean Algebra. Binary Operators In the following descriptions, we will let A and B be Boolean variables and define a set of.
Laws of Boolean Algebra Commutative Law Associative Law Distributive Law Identity Law De Morgan's Theorem.
Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337.
Boolean Algebra Computer Architecture. Digital Representation Digital is an abstraction of analog voltage –Voltage is a continuous, physical unit Typically.
ECE 171 Digital Circuits Chapter 4 Boolean Algebra Herbert G. Mayer, PSU Status 2/1/2016 Copied with Permission from prof. Mark PSU ECE.
Appendix B: Digital Logic
ECE DIGITAL LOGIC LECTURE 6: BOOLEAN ALGEBRA Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 02/01/2016.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
Boolean Algebra Boolean algebra was introduced by George Boole in his first book The Mathematical Analysis of Logic (1847), perfected in the late 19th.
Logic Simplification-Using Boolean Laws Logic Design Laboratory EE 2121 Lectures By Manesh T EE2121-In Charge
Logic Design (CE1111 ) Lecture 2 (Chapter 2) Prepared by Dr. Lamiaa Elshenawy 1.
DIGITAL ELECTRONICS. Everything in digital world is based on binary system. Numerically it involves only two symbols 0 or 1. –0 = False = No –1 = True.
NAND, NOR, and EXOR (more primitive logical gates) CS Computer Architecture David Mayer.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
By John Beverly. Born in Lincolnshire, England – Nov. 8, 1815 Professor of Queens College, Cork (now University College Cork) in Ireland – 1850 Married.
GEORGE BOOLE by 3B s.i.a Boole was born in 1815 in the English industrial town of Lincoln. George Boole's father was a tradesman in Lincoln.
Dr. ClincyLecture Slide 1 CS6020- Chapter 3 (3A and ) Dr. Clincy Professor of CS First Exam - Tuesday, September 6th Coverage: All subjects up to.
George Boole and his Legacy “Standing on the Shoulders of Giants” Richard Henson University of Worcester Presentation for BCS 8 th.
Hoda Roodaki Boolean Algebra Hoda Roodaki
Propositional Logic (a.k.a. Sentential Logic)
Boolean Algebra & Logic Gates
CPS120 Introduction to Computer Science
Computer Science 210 Computer Organization
CS Chapter 3 (3A and ) Part 1 of 8
Boolean Algebra & De Morgan's Theorems
Logic Gates and Boolean Algebra
CS Chapter 3 (3A and ) Part 1 of 8
COMPUTING FUNDAMENTALS
4-1 LOGIC OPERATIONS In Chapter 3 we discussed the fact that data inside a computer is stored as patterns of bits. Logic operations refer to those operations.
Dr. Clincy Professor of CS
Computer Science 210 Computer Organization
Dr. Clincy Professor of CS
Fundamentals of Computer Systems
Copied with Permission from prof. Mark PSU ECE
Lab Instructors will overview the MSP430
ECS15 boolean.
Boolean Algebra By: Asst Lec. Besma Nazar Nadhem
Millennium High School Agenda Calendar
ECE 352 Digital System Fundamentals
Binary Logic and Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh
Conditionals.
Presentation transcript:

PSU CS 106 Computing Fundamentals II Boolean Algebra - Intro HM 1/3/2009

2 © Dr. Herbert G. Mayer Agenda George Boole Augustus De Morgan Boolean Values 16 Boolean Operators Boolean And Boolean Or Boolean Xor Boolean Not De Morgan’s Theorem Useful Urls

3 © Dr. Herbert G. Mayer George Boole George Boole, 1815 to 1864, was a British mathematician, who developed what we now call Boolean Algebra (BA). He led a relatively uneventful life, being a private teacher at a young age in Doncaster, England, then math teacher in Liverpool, and in 1849 received an appointment as the first professor of mathematics at Queen's College, Cork in Ireland. He published numerous papers, many of which failed to create excitement in the world of mathematicians at the time. Of these, several are now regarded sine-qua-non standard material in Boolean Algebra, starting with his earliest publication on Theory of Analytical Transformations. Interestingly, the effective founder of the theory of computer science did not regard his specialty, BA, to be a branch of mathematics. His work influenced another contemporary founder of BA, Augustus De Morgan, living also in England from 1806 to 1871.

4 © Dr. Herbert G. Mayer Augustus De Morgan Augustus De Morgan was born in 1806 in Mandura, India. Lived in England, graduated from Trinity College, Cambridge in 1827, with well-rounded, classical education. Became professor of mathematics at University College in London. De Morgan was renowned for his methods of making math interesting and stimulating to students. Died 1871 in London after a life of heavy change with a vast body of publications. Well known as Boole’s contemporary and articulator of De Morgan’s theorem, though it had been known already in the times of Aristotle.

5 © Dr. Herbert G. Mayer Boolean Values The value domain of Boolean Algebra (BA) is limited to the two values True and False, in the computer science world also known as 0 and 1, represented via a bit (a binary digit) of information that can take only one of these values. In the computer technology such a bit is represented by defined voltage values. For example, a value close to 0 V stands for False (or 0), while an electrical value of 1.1 V stands for True (or 1). The real value of using bits comes in their combination to large sequences of bit strings. Boolean functions (operators) are logic operation on bits. There are 16 distinct operations, including the trivial identities of always true or always false; all 16 are shown below:

6 © Dr. Herbert G. Mayer 16 Boolean Operators Boolean Function F n Operator Symbol with at most two Boolean operands a and b Function Name F0F0 0Constant False F1F1 a ^ ba and b F2F2 a ^ ! ba and not b F3F3 aa identity F4F4 ! a and bnot a and b F5F5 bb identity F6F6 a x ba exclusive or b F7F7 a v ba or b – AKA inclusive or F8F8 a !v ba nor b F9F9 a x !v ba exclusive nor b F 10 ! bnot b F 11 a v ! ba or not b F 12 ! anot a F 13 ! a v bnot a or b F 14 a !^ ba nand b F 15 1Constant True

7 © Dr. Herbert G. Mayer Boolean And Boolean function and: true only if a and also b are true:

8 © Dr. Herbert G. Mayer Boolean Or (Inclusive Or) Boolean function inclusive or: true if a or b or both are true:

9 © Dr. Herbert G. Mayer Boolean Xor (Exclusive Or) Boolean function exclusive or: true if value of a differs from b:

10 © Dr. Herbert G. Mayer Boolean Not Boolean function not a: is true only if a is false:

11 © Dr. Herbert G. Mayer De Morgan’s Theorem Assuming a and b are Boolean variables And ^ the logical-and, and v the logical-or op Finally ! stands for the logical-not. Then: 1.) ! ( a ^ b ) = ( ! a ) v ( ! b ) 2.) ! ( a v b ) = (! a ) ^ ( ! b ) 1.) if the combined a and b are false, then at least one of a and b must be false 2.) if the combined a or b condition is false, then both a and also b must be false

12 © Dr. Herbert G. Mayer Useful urls