Learn Ruby the Hard Way: Truth Tables Flashcards
1
Q
not False
A
True
2
Q
not True
A
False
3
Q
True || False
A
True
4
Q
True || True
A
True
5
Q
False || True
A
True
6
Q
False || False
A
False
7
Q
True && False
A
False
8
Q
True && True
A
True
9
Q
False && True
A
False
10
Q
False && False
A
False
11
Q
not (True || False)
A
False
12
Q
not (True || True)
A
False
13
Q
not (False || True)
A
False
14
Q
not (False || False)
A
True
15
Q
not (True && False)
A
True