BOOLEAN ALGEBRA TRUTH TABLE

Size: px
Start display at page:

Download "BOOLEAN ALGEBRA TRUTH TABLE"

Transcription

1 BOOLEAN ALGEBRA TRUTH TABLE Truth table is a table which represents all the possible values of logical variables / statements along with all the possible results of the given combinations of values. Eg: X Y R represents TRUE and represents FALSE. TAUTOLOGY If result of any logical statement or expression is always TRUE or, it is called Tautology. FALLACY If result of any logical statement or expression is always FALSE or, it is called Fallacy. NOT OPERATOR This Operator operates on single variables. Truth Table X Result OR OPERATOR Operator denotes operation called logical addition.

2 X Y X+ Y AND OPERATOR AND Operator denotes operation called logical Multiplication. X Y X. Y Evaluation of Boolean Expressions Using Truth Table.. X + (Y.Z) X Y Z Y.Z (Y.Z) X+(Y.Z) BASIC LOGIC GATES Logic Gate 2

3 A Gate is simply an electronic circuit which operates on one or more signals to produce an output signal. There are three types of logic gates:-. Inverter (NOT Gate) 2. OR gate 3. AND gate Inverter (NOT Gate) An inverter (NOT gate) is a gate with only one input signal and one output signal. The output signal is always the opposite of the input state. Truth Table of NOT Gate X X NOT Gate Symbol OR Gate The OR Gate has two or more input signals but only one output signal. If anyone input signal is high () then output signal will be high (). X Y X+ Y OR Gate Symbol 3

4 AND Gate The AND Gate has two or more input signals but only one output signal. If anyone input signal is low () then output signal will be low otherwise high X Y X. Y AND Gate Symbol BASIC POSTULATES OF BOOLEAN ALGEBRA I. If x!= then x= and if x!= then x= II. OR Relations (logical Addition) + = + = + = + = 4

5 III. AND Relations (Logical Multiplication). =. =. =. = IV. Complement rules = = PRINCIPLE OF DUALITY This states that starting with a Boolean relation another Boolean relation can be derived by. Changing each OR sign to an AND sign. 2. Changing each AND sign to OR sign. 3. Replacing each by and each by. The derived relation using duality principal is called dual of original expression. BASIC THEOREMS OF BOOLEAN ALGEBRA. Properties of and a. + X = X b. + X = c.. X = d.. X = X 2. Indempotence Law (a) X + X = X (b) X. X = X Proof (a) X + X = X X X R 5

6 Proof (b) X. X = X X X R 3. Involution X = X Proof X X X (9) Complementarity Law (a) X + X = (b) X. X = Proof X X X+X X X X.X () Commutative Law 6

7 i. X + Y= Y + X X Y X + Y Y + X ii.x.y = Y. X X Y X.Y Y.X () The Associative Law (i) X + (Y + Z) = (X + Y) + Z (ii) X(YZ) =(XY)Z Truth table for X+(Y+Z) = (X+Y)+Z is given below : Input Output X Y Z Y+Z X+Y X+(Y+Z) (X+Y)+Z 7

8 Comparing the columns X+(Y+Z) and (X+Y)+Z, we see both of these are identical, Hence proved. Since (i) is proved, (ii) is dual of rule (ii), hence it is also proved. (2) The Distributive Law (i) X(Y+Z) = XY+XZ (ii) X+YZ =(X+Y)(X+Z) Truth table for X(Y+Z) = XY+XZ are given below: Input Output X Y Z Y+Z XY XZ X(Y+Z) XY+XZ 8

9 Both the columns X(Y+Z) and XY+YZ are identical, hence proved. The algebraic proof of law X+YZ=(X+Y)(X+Z) RHS = (X+Y)(X+Z) =XX+XZ+XY+YZ =X+XZ+XY+YZ =X+XY+XZ+YZ =X(+Y)+Z(X+Y) =X.+Z(X+Y) =X+XZ+YZ=X(+Z)+YZ =X +YZ = LHS, Hence proved. Eg: State Distributive law and verify the same using truth table. Ans. If X, Y, Z are Boolean Variables then X.(Y + Z) = X.Y + X.Z or X+Y.Z = (X+Y).(X+Z) X Y Z Y+Z X.(Y+Z) X.Y X.Z X.Y+X.Z 9

10 (3) Absorption law (i) X+XY = X (ii) X(X+Y) =X (i) Truth table for X+XY = X is given below : Input Output X Y XY X+XY Both the columns X+XY and X are identical, hence proved. (ii) Truth table for X.(X+Y) = X is given below : Input Output

11 X Y X+Y X(X+Y) Column X and X(X+Y) are identical, hence proved. DEMORGAN S THEOREMS. Demorgan s First Theorem (X+Y) = X Y Proof (X+Y)+(X Y ) = (X+Y)+X Y =((X+Y)+X ).((X+Y)+Y ) = (X+X +Y).(X+Y+Y ) = (+Y).(X+) =. = (X+Y).(X Y ) = (X+Y).(X Y ) = X Y.(X+Y) = X Y X+X Y Y =.Y+X. = Hence proved 2. Demorgan s Second Theorem (X.Y) = X +Y Proof XY + (X +Y ) = =(X +Y )+XY

12 =(X +Y +X).(X +Y +Y) =(X+X +Y ).(X +Y+Y ) =(+Y ).(X +) =. = XY. (X +Y ) = = XY.( X +Y ) ->X(Y+Z)=XY+XZ = XYX +XYY =.Y+X. = + = Note:- Find the dual of the following expression. (X+Y)+Z=X+(Y+Z) The dual is (X.Y).Z=X.(Y.Z) Derivation of Boolean expression. Minterms Minterms is a product of all the literals (with or without the bar) within the logic system. Example: Convert X+Y to minterm X+Y = X.+Y. (Because X. = X) = X.(Y+Y )+Y.(X+X ) (Because X+X = ) = XY+XY +XY+X Y By Distributive law = XY+XY +X Y (Because X+X = X) 2. Maxterms Maxterm is a sum of all the literals (with or without the bar) within the logic system. Example: If the value of the variables are X=, Y= and Z= then the Maxterm will be X+Y +Z 2

