EE207: Digital Systems I, Semester I 2003/2004. CHAPTER 2-i: Combinational Logic Circuits (Sections )

Size: px
Start display at page:

Download "EE207: Digital Systems I, Semester I 2003/2004. CHAPTER 2-i: Combinational Logic Circuits (Sections )"

Transcription

1 EE207: Digital Systems I, Semester I 2003/2004 CHAPTER 2-i: Combinational Logic Circuits (Sections )

2 Overview Binary logic and Gates Boolean Algebra Basic Properties Algebraic Manipulation Standard and Canonical Forms Minterms and Maxterms (Canonical forms) SOP and POS (Standard forms) Karnaugh Maps (K-Maps) 2, 3, 4, and 5 variable maps Simplification using K-Maps K-Map Manipulation Implicants: Prime, Essential Don t Cares 0 Circuits ( ) 2

3 Binary Logic Deals with binary variables that take 2 discrete values (0 and ), and with logic operations Three basic logic operations: AND, OR, NOT Binary/logic variables are typically represented as letters: A,B,C,,X,Y,Z 0 Circuits ( ) 3

4 Binary Logic Function F(vars) = expression set of binary variables Example: F(a,b) = a b + b G(x,y,z) = x (y+z ) Operators ( +,, ) Variables Constants ( 0, ) Groupings (parenthesis) 0 Circuits ( ) 4

5 Basic Logic Operators -bit logic AND resembles binary multiplication: 0 0 = 0, 0 = 0, 0 = 0, = -bit logic OR resembles binary addition, except for one operation: = 0, 0 + =, + 0 =, + = ( 0 2 ) 0 Circuits ( ) 5

6 Truth Tables for logic operators Truth table: tabular form that uniquely represents the relationship between the input variables of a function and its output 2-Input AND A B F=A B Input OR A B F=A+B A NOT F=A Circuits ( ) 6

7 Truth Tables (cont.) Q: Let a function F() depend on n variables. How many rows are there in the truth table of F()? A: 2 n rows, since there are 2 n possible binary patterns/combinations for the n variables 0 Circuits ( ) 7

8 Logic Gates Logic gates are abstractions of electronic circuit components that operate on one or more input signals to produce an output signal. 2-Input AND 2-Input OR NOT (Inverter) A B F = A B F A G A H B G = A+B H = A 0 Circuits ( ) 8

9 Timing Diagram t 0 t t 2 t 3 t 4 t 5 t 6 Input signals A B 0 0 Transitions Gate Output Signals F=A B G=A+B H=A Basic Assumption: Zero time for signals to propagate Through gates 0 Circuits ( ) 9

10 Combinational Logic Circuit from Logic Function Consider function F = A + B C + A B A combinational logic circuit can be constructed to implement F, by appropriately connecting input signals and logic gates: Circuit input signals from function variables (A, B, C) Circuit output signal function output (F) Logic gates from logic operations C A F B 0 Circuits ( ) 0

11 Combinational Logic Circuit from Logic Function (cont.) In order to design a cost-effective and efficient circuit, we must minimize the circuit s size (area) and propagation delay (time required for an input signal change to be observed at the output line) Observe the truth table of F=A + B C + A B and G=A + B C Truth tables for F and G are identical same function Use G to implement the logic circuit (less components) A B C F G Circuits ( )

12 Circuit from Logic Function (cont.) C A F B C B A G 0 Circuits ( ) 2

13 Boolean Algebra VERY nice machinery used to manipulate (simplify) Boolean functions George Boole (85-864): An investigation of the laws of thought Terminology: Literal: A variable or its complement Product term: literals connected by Sum term: literals connected by + 0 Circuits ( ) 3

14 Boolean Algebra Properties Let X: boolean variable, 0,: constants. X + 0 = X -- Zero Axiom 2. X = X -- Unit Axiom 3. X + = -- Unit Property 4. X 0 = 0 -- Zero Property 0 Circuits ( ) 4

15 Boolean Algebra Properties (cont.) Let X: boolean variable, 0,: constants 5. X + X = X -- Idepotence 6. X X = X -- Idepotence 7. X + X = -- Complement 8. X X = 0 -- Complement 9. (X ) = X -- Involution Unchanged in value following multiplication by itself 0 Circuits ( ) 5

16 The Duality Principle The dual of an expression is obtained by exchanging ( and +), and ( and 0) in it, provided that the precedence of operations is not changed. Cannot exchange x with x Example: Find H(x,y,z), the dual of F(x,y,z) = x yz + x y z H = (x +y+z ) (x +y + z) Dual does not always equal the original expression If a Boolean equation/equality is valid, its dual is also valid 0 Circuits ( ) 6

17 The Duality Principle (cont.) With respect to duality, Identities 8 have the following relationship:. X + 0 = X 2. X = X (dual of ) 3. X + = 4. X 0 = 0 (dual of 3) 5. X + X = X 6. X X = X (dual of 5) 7. X + X = 8. X X = 0 (dual of 8) 0 Circuits ( ) 7

18 More Boolean Algebra Properties Let X,Y, and Z: boolean variables 0. X + Y = Y + X. X Y = Y X -- Commutative 2. X + (Y+Z) = (X+Y) + Z 3. X (Y Z) = (X Y) Z -- Associative 4. X (Y+Z) = X Y + X Z 5. X+(Y Z) = (X+Y) (X+Z) -- Distributive 6. (X + Y) = X Y 7. (X Y) = X + Y -- DeMorgan s In general, ( X + X X n ) = X X 2 X n, and ( X X 2 X n ) = X + X X n 0 Circuits ( ) 8

19 . x + x y = x Absorption Property (Covering) 2. x (x+y) = x (dual) Proof: x + x y = x + x y = x (+y) = x = x QED (2 true by duality) 0 Circuits ( ) 9

20 Consensus Theorem. xy + x z + yz = xy + x z 2. (x+y) (x +z) (y+z) = (x+y) (x +z) -- (dual) Proof: xy + x z + yz = xy + x z + (x+x )yz = xy + x z + xyz + x yz = (xy + xyz) + (x z + x zy) = xy + x z QED (2 true by duality). 0 Circuits ( ) 20

