Logic Flashcards
1
Q
NOT True?
A
not False ——— True
not True ——– False
2
Q
OR True?
A
True or False ——– True True or True ——– True False or True ——– True False or False ——- False
3
Q
AND True?
A
True and False ——— False True and True ———- True False and True ——– False False and False ——- False
4
Q
NOT OR True?
A
not (True or False)——–False not (True or False) ——-False not (True or True) ——–False not (False or False)——True
5
Q
NOT AND True?
A
not (T and F) ——True
not (T and T) ——-False
not (F and T) ——True
not (F and F) —- True
6
Q
!= True?
A
1 != 0 ——True 1 != 1 —– False 0 != 1 —– True 0 != 0 —– False
7
Q
== True?
A
1 == 0 ——– False 1 == 1 ——– True 0 == 1 ——– False 0 == 0 ——– True