Truth Tables - AND, OR, NOT
Channel:
Subscribers:
2,750
Published on ● Video Link: https://www.youtube.com/watch?v=SRik_ZRiEu8
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.
Other Videos By Bill Kerney
2021-09-17 | Doubly Nested Loops + Chars + Strings |
2021-09-17 | Ethical Theories I |
2021-09-17 | Introducing Colorslib |
2021-09-16 | Voronoi Relaxation / Lloyd's Algorithm |
2021-09-15 | How to Approach Writing Code + Lvalues vs. Rvalues |
2021-09-15 | Truth Tables II + Denying the Antecedent + Affirming the Consequent |
2021-09-14 | Under the Hood I + Lighting + Special Effects in UE4 |
2021-09-14 | Introducing Readlib |
2021-09-14 | C++ I/O and Digital Logic |
2021-09-13 | Function Overloading and Commenting Code |
2021-09-13 | Truth Tables - AND, OR, NOT |
2021-09-11 | Call by Reference |
2021-09-10 | Modus Ponens and Modus Tollens |
2021-09-10 | SVN, Voronoi |
2021-09-10 | GDC Talks, Landscape III, Material Functions |
2021-09-10 | Combinatorics, Inclusion/Exclusion |
2021-09-08 | Functions Part II |
2021-09-08 | Arguments + Invalid/Valid/Sound |
2021-09-07 | Voroni |
2021-09-07 | CSG, Sprinting, Water (Old and New) |
2021-09-07 | Constexpr, Permutations, Combinations, Binomial Theorem, and Infinite Sets |
Tags:
csci 1
truth tables
and
or
not
rugby