13 3. Canonical Expression Boolean expression composed entirely either of minterms or Maxterm is referred to as canonical expression. Canonical expression can be represented in two forms: a. Sum of Products (SOP) form ii) Product of Sum (POS) form Canonical Sum of Products form When a Boolean expression is represented purely as sum of minterms (Product terms), it is said to be canonical Sum of Product form. Truth table for Product Terms (3 input) X Y Z ProductTerms/ Minterms X Y Z X Y Z X YZ X YZ XY Z XY Z XYZ XYZ Canonical sum of products expression can also be represented by the following Short hand notation. Example: - F= (,4,5,6,7) = m + m4 + m5 + m6 + m7 = (Boolean values for decimal numbers) = X Y Z + XY Z + XY Z+XYZ +XYZ Canonical Product of sum form 3

14 When a Boolean expression is represented purely as product of maxterms, it is said to be in canonical Product of Sum form of expression. Truth table for Sum Terms (3 input) X Y Z SumTerms/Maxterms X+Y+Z X+Y+Z X+Y +Z X+Y +Z X +Y+Z X +Y+Z X +Y +Z X +Y +Z Canonical product of sum expression can also be represented by the following Short hand notation. Example(): - F= (,4,5,6,7) =M. M4. M5. M6.M7 = (Boolean values for decimal numbers) = (X+Y+Z )( X +Y+Z)( X +Y+Z )( X +Y +Z)( X +Y +Z ) Minimization of Boolean expression. Algebraic method Example : - Reduce X Y Z + X YZ + XY Z + XYZ = X (Y Z + YZ ) + X(Y Z +YZ ) =X (Z (Y +Y)) + X(Z (Y +Y)) =X (Z.)+X(Z.) =X Z +XZ =Z (X +X) =Z. =Z 4

15 2. Simplification using karnaugh maps Karnaugh map Karnaugh map or K map is a graphical display of the fundamental products in a truth table. K Map is nothing but a rectangle made up of certain number of squares represents a Maxterm or minterm SOP reduction using K-maps For a function of n variables, there would be a map of 2 n squares each represents a minterm. Following are two, three, four variables k-maps for SOP reduction. Two variables Three variables 5

16 Four variable: ) Reduce the following Boolean expression using K-Map Ans. F(U,V,W,Z) = (,, 2, 3, 4,, ) 6

17 . Obtain the simplified form of a boolean expression using Karnaugh map. F(U,V,W,X) = (,3, 4, 5, 7,, 3, 5) [] U V []W Z [] W Z []WZ []WZ [] U V [] UV [] UV 2 quads, pair. Quad (m3+m7+m+m5) reduces to WZ Quad 2(m5+m7+m3+m5) reduces to VZ Pair (m,m4) reduces to U W Z Therefore F=WZ + VZ + U W Z POS reduction using K-maps : - For a function of n variables, there would be a map of 2 n squares each represents a maxterm. Following are two, three, four variables k-maps for POS reduction. Two variables Y Y X+Y X+Y 7

18 X +Y 2 X +Y 3 X X Three variables Y+Z Y+Z Y +Z Y +Z X+Y+Z X+Y+Z X+Y +Z 3 X+Y +Z 2 X +Y+Z 4 X +Y+Z 5 X +Y +Z 7 X +Y +Z 6 X X Four variables W+X+Y+Z W+X +Y+Z 4 W +X +Y+Z 2 W +X+Y+Z 8 Y+Z Y+Z Y +Z Y +Z W+X+Y+Z W+X+Y +Z W+X+Y +Z 3 2 W+X +Y+Z W+X +Y +Z W+X +Y +Z W +X +Y+Z W +X +Y +Z W +X +Y +Z W +X+Y+Z W +X+Y +Z W +X+Y +Z 9 8

19 W+X W+X W +X W +X More about Logic Gates NAND and NOR Gates NAND and NOR gates can greatly simplify circuit diagrams. As we will see you can use these gates wherever you could use AND, OR, and NOT. NAND Gate:- The NAND gate has two or more input signals but only one output signal. If all of the inputs are (high), then the output produced is (low). 9

20 A B B A NAND NOR Gates:- The NOR gates has two or more input signals but only one output signal. If all inputs are (i.e., low), then the output signal is (high). A B B A 2

21 NOR XOR and XNOR Gates XOR is used to choose between two mutually exclusive inputs. Unlike OR, XOR is true only when one input or the other is true, not both A B AÅB XOR Gate (Exclusive OR gate):- The XOR gate can also have two or more inputs but produces one output signal. Exclusive-OR gate different from OR gate. OR gate produces output for any input combination having one or more s, but XOR gate produces output for only those input combinations that have odd number s. XOR 2

22 XNOR Gate (Exclusive NOR gate) The XNOR Gate is logically equivalent to an inverted XOR i.e., XOR gate followed by a NOT gate (inventor). Thus XNOR produces (high) output when the input combination has even number of s. A B A B XNOR SOLVED PROBLEMS mark Questions ) Why are AND and NOR gates called Universal gates? () 22

