Boolean Logic Flashcards
Is the statement true or false?
1
Q
!false
A
TRUE
2
Q
!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
!(true && false)
A
TRUE
16
Q
!(true && true)
A
FALSE