Truth Tables - AND, OR, NOT

Channel:
Subscribers:
2,750
Published on ● Video Link: https://www.youtube.com/watch?v=SRik_ZRiEu8



Duration: 53:59
110 views
2


Today we reviewed the quiz from last time, and talked about the Peer Review process, but mostly focused on explaining truth tables, and specifically the AND, OR, and NOT operators in logic.


An AND operation takes two parameters (let's call them x and y) and returns TRUE if both x and y are TRUE, and FALSE otherwise.


An OR operation (called INCLUSIVE OR) takes two parameters and returns TRUE if either or both x and y are TRUE, and FALSE otherwise.


There's also EXCLUSIVE OR (XOR) which returns TRUE if one of the two is TRUE, but not both.


Finally, there is NOT. If you pass TRUE to NOT, it returns FALSE. If you pass FALSE to NOT, it returns TRUE.







Tags:
csci 1
truth tables
and
or
not
rugby