1. Trang chủ
  2. » Công Nghệ Thông Tin

Lecture Discrete mathematics and its applications - Chapter 12: Boolean Algebra

27 55 2

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 27
Dung lượng 4,18 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

In addition to floppy disks and hard drives, today''s computer user can choose from a wide range of storage devices, from “key ring devices that store hundreds of megabytes to digital video discs, which make it easy to transfer several gigabytes of data. This lesson examines the primary types of storage found in today''s personal computers. You''ll learn how each type of storage device stores and manages data.

Trang 1

Boolean Algebra

Copyright ©  McGraw­Hill Education.  All rights reserved. No reproduction or distribution without the prior written consent of McGraw­Hill Education.

Trang 3

Boolean Functions

Trang 5

Introduction to Boolean Algebra

Trang 6

Boolean Expressions and

Boolean Functions

Definition: Let B = {0, 1}. Then Bn  = {(x1, x2, …, xn) | xi 

 B for 1 ≤ i ≤ n } is the set of all possible n­tuples of 0s  and 1s. The variable x is called a Boolean variable if it 

Trang 7

Boolean Expressions and Boolean Functions

(continued)

Trang 8

Boolean Expressions and Boolean Functions

(continued)

Trang 9

Boolean Functions

The example tells us that there are 16 different Boolean functions of degree  two. We display these in Table 3. 

Trang 10

Identities of Boolean

Algebra

Each identity can be proved using a  table.

All  identities in Table 5, except for  the first and the last two come in  pairs. Each element of the pair is the 

dual of the other (obtained by 

switching Boolean sums and  Boolean products and 0’s and 1’s.

The Boolean identities correspond to the  identities of propositional logic (Section  1.3) and the set identities (Section 2.2).

Trang 11

Identities of Boolean

Algebra

Example: Show that the distributive law       x(y  + x) = xy + xz is valid.

Solution: We show that both sides of this identity always 

take the same value by constructing this table

Trang 12

associative laws commutative laws

distributive laws

The set of propositional variables  with the operators ∧ and ∨, 

elements T and F, and the  negation operator ¬  is a Boolean  algebra.

Trang 13

Representing Boolean Functions

Trang 14

Section Summary

Trang 15

Sum-of-Products Expansion

The general principle is that each combination of values of  the variables for which the function has the value 1 requires a  term in the Boolean sum that is the Boolean product of the  variables or their complements. 

Trang 16

Sum-of-Products Expansion

(cont)

Trang 17

Sum-of-Products Expansion

(cont)

Trang 18

Sum-of-Products Expansion

(cont)

Trang 19

Functional Completeness

Trang 20

Logic Gates

Trang 21

Section Summary

Trang 23

Combinations of Gates

Trang 26

Adders (continued)

bit when two bits and a carry are added

Trang 27

Adders (continued)

produce the sum of n bit integers. 

Example:  Here is a circuit to compute the sum of two three­bit integers

Ngày đăng: 14/10/2020, 14:58

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w