21 Truth Tables (revisited) Enumerates all possible combinations of variable values and the corresponding function value Truth tables for some arbitrary functions F (x,y,z), F 2 (x,y,z), and F 3 (x,y,z) are shown to the right. x y z F F 2 F Circuits ( ) 2

22 Truth Tables (cont.) Truth table: a unique representation of a Boolean function If two functions have identical truth tables, the functions are equivalent (and vice-versa). Truth tables can be used to prove equality theorems. However, the size of a truth table grows exponentially with the number of variables involved, hence unwieldy. This motivates the use of Boolean Algebra. 0 Circuits ( ) 22

23 Boolean expressions-not unique 0 Unlike truth tables, expressions representing a Boolean function are NOT unique. Example: F(x,y,z) = x y z + x y z + x y z G(x,y,z) = x y z + y z The corresponding truth tables for F() and G() are to the right. They are identical! Thus, F() = G() Circuits ( ) xy z F G

24 Algebraic Manipulation Boolean algebra is a useful tool for simplifying digital circuits. Why do it? Simpler can mean cheaper, smaller, faster. Example: Simplify F = x yz + x yz + xz. F = x yz + x yz + xz = x y(z+z ) + xz = x y + xz = x y + xz 0 Circuits ( ) 24

25 Algebraic Manipulation (cont.) Example: Prove x y z + x yz + xyz = x z + yz Proof: x y z + x yz + xyz = x y z + x yz + x yz + xyz = x z (y +y) + yz (x +x) = x z + yz = x z + yz QED. 0 Circuits ( ) 25

26 Complement of a Function The complement of a function is derived by interchanging ( and +), and ( and 0), and complementing each variable. Otherwise, interchange s to 0s in the truth table column showing F. The complement of a function IS NOT THE SAME as the dual of a function. 0 Circuits ( ) 26

27 Complementation: Example Find G(x,y,z), the complement of F(x,y,z) = xy z + x yz G = F = (xy z + x yz) = (xy z ) (x yz) DeMorgan = (x +y+z) (x+y +z ) DeMorgan again Note: The complement of a function can also be derived by finding the function s dual, and then complementing all of the literals 0 Circuits ( ) 27

28 Canonical and Standard Forms We need to consider formal techniques for the simplification of Boolean functions. Minterms and Maxterms Sum-of-Minterms and Product-of-Maxterms Product and Sum terms Sum-of-Products (SOP) and Product-of-Sums (POS) 0 Circuits ( ) 28

29 Definitions Literal: A variable or its complement Product term: literals connected by Sum term: literals connected by + Minterm: a product term in which all the variables appear exactly once, either complemented or uncomplemented Maxterm: a sum term in which all the variables appear exactly once, either complemented or uncomplemented 0 Circuits ( ) 29

30 Minterm Represents exactly one combination in the truth table. Denoted by m j, where j is the decimal equivalent of the minterm s corresponding binary combination (b j ). A variable in m j is complemented if its value in b j is 0, otherwise is uncomplemented. Example: Assume 3 variables (A,B,C), and j=3. Then, b j = 0 and its corresponding minterm is denoted by m j = A BC 0 Circuits ( ) 30

31 Maxterm Represents exactly one combination in the truth table. Denoted by M j, where j is the decimal equivalent of the maxterm s corresponding binary combination (b j ). A variable in M j is complemented if its value in b j is, otherwise is uncomplemented. Example: Assume 3 variables (A,B,C), and j=3. Then, b j = 0 and its corresponding maxterm is denoted by M j = A+B +C 0 Circuits ( ) 3

32 Truth Table notation for Minterms and Maxterms Minterms and Maxterms are easy to denote using a truth table. Example: Assume 3 variables x,y,z (order is fixed) x y z Minterm x y z = m x y z = m 0 0 x yz = m 2 0 x yz = m xy z = m 4 0 xy z = m 5 0 xyz = m 6 xyz = m 7 Maxterm x+y+z = M 0 x+y+z = M x+y +z = M 2 x+y +z = M 3 x +y+z = M 4 x +y+z = M 5 x +y +z = M 6 x +y +z = M 7 0 Circuits ( ) 32

