- 58 Views
- Uploaded on
- Presentation posted in: General

computer science

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

CSCI 1001

overview of

computer science

BOOLEAN LOGIC

what is logic?

True

False

VS

A = Page has “maroon”

B= Page has “gold”

C = Page has “university”

D= Page has “gopher”

E= Page has “alumni”

A AND C

B OR D

NOT E

“pages about gophers, but not alumni”

“pages about maroon and gold, or

gophers”

“pages about gophers, but not

maroon and gold or university”

IF A THEN B

A → B

EITHERD OR E

D XOR E

“pages about universities, and if they

say maroon, they have to say gold”

“if the page says university, then it

should say gopher or alumni,

(but not both)”

“Either the page says

gopher, but not alumni, or

it says maroon and gold”

Please read section 4.3.2 of the textbook for Wednesday’s lecture.