4. Computer Maths and Logic 4.2 Boolean Logic 4.2.3 Simplifying Boolean Expressions.

Slides:



Advertisements
Similar presentations
Computer Organization and Architecture Tutorial 6 Kenneth Lee.
Advertisements

Logic Functions Logical functions can be expressed in several ways: ▫ Truth table ▫ Logical expressions ▫ Graphical form prepared by:eng.Rula Amjed.
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
Lecture 14 Today we will Learn how to implement mathematical logical functions using logic gate circuitry, using Sum-of-products formulation NAND-NAND.
1 CSE 20: Lecture 7 Boolean Algebra CK Cheng 4/21/2011.
Propositional Calculus Math Foundations of Computer Science.
ENGG 1203 Tutorial Combinational Logic (I) 1 Feb Learning Objectives
Digital Logic Design ESGD2201
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
Digital Logic Circuits – Chapter 1 Section 1-3, 1-2.
CHAPTER 2 Boolean Algebra
Systems Architecture I1 Propositional Calculus Objective: To provide students with the concepts and techniques from propositional calculus so that they.
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
Lecture 7 Topics –Boolean Algebra 1. Logic and Bits Operation Computers represent information by bit A bit has two possible values, namely zero and one.
Computer Organization 1 Logic Gates and Adders. Propositions –Venn Diagrams.
ECE 331 – Digital System Design
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /05/2013 Lecture 4: Basics of Logic Design Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
Why? What’s Boolean algebra used for? –“The purpose of Boolean algebra is to facilitate the analysis and design of digital circuits.” Express a truth table.
Boolean Algebra & Logic Prepared by Dr P Marais (Modified by D Burford)
+ CS 325: CS Hardware and Software Organization and Architecture Gates and Boolean Algebra Part 2.
Combination of logic gates  Logic gates can be combined to produce more complex functions.  They can also be combined to substitute one type of gate.
Properties and Mental Computation p. 80. Math talk What are some math properties that we use? Why do you think we have them? Do you ever use them?
Boolean Algebra AND gate A B | AB 0 0 | | | | 1 OR gate A B | A + B 0 0 | | | | 1 NOT gate _ A | A or A’ 0 | 1 1 |
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
Boolean Algebra Monday/Wednesday 7th Week. Logical Statements Today is Friday AND it is sunny. Today is Friday AND it is rainy. Today is Monday OR it.
IB Computer Science – Logic
Computer Systems 1 Fundamentals of Computing Simplifying Boolean Expressions.
Boolean 1.1 Boolean Logic 1 ©Paul Godin Created September 2007 Last Edit September 2009 gmail.com.
Laws of Boolean Algebra Commutative Law Associative Law Distributive Law Identity Law De Morgan's Theorem.
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
Circuits & Boolean Expressions. A ABC BC ABC C B A Example # 1: Boolean Expression: Develop a Boolean expression from a circuit.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
DE MORGAN’S THEOREM. De Morgan’s Theorem De Morgan’s Theorem.
Logic Gates and Boolean Algebra Introduction to Logic II.
CSE 461. Binary Logic Binary logic consists of binary variables and logical operations. Variables are designated by letters such as A, B, C, x, y, z etc.
Digital Logic Design. Truth Table  Logic Circuit 1. Start with truth table 2. When your output is a 1, figure out the combination of inputs, ANDs, and.
Module Code MA0003NI: Computing mathematics Lecture for Week Autumn.
Boolean Algebra How gates get picked. Boolean Arithmetic Boolean ≠ Binary – Boolean – 1/0 only, no places Boolean addition:
Hoda Roodaki Boolean Algebra Hoda Roodaki
Properties of Real Numbers
Department of Preparatory Year, Umm Al Qura University
De Morgan’s Theorem,.
Logic Gates and Boolean Algebra
Logic Gates, Boolean Algebra and Karnaugh Maps
CHAPTER 2 Boolean Algebra
7.1 The Distributive Property
CHAPTER 1 : INTRODUCTION
Digital Logic.
Boolean Algebra.
Princess Sumaya University
Boolean Expressions Lecture No. 10.
Component 1 – 2A, B, C Binary Logic
TN 221: DIGITAL ELECTRONICS 1
Circuits & Boolean Expressions
Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan
Propositional Calculus: Boolean Algebra and Simplification
Boolean Algebra.
Boolean Algebra.
Boolean Algebra.
De Morgan’s laws presentation
GCSE Computer Science – Logic Gates & Boolean Expressions
Chapter 4 Gates and Circuits.
Boolean Algebra How gates get picked.
Component 1 – 2A, B, C Binary Logic
Laws & Rules of Boolean Algebra
Circuits & Boolean Expressions
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Boolean Algebra S.SADHISH PRABHU.
Presentation transcript:

4. Computer Maths and Logic 4.2 Boolean Logic Simplifying Boolean Expressions

Complex expressions can be constructed using the operators e.g. (A  B) (C + D), which is equivalent to writing (A xor not B) and (neither C nor D nor both). In the exam, you will not have to consider more than 3 inputs Complex Expressions

To evaluate a complex Boolean expression, break it down to smaller parts then use a truth table e.g. firstly (A  B): Complex Expressions

(A  B)‏ BBA OutputIntermedi ate Inputs Complex Expressions

There’s a worksheet to help you evaluate the rest of the expression Draw similar truth tables for A + B and A B. Truth tables can be used as a means of checking if two expressions are equivalent. Complex Expressions

Complex expressions can often be reduced to simpler ones This is similar to work you have done in algebra in maths Look out for the following expressions which are always true Simplifying Expressions

A 0 = 0 A + 1 = 1 Simplifying Expressions

A 1 = A A + 0 = A Simplifying Expressions

A + A = A A A = A Simplifying Expressions

A B = B A A + B = B + A (the commutative law) ‏ Simplifying Expressions

A (B C) = (A B) C = A B C (the associative law) ‏ Simplifying Expressions

A + (B + C) = (A + B) + C = A + B + C (the associative law) ‏ Simplifying Expressions

A (B + C) = AB + AC (A + B) (A + C) = AA + AC + BA + BC (the distributive law) ‏ Verify these with truth tables Simplifying Expressions

A + A = 1 A A = 0 (De Max's laws) ‏ Simplifying Expressions

A + B = A B De Morgen's law Verify these with truth tables Simplifying Expressions

anything in brackets is done first is done before + Simplifying Expressions