cs 230 introduction to computers and computer systems ... › ... › lecture2.pdf · cs 230 -...

100
CS 230 - Spring 2020 1-1 CS 230 Introduction to Computers and Computer Systems Lecture 2 Boolean Algebra and Circuits

Upload: others

Post on 27-Jun-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-1

CS 230 – Introduction to Computers and Computer Systems

Lecture 2 – Boolean Algebra and Circuits

Page 2: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-2

Boolean Algebra

Algebra to express binary logic

Basic operators: OR, AND, NOT

More advanced operators later

Like normal elementary algebra

OR – similar to addition

AND – similar to multiplication

NOT – similar to negation

identity, inverse, commutative, associative, etc.

Page 3: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

Boolean OR

CS 230 - Spring 2020 1-3

Page 4: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

Boolean OR

CS 230 - Spring 2020 1-4

Page 5: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

Boolean OR

CS 230 - Spring 2020 1-5

Page 6: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

Boolean OR

CS 230 - Spring 2020 1-6

Page 7: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

Boolean AND

CS 230 - Spring 2020 1-7

Page 8: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

Boolean NOT

CS 230 - Spring 2020 1-8

Page 9: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-9

Page 10: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-10

Page 11: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-11

Page 12: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-12

Page 13: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-13

Page 14: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-14

Page 15: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-15

Page 16: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-16

Page 17: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-17

Page 18: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-18

Page 19: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-19

Page 20: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-20

Page 21: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-21

Page 22: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-22

Page 23: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

Boolean NAND

CS 230 - Spring 2020 1-23

¬ (X ∧ Y)

Page 24: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

Boolean NOR

CS 230 - Spring 2020 1-24

¬ (X ∨ Y)

Page 25: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

Boolean XOR

CS 230 - Spring 2020 1-25

(X ∧ ¬Y) ∨ (¬X ∧ Y)

Page 26: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

Boolean XNOR

CS 230 - Spring 2020 1-26

(X ∧ Y) ∨ (¬X ∧ ¬Y)

Page 27: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-27

Precedence

Boolean operators have precedence

Just like regular algebra

Order is (from highest to lowest)

NOT > AND=NAND > XOR=XNOR > OR=NOR

Equal precedence are evaluated left-to-right

Parenthesis override precedence

Just like regular algebra

Page 28: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-28

Page 29: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-29

Page 30: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-30

Page 31: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-31

Page 32: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-32

Page 33: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-33

Page 34: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-34

Page 35: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-35

Page 36: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-36

Page 37: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-37

Page 38: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-38

Page 39: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-39

Page 40: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-40

Page 41: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-41

Page 42: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-42

Page 43: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-43

Page 44: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-44

Page 45: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-45

Page 46: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-46

Page 47: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-47

Page 48: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-48

Page 49: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-49

Page 50: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-50

Page 51: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-51

Page 52: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-52

Page 53: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-53

Boolean Algebra Rules

Identities

A ∨ 0 = A

A ∧ 1 = A

A ∨ A = A

A ∧ A = A

Involution

¬¬A = A

Annihilators

A ∨ 1 = 1

A ∧ 0 = 0

Complements

A ∨ ¬A = 1

A ∧ ¬A = 0

Page 54: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

More Rules

Commutative Law

A ∨ B = B ∨ A

A ∧ B = B ∧ A

Associative Law

A ∨ (B ∨ C) = (A ∨ B) ∨ C

A ∧ (B ∧ C) = (A ∧ B) ∧ C

CS 230 - Spring 2020 1-54

Page 55: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-55

Even More Rules

Distributive Law

A ∧ (B ∨ C) = A ∧ B ∨ A ∧ C

A ∨ (B ∧ C) = (A ∨ B) ∧ (A ∨ C)

De Morgan's Law

¬(A ∨ B) = ¬A ∧ ¬B

¬(A ∧ B) = ¬A ∨ ¬B

Page 56: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-56

Page 57: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-57

Page 58: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-58

Page 59: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-59

Page 60: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-60

Page 61: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-61

Page 62: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-62

Page 63: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-63

Page 64: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-64

Page 65: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-65

Page 66: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-66

Page 67: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-67

Page 68: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-68

Page 69: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-69

Page 70: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-70

Page 71: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-71

Page 72: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-72

Page 73: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-73

Page 74: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-74

Page 75: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-75

Page 76: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

AND NAND XOR

OR NOR XNOR

NOT

CS 230 - Spring 2020 1-76

Digital Electronic Circuits

Boolean algebra models electronic circuits

Each operation has a corresponding gate

A physical circuit component that applies a Boolean operator

Page 77: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-77

Page 78: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-78

Page 79: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-79

Page 80: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-80

Page 81: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-81

Page 82: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-82

Page 83: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-83

Page 84: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-84

Page 85: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-85

Page 86: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-86

Page 87: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-87

Page 88: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-88

Page 89: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-89

Page 90: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-90

Page 91: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-91

Page 92: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-92

Page 93: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-93

Page 94: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-94

Page 95: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-95

Page 96: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-96

Page 97: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-97

Page 98: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-98

Page 99: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-99

Page 100: CS 230 Introduction to Computers and Computer Systems ... › ... › lecture2.pdf · CS 230 - Spring 2020 1-2 Boolean Algebra Algebra to express binary logic Basic operators: OR,

CS 230 - Spring 2020 1-100