Skip to content

Instantly share code, notes, and snippets.

@seanchen1991
Created February 19, 2019 16:50
Show Gist options
  • Save seanchen1991/0084ec639df77f0dc4c3ad5e492f65d6 to your computer and use it in GitHub Desktop.
Save seanchen1991/0084ec639df77f0dc4c3ad5e492f65d6 to your computer and use it in GitHub Desktop.
Truth Tables Practice

Truth Table Practice

Fill out truth tables for the following expressions:

  1. (¬A v B) (alternate: (!A || B))
A     B     result
-------------------
0     0       ?
0     1       ?
1     0       ?
1     1       ?
  1. ¬(A ∧ B) ∧ ¬(¬A v ¬B) (alternate: !(A && B) && !(!A || !B))
A     B     result
-------------------
0     0       ?
0     1       ?
1     0       ?
1     1       ?
  1. (A v B) v ( (¬A ∧ C) ∧ ¬(B v C) ) (alternate: (A || B) || ( (!A && C) && !(B || C) ))
A     B     C     result
-------------------------
0     0     0       ?
0     0     1       ?
0     1     0       ?
0     1     1       ?
1     0     0       ?
1     0     1       ?
1     1     0       ?
1     1     1       ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment