1 / 11

computer science

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.

kellsie
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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSCI 1001 overview of computer science BOOLEAN LOGIC

  2. what is logic? True False VS

  3. Proposition A = Page has “maroon” B = Page has “gold” C = Page has “university” D = Page has “gopher” E = Page has “alumni”

  4. Compound Proposition A AND C B OR D NOT E

  5. “pages about gophers, but not alumni” “pages about maroon and gold, or gophers” “pages about gophers, but not maroon and gold or university”

  6. IF A THEN B A → B EITHERD OR E D XOR E

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

  8. Truth Table

  9. Truth Table

  10. http://cs1001.us/ Please read section 4.3.2 of the textbook for Wednesday’s lecture.

More Related