23 Ans. NAND and NOR gates are less expensive and easier to design. Also, other switching functions (AND, OR) can easily be implemented using NAND/NOR gates. Thus, these (NAND, NOR) gates are also reffered to as Universal Gates. (2) Write the Sum of Products form of the function G(U,V,W). Truth table representation of G is as follows: () U V W G Ans. To get the product of sums form, we need to add maxterms for all those input combinations that produce output as. Thus, G(U,V,W) = (U + V + W) (U + V + W ) (U + V + W ) (U + V + W ) (3) Convert P+Q R to product of sum Ans: P+Q R=(P+Q ) (P+R ) =(P+Q +RR ) ( P+QQ +R) [ by the rule A+BC= (A+B)(A+C) [ by the rule AA = 23

24 = (P+Q +R) (P+Q +R ) (P+Q+R) (P+Q +R) [ by the rule A+BC= (A+B)(A+C) (4) Concert X+YZ into sum of product Ans: X+YZ=X.+YZ. [by the rule A.=A = X(Y+Y )+YZ(X+X ) [ by the rule A+A = =XY+XY +YZX+YZX =XY.+XY.+XYZ+YZX [by the rule A.=A =XY(Z+Z )+XY (Z+Z )+XYZ+X YZ [ by the rule A+A = =XYZ+XYZ +XY Z+XY Z +XYZ+X YZ 2 marks Questions () Write the equivalent Boolean Expression for the following Logic circuit.. Prove that X.(X+Y)=X by truth table method. (2) 24

25 Ans. X Y X+Y X.(X+Y). 2. From the above table it is obvious that X.(X+Y) = X because both the columns are identical. 2. Prove that X.(X+Y)=X by algebric method (2) Ans. LHS = X.(X+Y) = X.X+X.Y =X+X.Y =X.(+Y) =X. = X = RHS 3. State the distributive laws of Boolean algebra. How are they different from distributive laws of ordinary algebra. (2) Ans. Distributive laws of Boolean algebra state that i. X(Y+Z) = XY+XZ ii.x+yz =(X+Y)(X+Z) Ist law X(Y+Z) = XY+XZ holds good for all values of X, Y and Z in ordinary algebra whereas X+YZ =(X+Y)(X+Z) holds good only for two values (,) of X, Y and Z. 4. In Boolean algebra, verify using truth table that (X + Y) = X Y for each X, Y in (, ). (2) 25

26 Ans. As it is a 2-variable expression, truth table will be as follows : X Y X+Y (X+Y) X Y X Y 5. State Demorgan s laws. Verify one of the Demorgan s laws using truth tables. (2) Ans. De Morgan s first theorem. It states that X + Y = X. Y De Morgan s second theorem. It states that X. Y = X + Y Truth table for second theorem X Y X.Y X.Y X Y X+Y X.Y and X+Y are identical. 6. Draw the logic circuit diagram for the following expression : (2) Y = a b + b c + c a 26

27 7. Prepare a truth table for X Y Z + X Y (2) Ans. Truth table for is given below : Input O u t p u t X Y Z X Y Z X YZ XY X YZ + XY 27

28 (9) Write the equivalent expression for the following logic circuit : (2) Ans. F=(AC) +(BA) +(BC) () Write the equivalent expression for the following logic circuit: (2) Ans. (X + Y )(X + Y)(X + Y ) 4 marks Questions () Obtain the simplified form of a boolean expression using Karnaugh map. (4) F(u,v,w,x) = (, 3, 4, 5, 7,, 3, 5) []W Z [] W Z []W Z []W Z 28

29 [] U V [] U V [] U V [] U V 2 quads, pair. Quad (m3+m7+m+m5) reduces to WZ Quad 2(m5+m7+m3+m5) reduces to VZ Pair (m,m4) reduces to UWZ Therefore F=WZ + VZ + UWZ 8. By means of truth table, demonstrate the validity of the following Postulates / Laws of Boolean algebra: (4) a. Commulative law b. Idempotent law Ans. (a) The commulative law states that (i) X+Y = Y+X (ii) X.Y =Y.X (i) Truth table for X+Y = Y+X is given below : Input Output X Y X+Y Y+X 29

30 Comparing the columns X+Y and Y+X, we see both of these are identical. Hence proved. (ii) Truth table for X.Y = Y.X is given below: Input Output X Y X.Y Y.X Comparing the columns X.Y and Y.X, we see both of these are identical. Hence proved. (b) The Idempotent law states that (i) X+X = X ii) X.X =X (i) Truth table for X+X = X is given below : Input Output X X X+X (ii) Truth table for X.X = X is given below : Input Output X X X.X 3

31 POINTS TO REMEMBER Binary Decision Logical Statements TRUTH TABLE :-Truth table is a table which represents all the possible values of logical variables /statements along with all the possible results of the given combinations of values TAUTOLOGY:-If result of any logical statement or expression is always TRUE or, it is called Tautology. FALLACY : - If result of any logical statement or expression is always FALSE or, it is called Fallacy. PRINCIPLE OF DUALITY This states that starting with a Boolean relation another Boolean relation can be derived by. Changing each OR sign to an AND sign. 2. Changing each AND sign to OR sign. 3. Replacing each by and each by. The derived relation using duality principal is called dual of original expression. BASIC THEOREMS OF BOOLEAN ALGEBRA 4. Properties of and 5. +x=x 6. +x= 7..x= 3

32 8..x=x 9. Indempotence law (a) x+x=x (b) x.x=x Involution x =x Complementarity law (a) x+x = (b) x.x = Cummtative law x + y= y+x The associative law (i) X+(Y+Z) = (X+Y)+Z The distributive law (i) X(Y+Z) = XY+XZ Absorption law (ii) X(YZ) =(XY)Z (ii) X+YZ =(X+Y)(X+Z) (i) X+XY = X (ii) X(X+Y) =X DEMORGAN S THEOREMS (X+Y) =X Y (X.Y) =X +Y Minterms: - Minterms is a product of all the literals (with or without the bar) within the logic system. Maxterms: - Maxterm is a sum of all the literals (with or without the bar) within the logic system Canonical sum of product form:- When a Boolean expression is represented purely as sum of minterms or product terms, it is said to be canonical sum of product form. 32

33 Canonical Product of sum form: - When a Boolean expression is represented purely as product of maxterms, it is said to be in canonical product of sum form of expression. NOR Gates:- The NOR gates has two or more input signals but only one output signal. If all inputs are (i.e., low), then the output signal is (high). NAND Gate:- The NAND gate has two or more input signals but only one output signal. If all of the inputs are (high), then the output produced is (low). XOR Gate (Exclusive OR gate):- The XOR gate can also have two or more inputs but produces one output signal. Exclusive-OR gate different from OR gate. OR gate produces output for any input combination having one or more s, but XOR gate produces output for only those input combinations that have odd number s. XNOR Gate (Exclusive NOR gate) The XNOR Gate is logically equivalent to an inverted XOR i.e., XOR gate followed by a NOT gate (inventor). Thus XNOR produces (high) output when the input combination has even number of s. 33

34 34

Chapter-2 BOOLEAN ALGEBRA

Chapter-2 BOOLEAN ALGEBRA Chapter-2 BOOLEAN ALGEBRA Introduction: An algebra that deals with binary number system is called Boolean Algebra. It is very power in designing logic circuits used by the processor of computer system.

More information

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev E&CE 223 Digital Circuits & Systems Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev 4 of 92 Section 2: Boolean Algebra & Logic Gates Major topics Boolean algebra NAND & NOR gates Boolean

More information

MC9211 Computer Organization

MC9211 Computer Organization MC92 Computer Organization Unit : Digital Fundamentals Lesson2 : Boolean Algebra and Simplification (KSB) (MCA) (29-2/ODD) (29 - / A&B) Coverage Lesson2 Introduces the basic postulates of Boolean Algebra

More information

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev. Section 2: Boolean Algebra & Logic Gates

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev. Section 2: Boolean Algebra & Logic Gates Digital Circuits & Systems Lecture Transparencies (Boolean lgebra & Logic Gates) M. Sachdev 4 of 92 Section 2: Boolean lgebra & Logic Gates Major topics Boolean algebra NND & NOR gates Boolean algebra

More information

CS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman

CS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman CS 121 Digital Logic Design Chapter 2 Teacher Assistant Hanin Abdulrahman 1 2 Outline 2.2 Basic Definitions 2.3 Axiomatic Definition of Boolean Algebra. 2.4 Basic Theorems and Properties 2.5 Boolean Functions

More information

Boolean Algebra and Logic Gates

Boolean Algebra and Logic Gates Boolean Algebra and Logic Gates ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, 2017 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Outlines Basic

More information

Logic Design. Chapter 2: Introduction to Logic Circuits

Logic Design. Chapter 2: Introduction to Logic Circuits Logic Design Chapter 2: Introduction to Logic Circuits Introduction Logic circuits perform operation on digital signal Digital signal: signal values are restricted to a few discrete values Binary logic

More information

CHAPTER 2 BOOLEAN ALGEBRA

CHAPTER 2 BOOLEAN ALGEBRA CHAPTER 2 BOOLEAN ALGEBRA This chapter in the book includes: Objectives Study Guide 2.1 Introduction 2.2 Basic Operations 2.3 Boolean Expressions and Truth Tables 2.4 Basic Theorems 2.5 Commutative, Associative,

More information

Boolean Algebra. Examples: (B=set of all propositions, or, and, not, T, F) (B=2 A, U,, c, Φ,A)

Boolean Algebra. Examples: (B=set of all propositions, or, and, not, T, F) (B=2 A, U,, c, Φ,A) Boolean Algebra Definition: A Boolean Algebra is a math construct (B,+,.,, 0,1) where B is a non-empty set, + and. are binary operations in B, is a unary operation in B, 0 and 1 are special elements of

More information

Chapter 2 Boolean Algebra and Logic Gates

Chapter 2 Boolean Algebra and Logic Gates Chapter 2 Boolean Algebra and Logic Gates Huntington Postulates 1. (a) Closure w.r.t. +. (b) Closure w.r.t.. 2. (a) Identity element 0 w.r.t. +. x + 0 = 0 + x = x. (b) Identity element 1 w.r.t.. x 1 =

More information

Chapter 2 : Boolean Algebra and Logic Gates

Chapter 2 : Boolean Algebra and Logic Gates Chapter 2 : Boolean Algebra and Logic Gates By Electrical Engineering Department College of Engineering King Saud University 1431-1432 2.1. Basic Definitions 2.2. Basic Theorems and Properties of Boolean

More information

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept. hapter 2: Princess Sumaya Univ. omputer Engineering Dept. Basic Definitions Binary Operators AND z = x y = x y z=1 if x=1 AND y=1 OR z = x + y z=1 if x=1 OR y=1 NOT z = x = x z=1 if x=0 Boolean Algebra

More information

BOOLEAN ALGEBRA CLASS XII. Presented By : Dinesh Patel PGT CS KV IIT Powai

BOOLEAN ALGEBRA CLASS XII. Presented By : Dinesh Patel PGT CS KV IIT Powai BOOLEAN ALGEBRA CLASS II Presented By : Dinesh Patel PGT CS KV IIT Powai Introduction Boolean Algebra is a set of rules and regulation which is suitable for Digital Circuits, whose answer is either True

More information

Boolean Algebra & Logic Gates. By : Ali Mustafa

Boolean Algebra & Logic Gates. By : Ali Mustafa Boolean Algebra & Logic Gates By : Ali Mustafa Digital Logic Gates There are three fundamental logical operations, from which all other functions, no matter how complex, can be derived. These Basic functions

More information

Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions

Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions EE210: Switching Systems Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions Prof. YingLi Tian Feb. 15, 2018 Department of Electrical Engineering The City College of New York The

More information

Chapter 2 Combinational Logic Circuits

Chapter 2 Combinational Logic Circuits Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 1 Gate Circuits and Boolean Equations Chapter 2 - Part 1 2 Chapter 2 - Part 1 3 Chapter 2 - Part 1 4 Chapter 2 - Part

More information

Chapter 2: Switching Algebra and Logic Circuits

Chapter 2: Switching Algebra and Logic Circuits Chapter 2: Switching Algebra and Logic Circuits Formal Foundation of Digital Design In 1854 George Boole published An investigation into the Laws of Thoughts Algebraic system with two values 0 and 1 Used

More information

Chap 2. Combinational Logic Circuits

Chap 2. Combinational Logic Circuits Overview 2 Chap 2. Combinational Logic Circuits Spring 24 Part Gate Circuits and Boolean Equations Binary Logic and Gates Boolean Algebra Standard Forms Part 2 Circuit Optimization Two-Level Optimization

More information

Digital Logic Design. Malik Najmus Siraj

Digital Logic Design. Malik Najmus Siraj Digital Logic Design Malik Najmus Siraj siraj@case.edu.pkedu LECTURE 4 Today s Agenda Recap 2 s complement Binary Logic Boolean algebra Recap Computer Arithmetic Signed numbers Radix and diminished radix

More information

Chapter 2. Boolean Algebra and Logic Gates

Chapter 2. Boolean Algebra and Logic Gates Chapter 2 Boolean Algebra and Logic Gates Basic Definitions A binary operator defined on a set S of elements is a rule that assigns, to each pair of elements from S, a unique element from S. The most common

More information

CHAPTER III BOOLEAN ALGEBRA

CHAPTER III BOOLEAN ALGEBRA CHAPTER III- CHAPTER III CHAPTER III R.M. Dansereau; v.. CHAPTER III-2 BOOLEAN VALUES INTRODUCTION BOOLEAN VALUES Boolean algebra is a form of algebra that deals with single digit binary values and variables.

More information

UNIVERSITI TENAGA NASIONAL. College of Information Technology

UNIVERSITI TENAGA NASIONAL. College of Information Technology UNIVERSITI TENAGA NASIONAL College of Information Technology BACHELOR OF COMPUTER SCIENCE (HONS.) FINAL EXAMINATION SEMESTER 2 2012/2013 DIGITAL SYSTEMS DESIGN (CSNB163) January 2013 Time allowed: 3 hours

More information

Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps

Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps EE210: Switching Systems Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps Prof. YingLi Tian Feb. 21/26, 2019 Department of Electrical Engineering The City College of New York

More information

WEEK 2.1 BOOLEAN ALGEBRA

WEEK 2.1 BOOLEAN ALGEBRA WEEK 2.1 BOOLEAN ALGEBRA 1 Boolean Algebra Boolean algebra was introduced in 1854 by George Boole and in 1938 was shown by C. E. Shannon to be useful for manipulating Boolean logic functions. The postulates

More information

Theorem/Law/Axioms Over (.) Over (+)

Theorem/Law/Axioms Over (.) Over (+) material prepared by: MUKESH OHR Follow me on F : http://www.facebook.com/mukesh.sirji4u OOLEN LGER oolean lgebra is a set of rules, laws and theorems by which logical operations can be mathematically

More information

Signals and Systems Digital Logic System

Signals and Systems Digital Logic System Signals and Systems Digital Logic System Prof. Wonhee Kim Chapter 2 Design Process for Combinational Systems Step 1: Represent each of the inputs and outputs in binary Step 1.5: If necessary, break the

More information

EC-121 Digital Logic Design

EC-121 Digital Logic Design EC-121 Digital Logic Design Lecture 2 [Updated on 02-04-18] Boolean Algebra and Logic Gates Dr Hashim Ali Spring 2018 Department of Computer Science and Engineering HITEC University Taxila!1 Overview What

More information

This form sometimes used in logic circuit, example:

This form sometimes used in logic circuit, example: Objectives: 1. Deriving of logical expression form truth tables. 2. Logical expression simplification methods: a. Algebraic manipulation. b. Karnaugh map (k-map). 1. Deriving of logical expression from

More information

BOOLEAN LOGIC. By- Neha Tyagi PGT CS KV 5 Jaipur II Shift, Jaipur Region. Based on CBSE curriculum Class 11. Neha Tyagi, KV 5 Jaipur II Shift

BOOLEAN LOGIC. By- Neha Tyagi PGT CS KV 5 Jaipur II Shift, Jaipur Region. Based on CBSE curriculum Class 11. Neha Tyagi, KV 5 Jaipur II Shift BOOLEAN LOGIC Based on CBSE curriculum Class 11 By- Neha Tyagi PGT CS KV 5 Jaipur II Shift, Jaipur Region Neha Tyagi, KV 5 Jaipur II Shift Introduction Boolean Logic, also known as boolean algebra was

More information

Contents. Chapter 2 Digital Circuits Page 1 of 30

Contents. Chapter 2 Digital Circuits Page 1 of 30 Chapter 2 Digital Circuits Page 1 of 30 Contents Contents... 1 2 Digital Circuits... 2 2.1 Binary Numbers... 2 2.2 Binary Switch... 4 2.3 Basic Logic Operators and Logic Expressions... 5 2.4 Truth Tables...

More information

Binary logic consists of binary variables and logical operations. The variables are

Binary logic consists of binary variables and logical operations. The variables are 1) Define binary logic? Binary logic consists of binary variables and logical operations. The variables are designated by the alphabets such as A, B, C, x, y, z, etc., with each variable having only two

More information

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA 1 Learning Objectives Understand the basic operations and laws of Boolean algebra. Relate these operations and laws to circuits composed of AND gates, OR gates, INVERTERS

More information

Chapter 2: Boolean Algebra and Logic Gates

Chapter 2: Boolean Algebra and Logic Gates Chapter 2: Boolean Algebra and Logic Gates Mathematical methods that simplify binary logics or circuits rely primarily on Boolean algebra. Boolean algebra: a set of elements, a set of operators, and a

More information

CHAPTER III BOOLEAN ALGEBRA

CHAPTER III BOOLEAN ALGEBRA CHAPTER III- CHAPTER III CHAPTER III R.M. Dansereau; v.. CHAPTER III-2 BOOLEAN VALUES INTRODUCTION BOOLEAN VALUES Boolean algebra is a form of algebra that deals with single digit binary values and variables.

More information

In Module 3, we have learned about Exclusive OR (XOR) gate. Boolean Expression AB + A B = Y also A B = Y. Logic Gate. Truth table

In Module 3, we have learned about Exclusive OR (XOR) gate. Boolean Expression AB + A B = Y also A B = Y. Logic Gate. Truth table Module 8 In Module 3, we have learned about Exclusive OR (XOR) gate. Boolean Expression AB + A B = Y also A B = Y Logic Gate Truth table A B Y 0 0 0 0 1 1 1 0 1 1 1 0 In Module 3, we have learned about

More information

CHAPTER1: Digital Logic Circuits Combination Circuits

CHAPTER1: Digital Logic Circuits Combination Circuits CS224: Computer Organization S.KHABET CHAPTER1: Digital Logic Circuits Combination Circuits 1 PRIMITIVE LOGIC GATES Each of our basic operations can be implemented in hardware using a primitive logic gate.

More information

Unit 2 Boolean Algebra

Unit 2 Boolean Algebra Unit 2 Boolean Algebra 1. Developed by George Boole in 1847 2. Applied to the Design of Switching Circuit by Claude Shannon in 1939 Department of Communication Engineering, NCTU 1 2.1 Basic Operations

More information

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT): ENGI 386 Digital Logic II. COMBINATIONAL LOGIC DESIGN Combinational Logic output of digital system is only dependent on current inputs (i.e., no memory) (a) Boolean Algebra - developed by George Boole

More information

KP/Worksheets: Propositional Logic, Boolean Algebra and Computer Hardware Page 1 of 8

KP/Worksheets: Propositional Logic, Boolean Algebra and Computer Hardware Page 1 of 8 KP/Worksheets: Propositional Logic, Boolean Algebra and Computer Hardware Page 1 of 8 Q1. What is a Proposition? Q2. What are Simple and Compound Propositions? Q3. What is a Connective? Q4. What are Sentential

More information

Combinational Logic Fundamentals

Combinational Logic Fundamentals Topic 3: Combinational Logic Fundamentals In this note we will study combinational logic, which is the part of digital logic that uses Boolean algebra. All the concepts presented in combinational logic

More information

/ M Morris Mano Digital Design Ahmad_911@hotmailcom / / / / wwwuqucscom Binary Systems Introduction - Digital Systems - The Conversion Between Numbering Systems - From Binary To Decimal - Octet To Decimal

More information

Digital Logic Design. Combinational Logic

Digital Logic Design. Combinational Logic Digital Logic Design Combinational Logic Minterms A product term is a term where literals are ANDed. Example: x y, xz, xyz, A minterm is a product term in which all variables appear exactly once, in normal

More information

control in out in out Figure 1. Binary switch: (a) opened or off; (b) closed or on.

control in out in out Figure 1. Binary switch: (a) opened or off; (b) closed or on. Chapter 2 Digital Circuits Page 1 of 18 2. Digital Circuits Our world is an analog world. Measurements that we make of the physical objects around us are never in discrete units but rather in a continuous

More information

Binary Logic and Gates. Our objective is to learn how to design digital circuits.

Binary Logic and Gates. Our objective is to learn how to design digital circuits. Binary Logic and Gates Introduction Our objective is to learn how to design digital circuits. These circuits use binary systems. Signals in such binary systems may represent only one of 2 possible values

More information

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive March 30, 2010 John Wawrzynek Spring 2010 EECS150 - Lec19-cl1 Page 1 Boolean Algebra I (Representations of Combinational

More information

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering Boolean Algebra Boolean Algebra A Boolean algebra is defined with: A set of

More information

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table. The Laws of Boolean Boolean algebra As well as the logic symbols 0 and 1 being used to represent a digital input or output, we can also use them as constants for a permanently Open or Closed circuit or

More information

Ex: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC.

Ex: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC. Boolean Expression Forms: Sum-of-products (SOP) Write an AND term for each input combination that produces a 1 output. Write the input variable if its value is 1; write its complement otherwise. OR the

More information

Chapter 3. Boolean Algebra. (continued)

Chapter 3. Boolean Algebra. (continued) Chapter 3. Boolean Algebra (continued) Algebraic structure consisting of: set of elements B binary operations {+, -} unary operation {'} Boolean Algebra such that the following axioms hold:. B contains

More information

Combinational Logic. Review of Combinational Logic 1

Combinational Logic. Review of Combinational Logic 1 Combinational Logic! Switches -> Boolean algebra! Representation of Boolean functions! Logic circuit elements - logic gates! Regular logic structures! Timing behavior of combinational logic! HDLs and combinational

More information

EEE130 Digital Electronics I Lecture #4

EEE130 Digital Electronics I Lecture #4 EEE130 Digital Electronics I Lecture #4 - Boolean Algebra and Logic Simplification - By Dr. Shahrel A. Suandi Topics to be discussed 4-1 Boolean Operations and Expressions 4-2 Laws and Rules of Boolean

More information

Week-I. Combinational Logic & Circuits

Week-I. Combinational Logic & Circuits Week-I Combinational Logic & Circuits Overview Binary logic operations and gates Switching algebra Algebraic Minimization Standard forms Karnaugh Map Minimization Other logic operators IC families and

More information

Lecture 2 Review on Digital Logic (Part 1)

Lecture 2 Review on Digital Logic (Part 1) Lecture 2 Review on Digital Logic (Part 1) Xuan Silvia Zhang Washington University in St. Louis http://classes.engineering.wustl.edu/ese461/ Grading Engagement 5% Review Quiz 10% Homework 10% Labs 40%

More information

Binary Logic and Gates

Binary Logic and Gates 1 COE 202- Digital Logic Binary Logic and Gates Dr. Abdulaziz Y. Barnawi COE Department KFUPM 2 Outline Introduction Boolean Algebra Elements of Boolean Algebra (Binary Logic) Logic Operations & Logic

More information

Number System conversions

Number System conversions Number System conversions Number Systems The system used to count discrete units is called number system. There are four systems of arithmetic which are often used in digital electronics. Decimal Number

More information

ENG2410 Digital Design Combinational Logic Circuits

ENG2410 Digital Design Combinational Logic Circuits ENG240 Digital Design Combinational Logic Circuits Fall 207 S. Areibi School of Engineering University of Guelph Binary variables Binary Logic Can be 0 or (T or F, low or high) Variables named with single

More information

Chapter 2 Boolean Algebra and Logic Gates

Chapter 2 Boolean Algebra and Logic Gates Chapter 2 Boolean Algebra and Logic Gates The most common postulates used to formulate various algebraic structures are: 1. Closure. N={1,2,3,4 }, for any a,b N we obtain a unique c N by the operation

More information

UNIT 3 BOOLEAN ALGEBRA (CONT D)

UNIT 3 BOOLEAN ALGEBRA (CONT D) UNIT 3 BOOLEAN ALGEBRA (CONT D) Spring 2011 Boolean Algebra (cont d) 2 Contents Multiplying out and factoring expressions Exclusive-OR and Exclusive-NOR operations The consensus theorem Summary of algebraic

More information

BOOLEAN ALGEBRA. Introduction. 1854: Logical algebra was published by George Boole known today as Boolean Algebra

BOOLEAN ALGEBRA. Introduction. 1854: Logical algebra was published by George Boole known today as Boolean Algebra BOOLEAN ALGEBRA Introduction 1854: Logical algebra was published by George Boole known today as Boolean Algebra It s a convenient way and systematic way of expressing and analyzing the operation of logic

More information

Boolean Algebra and Logic Gates Chapter 2. Topics. Boolean Algebra 9/21/10. EECE 256 Dr. Sidney Fels Steven Oldridge

Boolean Algebra and Logic Gates Chapter 2. Topics. Boolean Algebra 9/21/10. EECE 256 Dr. Sidney Fels Steven Oldridge Boolean Algebra and Logic Gates Chapter 2 EECE 256 Dr. Sidney Fels Steven Oldridge Topics DefiniGons of Boolean Algebra Axioms and Theorems of Boolean Algebra two valued Boolean Algebra Boolean FuncGons

More information

Unit 2 Boolean Algebra

Unit 2 Boolean Algebra Unit 2 Boolean Algebra 2.1 Introduction We will use variables like x or y to represent inputs and outputs (I/O) of a switching circuit. Since most switching circuits are 2 state devices (having only 2

More information

Combinational Logic. Fan-in/ Fan-out Timing. Copyright (c) 2012 Sean Key

Combinational Logic. Fan-in/ Fan-out Timing. Copyright (c) 2012 Sean Key Combinational Logic Fan-in/ Fan-out Timing Copyright (c) 2012 Sean Key Fan-in & Fan-out Fan-in The number of inputs to a logic gate Higher fan-in can lead to longer gate delays because of the higher input

More information

University of Technology

University of Technology University of Technology Lecturer: Dr. Sinan Majid Course Title: microprocessors 4 th year معالجات دقيقة المرحلة الرابعة ھندسة الليزر والبصريات االلكترونية Lecture 3 & 4 Boolean Algebra and Logic Gates

More information

CS61c: Representations of Combinational Logic Circuits

CS61c: Representations of Combinational Logic Circuits CS61c: Representations of Combinational Logic Circuits J. Wawrzynek March 5, 2003 1 Introduction Recall that synchronous systems are composed of two basic types of circuits, combination logic circuits,

More information

Unit 2 Session - 6 Combinational Logic Circuits

Unit 2 Session - 6 Combinational Logic Circuits Objectives Unit 2 Session - 6 Combinational Logic Circuits Draw 3- variable and 4- variable Karnaugh maps and use them to simplify Boolean expressions Understand don t Care Conditions Use the Product-of-Sums

More information

ELCT201: DIGITAL LOGIC DESIGN

ELCT201: DIGITAL LOGIC DESIGN ELCT2: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 2 Following the slides of Dr. Ahmed H. Madian ذو الحجة 438 ه Winter

More information

211: Computer Architecture Summer 2016

211: Computer Architecture Summer 2016 211: Computer Architecture Summer 2016 Liu Liu Topic: Storage Project3 Digital Logic - Storage: Recap - Review: cache hit rate - Project3 - Digital Logic: - truth table => SOP - simplification: Boolean

More information

Circuits & Boolean algebra.

Circuits & Boolean algebra. Circuits & Boolean algebra http://xkcd.com/730/ CSCI 255: Introduction to Embedded Systems Keith Vertanen Copyright 2011 Digital circuits Overview How a switch works Building basic gates from switches

More information

Boolean Algebra, Gates and Circuits

Boolean Algebra, Gates and Circuits Boolean Algebra, Gates and Circuits Kasper Brink November 21, 2017 (Images taken from Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc.) Outline Last week: Von

More information

Combinational Logic Circuits Part II -Theoretical Foundations

Combinational Logic Circuits Part II -Theoretical Foundations Combinational Logic Circuits Part II -Theoretical Foundations Overview Boolean Algebra Basic Logic Operations Basic Identities Basic Principles, Properties, and Theorems Boolean Function and Representations

More information

Chapter 2 Combinational Logic Circuits

Chapter 2 Combinational Logic Circuits Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 1 Gate Circuits and Boolean Equations Charles Kime & Thomas Kaminski 2008 Pearson Education, Inc. (Hyperlinks are active

More information

Gate-Level Minimization

Gate-Level Minimization Gate-Level Minimization Dr. Bassem A. Abdullah Computer and Systems Department Lectures Prepared by Dr.Mona Safar, Edited and Lectured by Dr.Bassem A. Abdullah Outline 1. The Map Method 2. Four-variable

More information

UC Berkeley College of Engineering, EECS Department CS61C: Representations of Combinational Logic Circuits

UC Berkeley College of Engineering, EECS Department CS61C: Representations of Combinational Logic Circuits 2 Wawrzynek, Garcia 2004 c UCB UC Berkeley College of Engineering, EECS Department CS61C: Representations of Combinational Logic Circuits 1 Introduction Original document by J. Wawrzynek (2003-11-15) Revised

More information

Chapter 2 (Lect 2) Canonical and Standard Forms. Standard Form. Other Logic Operators Logic Gates. Sum of Minterms Product of Maxterms

Chapter 2 (Lect 2) Canonical and Standard Forms. Standard Form. Other Logic Operators Logic Gates. Sum of Minterms Product of Maxterms Chapter 2 (Lect 2) Canonical and Standard Forms Sum of Minterms Product of Maxterms Standard Form Sum of products Product of sums Other Logic Operators Logic Gates Basic and Multiple Inputs Positive and

More information

Slide Set 3. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

Slide Set 3. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary Slide Set 3 for ENEL 353 Fall 2016 Steve Norman, PhD, PEng Electrical & Computer Engineering Schulich School of Engineering University of Calgary Fall Term, 2016 SN s ENEL 353 Fall 2016 Slide Set 3 slide

More information

7.1. Unit 7. Minterm and Canonical Sums 2- and 3-Variable Boolean Algebra Theorems DeMorgan's Theorem Simplification using Boolean Algebra

7.1. Unit 7. Minterm and Canonical Sums 2- and 3-Variable Boolean Algebra Theorems DeMorgan's Theorem Simplification using Boolean Algebra 7.1 Unit 7 Minterm and Canonical Sums 2- and 3-Variable Boolean Algebra Theorems DeMorgan's Theorem Simplification using Boolean Algebra CHECKERS / DECODERS 7.2 7.3 Gates Gates can have more than 2 inputs

More information

SAMPLE ANSWERS MARKER COPY

SAMPLE ANSWERS MARKER COPY Page 1 of 12 School of Computer Science 60-265-01 Computer Architecture and Digital Design Fall 2012 Midterm Examination # 1 Tuesday, October 23, 2012 SAMPLE ANSWERS MARKER COPY Duration of examination:

More information

CHAPTER 3 BOOLEAN ALGEBRA

CHAPTER 3 BOOLEAN ALGEBRA CHAPTER 3 BOOLEAN ALGEBRA (continued) This chapter in the book includes: Objectives Study Guide 3.1 Multiplying Out and Factoring Expressions 3.2 Exclusive-OR and Equivalence Operations 3.3 The Consensus

More information

Digital Circuit And Logic Design I. Lecture 3

Digital Circuit And Logic Design I. Lecture 3 Digital Circuit And Logic Design I Lecture 3 Outline Combinational Logic Design Principles (). Introduction 2. Switching algebra 3. Combinational-circuit analysis 4. Combinational-circuit synthesis Panupong

More information

ECE 238L Boolean Algebra - Part I

ECE 238L Boolean Algebra - Part I ECE 238L Boolean Algebra - Part I August 29, 2008 Typeset by FoilTEX Understand basic Boolean Algebra Boolean Algebra Objectives Relate Boolean Algebra to Logic Networks Prove Laws using Truth Tables Understand

More information

If f = ABC + ABC + A B C then f = AB C + A BC + AB C + A BC + A B C

If f = ABC + ABC + A B C then f = AB C + A BC + AB C + A BC + A B C Examples: If f 5 = AB + AB then f 5 = A B + A B = f 10 If f = ABC + ABC + A B C then f = AB C + A BC + AB C + A BC + A B C In terms of a truth table, if f is the sum (OR) of all the minterms with a 1 in

More information

Digital Logic (2) Boolean Algebra

Digital Logic (2) Boolean Algebra Digital Logic (2) Boolean Algebra Boolean algebra is the mathematics of digital systems. It was developed in 1850 s by George Boole. We will use Boolean algebra to minimize logic expressions. Karnaugh

More information

1. Name the person who developed Boolean algebra

1. Name the person who developed Boolean algebra MATHEMATIC CENTER D96 MUNIRKA VILLAGE NEW DELHI 67 & VIKAS PURI NEW DELHI CONTACT FOR COACHING MATHEMATICS FOR TH 2TH NDA DIPLOMA SSC CAT SAT CPT CONTACT FOR ADMISSION GUIDANCE B.TECH BBA BCA, MCA MBA

More information

EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits)

EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) September 5, 2002 John Wawrzynek Fall 2002 EECS150 Lec4-bool1 Page 1, 9/5 9am Outline Review of

More information

Outline. EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) Combinational Logic (CL) Defined

Outline. EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) Combinational Logic (CL) Defined EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) January 30, 2003 John Wawrzynek Outline Review of three representations for combinational logic:

More information

Combinational Logic Design Principles

Combinational Logic Design Principles Combinational Logic Design Principles Switching algebra Doru Todinca Department of Computers Politehnica University of Timisoara Outline Introduction Switching algebra Axioms of switching algebra Theorems

More information

Every time has a value associated with it, not just some times. A variable can take on any value within a range

Every time has a value associated with it, not just some times. A variable can take on any value within a range Digital Logic Circuits Binary Logic and Gates Logic Simulation Boolean Algebra NAND/NOR and XOR gates Decoder fundamentals Half Adder, Full Adder, Ripple Carry Adder Analog vs Digital Analog Continuous»

More information

Boolean Algebra and Logic Simplification

Boolean Algebra and Logic Simplification S302 Digital Logic Design Boolean Algebra and Logic Simplification Boolean Analysis of Logic ircuits, evaluating of Boolean expressions, representing the operation of Logic circuits and Boolean expressions

More information

Chapter 2 Boolean Algebra and Logic Gates

Chapter 2 Boolean Algebra and Logic Gates Ch1: Digital Systems and Binary Numbers Ch2: Ch3: Gate-Level Minimization Ch4: Combinational Logic Ch5: Synchronous Sequential Logic Ch6: Registers and Counters Switching Theory & Logic Design Prof. Adnan

More information

Discrete Mathematics. CS204: Spring, Jong C. Park Computer Science Department KAIST

Discrete Mathematics. CS204: Spring, Jong C. Park Computer Science Department KAIST Discrete Mathematics CS204: Spring, 2008 Jong C. Park Computer Science Department KAIST Today s Topics Combinatorial Circuits Properties of Combinatorial Circuits Boolean Algebras Boolean Functions and

More information

Chapter 2 Boolean Algebra and Logic Gates

Chapter 2 Boolean Algebra and Logic Gates CSA051 - Digital Systems 數位系統導論 Chapter 2 Boolean Algebra and Logic Gates 吳俊興國立高雄大學資訊工程學系 Chapter 2. Boolean Algebra and Logic Gates 2-1 Basic Definitions 2-2 Axiomatic Definition of Boolean Algebra 2-3

More information

UNIT 5 KARNAUGH MAPS Spring 2011

UNIT 5 KARNAUGH MAPS Spring 2011 UNIT 5 KRNUGH MPS Spring 2 Karnaugh Maps 2 Contents Minimum forms of switching functions Two- and three-variable Four-variable Determination of minimum expressions using essential prime implicants Five-variable

More information

Functions. Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways:

Functions. Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways: Boolean Algebra (1) Functions Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways: An expression is finite but not unique f(x,y)

More information

Chapter 2 Combinational logic

Chapter 2 Combinational logic Chapter 2 Combinational logic Chapter 2 is very easy. I presume you already took discrete mathemtics. The major part of chapter 2 is boolean algebra. II - Combinational Logic Copyright 24, Gaetano Borriello

More information

EEA051 - Digital Logic 數位邏輯 吳俊興高雄大學資訊工程學系. September 2004

EEA051 - Digital Logic 數位邏輯 吳俊興高雄大學資訊工程學系. September 2004 EEA051 - Digital Logic 數位邏輯 吳俊興高雄大學資訊工程學系 September 2004 Boolean Algebra (formulated by E.V. Huntington, 1904) A set of elements B={0,1} and two binary operators + and Huntington postulates 1. Closure

More information

Midterm Examination # 1 Wednesday, February 25, Duration of examination: 75 minutes

Midterm Examination # 1 Wednesday, February 25, Duration of examination: 75 minutes Page 1 of 10 School of Computer Science 60-265-01 Computer Architecture and Digital Design Winter 2009 Semester Midterm Examination # 1 Wednesday, February 25, 2009 Student Name: First Name Family Name

More information

Fundamentals of Computer Systems

Fundamentals of Computer Systems Fundamentals of Computer Systems Boolean Logic Stephen A. Edwards Columbia University Fall 2011 Boolean Logic George Boole 1815 1864 Boole s Intuition Behind Boolean Logic Variables x, y,... represent

More information

Chapter 7 Logic Circuits

Chapter 7 Logic Circuits Chapter 7 Logic Circuits Goal. Advantages of digital technology compared to analog technology. 2. Terminology of Digital Circuits. 3. Convert Numbers between Decimal, Binary and Other forms. 5. Binary

More information

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA 1 Learning Objectives Understand the basic operations and laws of Boolean algebra. Relate these operations and laws to circuits composed of AND gates, OR gates, INVERTERS

More information

Boolean Algebra and Digital Logic

Boolean Algebra and Digital Logic All modern digital computers are dependent on circuits that implement Boolean functions. We shall discuss two classes of such circuits: Combinational and Sequential. The difference between the two types

More information