Computer science
This presentation is the property of its rightful owner.
Sponsored Links
1 / 11

computer science PowerPoint PPT Presentation


  • 48 Views
  • Uploaded on
  • Presentation posted in: General

CSCI 1001. overview of. computer science. BOOLEAN LOGIC. what is logic ?. True. False. VS. Proposition. A = Page has “maroon”. B= Page has “gold”. C = Page has “university”. D= Page has “gopher”. E= Page has “alumni”. Compound Proposition. A AND C. B OR D. NOT E.

Download Presentation

computer science

An Image/Link below is provided (as is) to download presentation

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 - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Computer science

CSCI 1001

overview of

computer science

BOOLEAN LOGIC


Computer science

what is logic?

True

False

VS


Proposition

Proposition

A = Page has “maroon”

B= Page has “gold”

C = Page has “university”

D= Page has “gopher”

E= Page has “alumni”


Compound proposition

Compound Proposition

A AND C

B OR D

NOT E


Computer science

“pages about gophers, but not alumni”

“pages about maroon and gold, or

gophers”

“pages about gophers, but not

maroon and gold or university”


Computer science

IF A THEN B

A → B

EITHERD OR E

D XOR E


Computer science

“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”


Truth table

Truth Table


Truth table1

Truth Table


Http cs1001 us

http://cs1001.us/

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


  • Login