33 Canonical Forms (Unique) Any Boolean function F( ) can be expressed as a unique sum of minterms and a unique product of maxterms (under a fixed variable ordering). In other words, every function F() has two canonical forms: Canonical Sum-Of-Products (sum of minterms) Canonical Product-Of-Sums maxterms) (product of 0 Circuits ( ) 33

34 Canonical Forms (cont.) Canonical Sum-Of-Products: The minterms included are those m j such that F( ) = in row j of the truth table for F( ). Canonical Product-Of-Sums: The maxterms included are those M j such that F( ) = 0 in row j of the truth table for F( ). 0 Circuits ( ) 34

35 Example Truth table for f (a,b,c) at right The canonical sum-of-products form for f is f (a,b,c) = m + m 2 + m 4 + m 6 = a b c + a bc + ab c + abc The canonical product-of-sums form for f is f (a,b,c) = M 0 M 3 M 5 M 7 = (a+b+c) (a+b +c ) (a +b+c ) (a +b +c ). Observe that: m j = M j 0 Circuits ( ) a b c f

36 Shorthand: and f (a,b,c) = m(,2,4,6), where indicates that this is a sum-of-products form, and m(,2,4,6) indicates that the minterms to be included are m, m 2, m 4, and m 6. f (a,b,c) = M(0,3,5,7), where indicates that this is a product-of-sums form, and M(0,3,5,7) indicates that the maxterms to be included are M 0, M 3, M 5, and M 7. Since m j = M j for any j, m(,2,4,6) = M(0,3,5,7) = f (a,b,c) 0 Circuits ( ) 36

37 Conversion Between Canonical Forms Replace with (or vice versa) and replace those j s that appeared in the original form with those that do not. Example: f (a,b,c) = a b c + a bc + ab c + abc = m + m 2 + m 4 + m 6 = (,2,4,6) = (0,3,5,7) = (a+b+c) (a+b +c ) (a +b+c ) (a +b +c ) 0 Circuits ( ) 37

38 Standard Forms (NOT Unique) Standard forms are like canonical forms, except that not all variables need appear in the individual product (SOP) or sum (POS) terms. Example: f (a,b,c) = a b c + bc + ac is a standard sum-of-products form f (a,b,c) = (a+b+c) (b +c ) (a +c ) is a standard product-of-sums form. 0 Circuits ( ) 38

39 Conversion of SOP from standard to canonical form Expand non-canonical terms by inserting equivalent of in each missing variable x: (x + x ) = Remove duplicate minterms f (a,b,c) = a b c + bc + ac = a b c + (a+a )bc + a(b+b )c = a b c + abc + a bc + abc + ab c = a b c + abc + a bc + ab c 0 Circuits ( ) 39

40 Conversion of POS from standard to canonical form Expand noncanonical terms by adding 0 in terms of missing variables (e.g., xx = 0) and using the distributive law Remove duplicate maxterms f (a,b,c) = (a+b+c) (b +c ) (a +c ) = (a+b+c) (aa +b +c ) (a +bb +c ) = (a+b+c) (a+b +c ) (a +b +c ) (a +b+c ) (a +b +c ) = (a+b+c) (a+b +c ) (a +b +c ) (a +b+c ) 0 Circuits ( ) 40

41 Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row in the truth table. Also, one map cell corresponds to a minterm or a maxterm in the boolean expression Multiple-cell areas of the map correspond to standard terms. 0 Circuits ( ) 4

42 Two-Variable Map x x 2 0 x 2 x m m 2 m m 3 OR m 0 3 m m 2 m 3 NOTE: ordering of variables is IMPORTANT for f(x,x 2 ), x is the row, x 2 is the column. 0 Cell 0 represents x x 2 ; Cell represents x x 2 ; etc. If a minterm is present in the function, then a is placed in the corresponding cell. Circuits ( ) 42

43 Two-Variable Map (cont.) Any two adjacent cells in the map differ by ONLY one variable, which appears complemented in one cell and uncomplemented in the other. Example: m 0 (=x x 2 ) is adjacent to m (=x x 2 ) and m 2 (=x x 2 ) but NOT m 3 (=x x 2 ) 0 Circuits ( ) 43

44 2-Variable Map -- Example f(x,x 2 ) = x x 2 + x x 2 + x x 2 = m 0 + m + m 2 = x + x 2 s placed in K-map for specified minterms m 0, m, m 2 Grouping (ORing) of s allows simplification What (simpler) function is represented by each dashed rectangle? a = m 0 + m a 2 = m 0 + m 2 Note m 0 covered twice x 2 x Circuits ( ) 44

45 Minimization as SOP using K-map Enter s in the K-map for each product term in the function Group adjacent K-map cells containing s to obtain a product with fewer variables. Groups must be in power of 2 (2, 4, 8, ) Handle boundary wrap for K-maps of 3 or more variables. Realize that answer may not be unique 0 Circuits ( ) 45

46 Three-Variable Map yz x m 0 m m m 4 m 5 m 7 0 m 2 m 6 -Note: variable ordering is (x,y,z); yz specifies column, x specifies row. -Each cell is adjacent to three other cells (left or right or top or bottom or edge wrap) 0 Circuits ( ) 46

47 Three-Variable Map (cont.) The types of structures that are either minterms or are generated by repeated application of the minimization theorem on a three variable map are shown at right. Groups of, 2, 4, 8 are possible. group of 2 terms minterm 0 group of 4 terms Circuits ( ) 47

48 Simplification Enter minterms of the Boolean function into the map, then group terms Example: f(a,b,c) = ac + abc + bc Result: f(a,b,c) = ac + b 0 a bc Circuits ( ) 48

49 More Examples f (x, y, z) = m(2,3,5,7) f (x, y, z) = x y + xz yz X f 2 (x, y, z) = m (0,,2,3,6) f 2 (x, y, z) = x +yz 0 Circuits ( ) 49

50 Four-Variable Maps YZ WX m 0 m m 3 m 2 0 m 4 m 5 m 7 m 6 m 2 m 3 m 5 m 4 0 m 8 m 9 m 0 m Top cells are adjacent to bottom cells. Left-edge cells are adjacent to right-edge cells. Note variable ordering (WXYZ). 0 Circuits ( ) 50

51 Four-variable Map Simplification One square represents a minterm of 4 literals. A rectangle of 2 adjacent squares represents a product term of 3 literals. A rectangle of 4 squares represents a product term of 2 literals. A rectangle of 8 squares represents a product term of literal. A rectangle of 6 squares produces a function that is equal to logic. 0 Circuits ( ) 5

52 Example Simplify the following Boolean function (A,B,C,D) = m(0,,2,4,5,7,8,9,0,2,3). First put the function g( ) into the map, and then group as many s as possible. ab cd g(a,b,c,d) = c +b d +a bd 0 Circuits ( ) 52

53 5-Variable K-Map BC DE A= BC DE ABCDE A=0 A BCDE 0 Circuits ( ) 53

54 Implicants and Prime Implicants (PIs) An Implicant (P) of a function F is a product term which implies F, i.e., F(P) =. An implicant (PI) of F is called a Prime Implicant of F if any product term obtained by deleting a literal of PI is NOT an implicant of F Thus, a prime implicant is not contained in any larger implicant. 0 Circuits ( ) 54

55 Example Consider function f(a,b,c,d) whose K- map is shown at right. a b is not a prime implicant because it is contained in b. cd ab acd is not a prime implicant because it is contained in ad. b, ad, and a cd are prime implicants. a b ad b a cd acd 0 Circuits ( ) 55

56 Essential Prime Implicants (EPIs) If a minterm of a function F is included in ONLY one prime implicant p, then p is an essential prime implicant of F. An essential prime implicant MUST appear in all possible SOP expressions of a function To find essential prime implicants: Generate all prime implicants of a function Select those prime implicants that contain at least one that is not covered by any other prime implicant. For the previous example, the PIs are b, ad, and a cd ; all of these are essential. a cd ad b 0 Circuits ( ) 56

57 Another Example Consider f 2 (a,b,c,d), whose K-map is shown below. The only essential PI is b d. cd ab 0 Circuits ( ) 57

58 Systematic Procedure for Simplifying Boolean Functions. Generate all PIs of the function. 2. Include all essential PIs. 3. For remaining minterms not included in the essential PIs, select a set of other PIs to cover them, with minimal overlap in the set. 4. The resulting simplified function is the logical OR of the product terms selected above. 0 Circuits ( ) 58

59 Example f(a,b,c,d) = m(0,,2,3,4,5,7,4,5). ab cd Five grouped terms, not all needed. 3 shaded cells covered by only one term 3 EPIs, since each shaded cell is covered by a different term. F(a,b,c,d) = a b + a c + a d + abc 0 Circuits ( ) 59

60 Product of Sums Simplification Use sum-of-products simplification on the zeros of the function in the K-map to get F. Find the complement of F, i.e. (F ) = F Recall that the complement of a boolean function can be obtained by () taking the dual and (2) complementing each literal. OR, using DeMorgan s Theorem. 0 Circuits ( ) 60

61 POS Example ab cd F (a,b,c,d) = ab + ac + a bcd Find dual of F, dual(f ) = (a+b )(a+c )(a +b+c+d ) Complement of literals in dual(f ) to get F F = (a +b)(a +c)(a+b +c +d) (verify that this is the same as in slide 60) Circuits ( ) 6

62 Don't Care Conditions There may be a combination of input values which will never occur if they do occur, the output is of no concern. The function value for such combinations is called a don't care. They are usually denoted with x. Each x may be arbitrarily assigned the value 0 or in an implementation. Don t cares can be used to further simplify a function 0 Circuits ( ) 62

63 Minimization using Don t Cares Treat don't cares as if they are s to generate PIs. Delete PI's that cover only don't care minterms. Treat the covering of remaining don't care minterms as optional in the selection process (i.e. they may be, but need not be, covered). 0 Circuits ( ) 63

64 0 Example Simplify the function f(a,b,c,d) whose K-map is shown at the right. f = a c d+ab +cd +a bc or f = a c d+ab +cd +a bd The middle two terms are EPIs, while the first and last terms are selected to cover the minterms m, m 4, and m 5. (There s a third solution!) Circuits ( ) ab cd x x x x x x 0 0 x x x x x x 64

65 0 Another Example Simplify the function g(a,b,c,d) whose K-map is shown at right. g = a c + ab or g = a c +b d Circuits ( ) ab cd x 0 0 x 0 x x x 0 x x 0 x 0 0 x 0 x x x 0 x x 0 x 0 0 x 0 x x x 0 x x 0 65

66 Algorithmic minimization What do we do for functions with more than 4-5 variables? You can code up a minimiser (Computer- Aided Design, CAD) Quine-McCluskey algorithm Iterated consensus We won t discuss these techniques here 0 Circuits ( ) 66

BOOLEAN ALGEBRA & LOGIC GATES

BOOLEAN ALGEBRA & LOGIC GATES BOOLEAN ALGEBRA & LOGIC GATES Logic gates are electronic circuits that can be used to implement the most elementary logic expressions, also known as Boolean expressions. The logic gate is the most basic

More information

CSEE 3827: Fundamentals of Computer Systems. Standard Forms and Simplification with Karnaugh Maps

CSEE 3827: Fundamentals of Computer Systems. Standard Forms and Simplification with Karnaugh Maps CSEE 3827: Fundamentals of Computer Systems Standard Forms and Simplification with Karnaugh Maps Agenda (M&K 2.3-2.5) Standard Forms Product-of-Sums (PoS) Sum-of-Products (SoP) converting between Min-terms

More information

Boolean Algebra Part 1

Boolean Algebra Part 1 Boolean Algebra Part 1 Page 1 Boolean Algebra Objectives Understand Basic Boolean Algebra Relate Boolean Algebra to Logic Networks Prove Laws using Truth Tables Understand and Use First Basic Theorems

More information

Karnaugh Maps & Combinational Logic Design. ECE 152A Winter 2012

Karnaugh Maps & Combinational Logic Design. ECE 152A Winter 2012 Karnaugh Maps & Combinational Logic Design ECE 52A Winter 22 Reading Assignment Brown and Vranesic 4 Optimized Implementation of Logic Functions 4. Karnaugh Map 4.2 Strategy for Minimization 4.2. Terminology

More information

Karnaugh Maps. Circuit-wise, this leads to a minimal two-level implementation

Karnaugh Maps. Circuit-wise, this leads to a minimal two-level implementation Karnaugh Maps Applications of Boolean logic to circuit design The basic Boolean operations are AND, OR and NOT These operations can be combined to form complex expressions, which can also be directly translated

More information

Chapter 2: Boolean Algebra and Logic Gates. Boolean Algebra

Chapter 2: Boolean Algebra and Logic Gates. Boolean Algebra The Universit Of Alabama in Huntsville Computer Science Chapter 2: Boolean Algebra and Logic Gates The Universit Of Alabama in Huntsville Computer Science Boolean Algebra The algebraic sstem usuall used

More information

Simplifying Logic Circuits with Karnaugh Maps

Simplifying Logic Circuits with Karnaugh Maps Simplifying Logic Circuits with Karnaugh Maps The circuit at the top right is the logic equivalent of the Boolean expression: f = abc + abc + abc Now, as we have seen, this expression can be simplified

More information

CSE140: Midterm 1 Solution and Rubric

CSE140: Midterm 1 Solution and Rubric CSE140: Midterm 1 Solution and Rubric April 23, 2014 1 Short Answers 1.1 True or (6pts) 1. A maxterm must include all input variables (1pt) True 2. A canonical product of sums is a product of minterms

More information

Boolean Algebra (cont d) UNIT 3 BOOLEAN ALGEBRA (CONT D) Guidelines for Multiplying Out and Factoring. Objectives. Iris Hui-Ru Jiang Spring 2010

Boolean Algebra (cont d) UNIT 3 BOOLEAN ALGEBRA (CONT D) Guidelines for Multiplying Out and Factoring. Objectives. Iris Hui-Ru Jiang Spring 2010 Boolean Algebra (cont d) 2 Contents Multiplying out and factoring expressions Exclusive-OR and Exclusive-NOR operations The consensus theorem Summary of algebraic simplification Proving validity of an

More information

United States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1

United States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1 United States Naval Academy Electrical and Computer Engineering Department EC262 Exam 29 September 2. Do a page check now. You should have pages (cover & questions). 2. Read all problems in their entirety.

More information

2.0 Chapter Overview. 2.1 Boolean Algebra

2.0 Chapter Overview. 2.1 Boolean Algebra Thi d t t d ith F M k 4 0 2 Boolean Algebra Chapter Two Logic circuits are the basis for modern digital computer systems. To appreciate how computer systems operate you will need to understand digital

More information

Boolean Algebra. Boolean Algebra. Boolean Algebra. Boolean Algebra

Boolean Algebra. Boolean Algebra. Boolean Algebra. Boolean Algebra 2 Ver..4 George Boole was an English mathematician of XIX century can operate on logic (or Boolean) variables that can assume just 2 values: /, true/false, on/off, closed/open Usually value is associated

More information

Unit 3 Boolean Algebra (Continued)

Unit 3 Boolean Algebra (Continued) Unit 3 Boolean Algebra (Continued) 1. Exclusive-OR Operation 2. Consensus Theorem Department of Communication Engineering, NCTU 1 3.1 Multiplying Out and Factoring Expressions Department of Communication

More information

CH3 Boolean Algebra (cont d)

CH3 Boolean Algebra (cont d) CH3 Boolean Algebra (cont d) Lecturer: 吳 安 宇 Date:2005/10/7 ACCESS IC LAB v Today, you ll know: Introduction 1. Guidelines for multiplying out/factoring expressions 2. Exclusive-OR and Equivalence operations

More information

CHAPTER 3 Boolean Algebra and Digital Logic

CHAPTER 3 Boolean Algebra and Digital Logic CHAPTER 3 Boolean Algebra and Digital Logic 3.1 Introduction 121 3.2 Boolean Algebra 122 3.2.1 Boolean Expressions 123 3.2.2 Boolean Identities 124 3.2.3 Simplification of Boolean Expressions 126 3.2.4

More information

Logic Reference Guide

Logic Reference Guide Logic eference Guide Advanced Micro evices INTOUCTION Throughout this data book and design guide we have assumed that you have a good working knowledge of logic. Unfortunately, there always comes a time

More information

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1. File: chap04, Chapter 04 1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1. 2. True or False? A gate is a device that accepts a single input signal and produces one

More information

Binary Adders: Half Adders and Full Adders

Binary Adders: Half Adders and Full Adders Binary Adders: Half Adders and Full Adders In this set of slides, we present the two basic types of adders: 1. Half adders, and 2. Full adders. Each type of adder functions to add two binary bits. In order

More information

CSE140: Components and Design Techniques for Digital Systems

CSE140: Components and Design Techniques for Digital Systems CSE4: Components and Design Techniques for Digital Systems Tajana Simunic Rosing What we covered thus far: Number representations Logic gates Boolean algebra Introduction to CMOS HW#2 due, HW#3 assigned

More information

Switching Algebra and Logic Gates

Switching Algebra and Logic Gates Chapter 2 Switching Algebra and Logic Gates The word algebra in the title of this chapter should alert you that more mathematics is coming. No doubt, some of you are itching to get on with digital design

More information

Logic in Computer Science: Logic Gates

Logic in Computer Science: Logic Gates Logic in Computer Science: Logic Gates Lila Kari The University of Western Ontario Logic in Computer Science: Logic Gates CS2209, Applied Logic for Computer Science 1 / 49 Logic and bit operations Computers

More information

DESIGN OF GATE NETWORKS

DESIGN OF GATE NETWORKS DESIGN OF GATE NETWORKS DESIGN OF TWO-LEVEL NETWORKS: and-or and or-and NETWORKS MINIMAL TWO-LEVEL NETWORKS KARNAUGH MAPS MINIMIZATION PROCEDURE AND TOOLS LIMITATIONS OF TWO-LEVEL NETWORKS DESIGN OF TWO-LEVEL

More information

Introduction. The Quine-McCluskey Method Handout 5 January 21, 2016. CSEE E6861y Prof. Steven Nowick

Introduction. The Quine-McCluskey Method Handout 5 January 21, 2016. CSEE E6861y Prof. Steven Nowick CSEE E6861y Prof. Steven Nowick The Quine-McCluskey Method Handout 5 January 21, 2016 Introduction The Quine-McCluskey method is an exact algorithm which finds a minimum-cost sum-of-products implementation

More information

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012 CDA 3200 Digital Systems Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012 Outline Multi-Level Gate Circuits NAND and NOR Gates Design of Two-Level Circuits Using NAND and NOR Gates

More information

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals of Computer Organization and Design. Introduction

More information

Gates & Boolean Algebra. Boolean Operators. Combinational Logic. Introduction

Gates & Boolean Algebra. Boolean Operators. Combinational Logic. Introduction Introduction Gates & Boolean lgebra Boolean algebra: named after mathematician George Boole (85 864). 2-valued algebra. digital circuit can have one of 2 values. Signal between and volt =, between 4 and

More information

Basic Logic Gates Richard E. Haskell

Basic Logic Gates Richard E. Haskell BASIC LOGIC GATES 1 E Basic Logic Gates Richard E. Haskell All digital systems are made from a few basic digital circuits that we call logic gates. These circuits perform the basic logic functions that

More information

Karnaugh Maps (K-map) Alternate representation of a truth table

Karnaugh Maps (K-map) Alternate representation of a truth table Karnaugh Maps (K-map) lternate representation of a truth table Red decimal = minterm value Note that is the MS for this minterm numbering djacent squares have distance = 1 Valuable tool for logic minimization

More information

Two-level logic using NAND gates

Two-level logic using NAND gates CSE140: Components and Design Techniques for Digital Systems Two and Multilevel logic implementation Tajana Simunic Rosing 1 Two-level logic using NND gates Replace minterm ND gates with NND gates Place

More information

3.Basic Gate Combinations

3.Basic Gate Combinations 3.Basic Gate Combinations 3.1 TTL NAND Gate In logic circuits transistors play the role of switches. For those in the TTL gate the conducting state (on) occurs when the baseemmiter signal is high, and

More information

Combinational circuits

Combinational circuits Combinational circuits Combinational circuits are stateless The outputs are functions only of the inputs Inputs Combinational circuit Outputs 3 Thursday, September 2, 3 Enabler Circuit (High-level view)

More information

Understanding Logic Design

Understanding Logic Design Understanding Logic Design ppendix of your Textbook does not have the needed background information. This document supplements it. When you write add DD R0, R1, R2, you imagine something like this: R1

More information

Lecture 5: Gate Logic Logic Optimization

Lecture 5: Gate Logic Logic Optimization Lecture 5: Gate Logic Logic Optimization MAH, AEN EE271 Lecture 5 1 Overview Reading McCluskey, Logic Design Principles- or any text in boolean algebra Introduction We could design at the level of irsim

More information

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on Digital Logic Circuits Digital circuits make up all computers and computer systems. The operation of digital circuits is based on Boolean algebra, the mathematics of binary numbers. Boolean algebra is

More information

C H A P T E R. Logic Circuits

C H A P T E R. Logic Circuits C H A P T E R Logic Circuits Many important functions are naturally computed with straight-line programs, programs without loops or branches. Such computations are conveniently described with circuits,

More information

COMPUTER SCIENCE. Paper 1 (THEORY)

COMPUTER SCIENCE. Paper 1 (THEORY) COMPUTER SCIENCE Paper 1 (THEORY) (Three hours) Maximum Marks: 70 (Candidates are allowed additional 15 minutes for only reading the paper. They must NOT start writing during this time) -----------------------------------------------------------------------------------------------------------------------

More information

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas Take-Home Exercise Assume you want the counter below to count mod-6 backward. That is, it would count 0-5-4-3-2-1-0, etc. Assume it is reset on startup, and design the wiring to make the counter count

More information

Gates, Circuits, and Boolean Algebra

Gates, Circuits, and Boolean Algebra Gates, Circuits, and Boolean Algebra Computers and Electricity A gate is a device that performs a basic operation on electrical signals Gates are combined into circuits to perform more complicated tasks

More information

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2. Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given

More information

Elementary Logic Gates

Elementary Logic Gates Elementary Logic Gates Name Symbol Inverter (NOT Gate) ND Gate OR Gate Truth Table Logic Equation = = = = = + C. E. Stroud Combinational Logic Design (/6) Other Elementary Logic Gates NND Gate NOR Gate

More information

FORDHAM UNIVERSITY CISC 3593. Dept. of Computer and Info. Science Spring, 2011. The Binary Adder

FORDHAM UNIVERSITY CISC 3593. Dept. of Computer and Info. Science Spring, 2011. The Binary Adder FORDHAM UNIVERITY CIC 3593 Fordham College Lincoln Center Computer Organization Dept. of Computer and Info. cience pring, 2011 1 Introduction The Binar Adder The binar adder circuit is an important building

More information

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include 2 + 5.

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include 2 + 5. PUTNAM TRAINING POLYNOMIALS (Last updated: November 17, 2015) Remark. This is a list of exercises on polynomials. Miguel A. Lerma Exercises 1. Find a polynomial with integral coefficients whose zeros include

More information

A Course Material on DIGITAL PRINCIPLES AND SYSTEM DESIGN

A Course Material on DIGITAL PRINCIPLES AND SYSTEM DESIGN A Course Material on By MS.G.MANJULA ASSISTANT PROFESSOR DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING SASURIE COLLEGE OF ENGINEERING VIJAYAMANGALAM 638 56 QUALITY CERTIFICATE This is to certify

More information

exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576

exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576 exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576 Outline exclusive OR gate (XOR) Definition Properties Examples of Applications Odd Function Parity Generation and Checking

More information

Combinational Logic Design

Combinational Logic Design Chapter 4 Combinational Logic Design The foundations for the design of digital logic circuits were established in the preceding chapters. The elements of Boolean algebra (two-element switching algebra

More information

How To Find Out What A Key Is In A Database Engine

How To Find Out What A Key Is In A Database Engine Database design theory, Part I Functional dependencies Introduction As we saw in the last segment, designing a good database is a non trivial matter. The E/R model gives a useful rapid prototyping tool,

More information

Counters and Decoders

Counters and Decoders Physics 3330 Experiment #10 Fall 1999 Purpose Counters and Decoders In this experiment, you will design and construct a 4-bit ripple-through decade counter with a decimal read-out display. Such a counter

More information

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell Digital Electronics Part I Combinational and Sequential Logic Dr. I. J. Wassell Introduction Aims To familiarise students with Combinational logic circuits Sequential logic circuits How digital logic gates

More information

CM2202: Scientific Computing and Multimedia Applications General Maths: 2. Algebra - Factorisation

CM2202: Scientific Computing and Multimedia Applications General Maths: 2. Algebra - Factorisation CM2202: Scientific Computing and Multimedia Applications General Maths: 2. Algebra - Factorisation Prof. David Marshall School of Computer Science & Informatics Factorisation Factorisation is a way of

More information

A single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc

A single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc Other architectures Example. Accumulator-based machines A single register, called the accumulator, stores the operand before the operation, and stores the result after the operation. Load x # into acc

More information

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: 9081 + 900b + 90c = 9001 + 100c + 10b

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: 9081 + 900b + 90c = 9001 + 100c + 10b In this session, we ll learn how to solve problems related to place value. This is one of the fundamental concepts in arithmetic, something every elementary and middle school mathematics teacher should

More information

CONTENTS 1. Peter Kahn. Spring 2007

CONTENTS 1. Peter Kahn. Spring 2007 CONTENTS 1 MATH 304: CONSTRUCTING THE REAL NUMBERS Peter Kahn Spring 2007 Contents 2 The Integers 1 2.1 The basic construction.......................... 1 2.2 Adding integers..............................

More information

To Evaluate an Algebraic Expression

To Evaluate an Algebraic Expression 1.5 Evaluating Algebraic Expressions 1.5 OBJECTIVES 1. Evaluate algebraic expressions given any signed number value for the variables 2. Use a calculator to evaluate algebraic expressions 3. Find the sum

More information

DEPARTMENT OF INFORMATION TECHNLOGY

DEPARTMENT OF INFORMATION TECHNLOGY DRONACHARYA GROUP OF INSTITUTIONS, GREATER NOIDA Affiliated to Mahamaya Technical University, Noida Approved by AICTE DEPARTMENT OF INFORMATION TECHNLOGY Lab Manual for Computer Organization Lab ECS-453

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

Click on the links below to jump directly to the relevant section

Click on the links below to jump directly to the relevant section Click on the links below to jump directly to the relevant section What is algebra? Operations with algebraic terms Mathematical properties of real numbers Order of operations What is Algebra? Algebra is

More information

Lecture 8: Synchronous Digital Systems

Lecture 8: Synchronous Digital Systems Lecture 8: Synchronous Digital Systems The distinguishing feature of a synchronous digital system is that the circuit only changes in response to a system clock. For example, consider the edge triggered

More information

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots Registers As you probably know (if you don t then you should consider changing your course), data processing is usually

More information

Digital Logic Design

Digital Logic Design Digital Logic Design Version 4.6 printed on February 2016 First published on August 2006 Background and Acknowledgements This material has been developed for the first course in Digital Logic Design. The

More information

C H A P T E R Regular Expressions regular expression

C H A P T E R Regular Expressions regular expression 7 CHAPTER Regular Expressions Most programmers and other power-users of computer systems have used tools that match text patterns. You may have used a Web search engine with a pattern like travel cancun

More information

Class One: Degree Sequences

Class One: Degree Sequences Class One: Degree Sequences For our purposes a graph is a just a bunch of points, called vertices, together with lines or curves, called edges, joining certain pairs of vertices. Three small examples of

More information

Chapter 1. Computation theory

Chapter 1. Computation theory Chapter 1. Computation theory In this chapter we will describe computation logic for the machines. This topic is a wide interdisciplinary field, so that the students can work in an interdisciplinary context.

More information

Read-only memory Implementing logic with ROM Programmable logic devices Implementing logic with PLDs Static hazards

Read-only memory Implementing logic with ROM Programmable logic devices Implementing logic with PLDs Static hazards Points ddressed in this Lecture Lecture 8: ROM Programmable Logic Devices Professor Peter Cheung Department of EEE, Imperial College London Read-only memory Implementing logic with ROM Programmable logic

More information

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions Marcel B. Finan Arkansas Tech University c All Rights Reserved First Draft February 8, 2006 1 Contents 25

More information

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B KITCHENS The equation 1 Lines in two-dimensional space (1) 2x y = 3 describes a line in two-dimensional space The coefficients of x and y in the equation

More information

3. Mathematical Induction

3. Mathematical Induction 3. MATHEMATICAL INDUCTION 83 3. Mathematical Induction 3.1. First Principle of Mathematical Induction. Let P (n) be a predicate with domain of discourse (over) the natural numbers N = {0, 1,,...}. If (1)

More information

Quotient Rings and Field Extensions

Quotient Rings and Field Extensions Chapter 5 Quotient Rings and Field Extensions In this chapter we describe a method for producing field extension of a given field. If F is a field, then a field extension is a field K that contains F.

More information

1.4. Arithmetic of Algebraic Fractions. Introduction. Prerequisites. Learning Outcomes

1.4. Arithmetic of Algebraic Fractions. Introduction. Prerequisites. Learning Outcomes Arithmetic of Algebraic Fractions 1.4 Introduction Just as one whole number divided by another is called a numerical fraction, so one algebraic expression divided by another is known as an algebraic fraction.

More information

BEGINNING ALGEBRA ACKNOWLEDMENTS

BEGINNING ALGEBRA ACKNOWLEDMENTS BEGINNING ALGEBRA The Nursing Department of Labouré College requested the Department of Academic Planning and Support Services to help with mathematics preparatory materials for its Bachelor of Science

More information

You know from calculus that functions play a fundamental role in mathematics.

You know from calculus that functions play a fundamental role in mathematics. CHPTER 12 Functions You know from calculus that functions play a fundamental role in mathematics. You likely view a function as a kind of formula that describes a relationship between two (or more) quantities.

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +

More information

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89 by Joseph Collison Copyright 2000 by Joseph Collison All rights reserved Reproduction or translation of any part of this work beyond that permitted by Sections

More information

Properties of Real Numbers

Properties of Real Numbers 16 Chapter P Prerequisites P.2 Properties of Real Numbers What you should learn: Identify and use the basic properties of real numbers Develop and use additional properties of real numbers Why you should

More information

26 Integers: Multiplication, Division, and Order

26 Integers: Multiplication, Division, and Order 26 Integers: Multiplication, Division, and Order Integer multiplication and division are extensions of whole number multiplication and division. In multiplying and dividing integers, the one new issue

More information

Adder.PPT(10/1/2009) 5.1. Lecture 13. Adder Circuits

Adder.PPT(10/1/2009) 5.1. Lecture 13. Adder Circuits Adder.T(//29) 5. Lecture 3 Adder ircuits Objectives Understand how to add both signed and unsigned numbers Appreciate how the delay of an adder circuit depends on the data values that are being added together

More information

Functional Dependencies and Normalization

Functional Dependencies and Normalization Functional Dependencies and Normalization 5DV119 Introduction to Database Management Umeå University Department of Computing Science Stephen J. Hegner hegner@cs.umu.se http://www.cs.umu.se/~hegner Functional

More information

4. How many integers between 2004 and 4002 are perfect squares?

4. How many integers between 2004 and 4002 are perfect squares? 5 is 0% of what number? What is the value of + 3 4 + 99 00? (alternating signs) 3 A frog is at the bottom of a well 0 feet deep It climbs up 3 feet every day, but slides back feet each night If it started

More information

Introduction to Digital Logic with Laboratory Exercises

Introduction to Digital Logic with Laboratory Exercises Introduction to Digital Logic with Laboratory Exercises Introduction to Digital Logic with Laboratory Exercises James Feher Copyright 29 James Feher Editor-In-Chief: James Feher Associate Editor: Marisa

More information

So let us begin our quest to find the holy grail of real analysis.

So let us begin our quest to find the holy grail of real analysis. 1 Section 5.2 The Complete Ordered Field: Purpose of Section We present an axiomatic description of the real numbers as a complete ordered field. The axioms which describe the arithmetic of the real numbers

More information

Lecture 4: Binary. CS442: Great Insights in Computer Science Michael L. Littman, Spring 2006. I-Before-E, Continued

Lecture 4: Binary. CS442: Great Insights in Computer Science Michael L. Littman, Spring 2006. I-Before-E, Continued Lecture 4: Binary CS442: Great Insights in Computer Science Michael L. Littman, Spring 26 I-Before-E, Continued There are two ideas from last time that I d like to flesh out a bit more. This time, let

More information

Lecture 2 Matrix Operations

Lecture 2 Matrix Operations Lecture 2 Matrix Operations transpose, sum & difference, scalar multiplication matrix multiplication, matrix-vector product matrix inverse 2 1 Matrix transpose transpose of m n matrix A, denoted A T or

More information

Session 5 Dissections and Proof

Session 5 Dissections and Proof Key Terms for This Session Session 5 Dissections and Proof Previously Introduced midline parallelogram quadrilateral rectangle side-angle-side (SAS) congruence square trapezoid vertex New in This Session

More information

NAND and NOR Implementation

NAND and NOR Implementation University of Wisconsin - Madison EE/omp ci 352 Digital ystems Fundamentals harles R. Kime ection 2 Fall 200 hapter 2 ombinational Logic ircuits Part 7 harles Kime & Thomas Kaminski NND and NOR Implementation

More information

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

Formal Languages and Automata Theory - Regular Expressions and Finite Automata - Formal Languages and Automata Theory - Regular Expressions and Finite Automata - Samarjit Chakraborty Computer Engineering and Networks Laboratory Swiss Federal Institute of Technology (ETH) Zürich March

More information

Figure 8-1 Four Possible Results of Adding Two Bits

Figure 8-1 Four Possible Results of Adding Two Bits CHPTER EIGHT Combinational Logic pplications Thus far, our discussion has focused on the theoretical design issues of computer systems. We have not yet addressed any of the actual hardware you might find

More information

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products Chapter 3 Cartesian Products and Relations The material in this chapter is the first real encounter with abstraction. Relations are very general thing they are a special type of subset. After introducing

More information

CHAPTER 8, GEOMETRY. 4. A circular cylinder has a circumference of 33 in. Use 22 as the approximate value of π and find the radius of this cylinder.

CHAPTER 8, GEOMETRY. 4. A circular cylinder has a circumference of 33 in. Use 22 as the approximate value of π and find the radius of this cylinder. TEST A CHAPTER 8, GEOMETRY 1. A rectangular plot of ground is to be enclosed with 180 yd of fencing. If the plot is twice as long as it is wide, what are its dimensions? 2. A 4 cm by 6 cm rectangle has

More information

CHAPTER 2. Logic. 1. Logic Definitions. Notation: Variables are used to represent propositions. The most common variables used are p, q, and r.

CHAPTER 2. Logic. 1. Logic Definitions. Notation: Variables are used to represent propositions. The most common variables used are p, q, and r. CHAPTER 2 Logic 1. Logic Definitions 1.1. Propositions. Definition 1.1.1. A proposition is a declarative sentence that is either true (denoted either T or 1) or false (denoted either F or 0). Notation:

More information

Limitations of E-R Designs. Relational Normalization Theory. Redundancy and Other Problems. Redundancy. Anomalies. Example

Limitations of E-R Designs. Relational Normalization Theory. Redundancy and Other Problems. Redundancy. Anomalies. Example Limitations of E-R Designs Relational Normalization Theory Chapter 6 Provides a set of guidelines, does not result in a unique database schema Does not provide a way of evaluating alternative schemas Normalization

More information

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Matrix Algebra A. Doerr Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Some Basic Matrix Laws Assume the orders of the matrices are such that

More information

EE360: Digital Design I Course Syllabus

EE360: Digital Design I Course Syllabus : Course Syllabus Dr. Mohammad H. Awedh Fall 2008 Course Description This course introduces students to the basic concepts of digital systems, including analysis and design. Both combinational and sequential

More information

Handout #1: Mathematical Reasoning

Handout #1: Mathematical Reasoning Math 101 Rumbos Spring 2010 1 Handout #1: Mathematical Reasoning 1 Propositional Logic A proposition is a mathematical statement that it is either true or false; that is, a statement whose certainty or

More information

def: An axiom is a statement that is assumed to be true, or in the case of a mathematical system, is used to specify the system.

def: An axiom is a statement that is assumed to be true, or in the case of a mathematical system, is used to specify the system. Section 1.5 Methods of Proof 1.5.1 1.5 METHODS OF PROOF Some forms of argument ( valid ) never lead from correct statements to an incorrect. Some other forms of argument ( fallacies ) can lead from true

More information

Combinational Logic Design Process

Combinational Logic Design Process Combinational Logic Design Process Create truth table from specification Generate K-maps & obtain logic equations Draw logic diagram (sharing common gates) Simulate circuit for design verification Debug

More information

PYTHAGOREAN TRIPLES KEITH CONRAD

PYTHAGOREAN TRIPLES KEITH CONRAD PYTHAGOREAN TRIPLES KEITH CONRAD 1. Introduction A Pythagorean triple is a triple of positive integers (a, b, c) where a + b = c. Examples include (3, 4, 5), (5, 1, 13), and (8, 15, 17). Below is an ancient

More information

Student Outcomes. Lesson Notes. Classwork. Discussion (10 minutes)

Student Outcomes. Lesson Notes. Classwork. Discussion (10 minutes) NYS COMMON CORE MATHEMATICS CURRICULUM Lesson 5 8 Student Outcomes Students know the definition of a number raised to a negative exponent. Students simplify and write equivalent expressions that contain

More information

ANALOG & DIGITAL ELECTRONICS

ANALOG & DIGITAL ELECTRONICS ANALOG & DIGITAL ELECTRONICS Course Instructor: Course No: PH-218 3-1-0-8 Dr. A.P. Vajpeyi E-mail: apvajpeyi@iitg.ernet.in Room No: #305 Department of Physics, Indian Institute of Technology Guwahati,

More information

COMPUTER SCIENCE TRIPOS

COMPUTER SCIENCE TRIPOS CST.98.5.1 COMPUTER SCIENCE TRIPOS Part IB Wednesday 3 June 1998 1.30 to 4.30 Paper 5 Answer five questions. No more than two questions from any one section are to be answered. Submit the answers in five

More information

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters: Design Eample: ers er: a sequential circuit that repeats a specified sequence of output upon clock pulses. A,B,C,, Z. G, O, T, E, R, P, S,!.,,,,,,,7. 7,,,,,,,.,,,,,,,,,,,. Binary counter: follows the binary

More information