Boolean Logic Flashcards

Is the statement true or false? (41 cards)

1
Q

!false

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

!true

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

true || false

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

true || true

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

false || true

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

false || false

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

true && false

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

true && true

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

false && true

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

false && false

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

not (true || false)

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

not (true || true)

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

not (false || true)

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

not (false || false)

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

!(true && false)

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

!(true && true)

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

!(false && true)

18
Q

!(false && false)

19
Q

1 != 0

20
Q

1 != 1

21
Q

0 != 1

22
Q

0 != 0

23
Q

1 == 0

24
Q

1 == 1

25
0 == 1
FALSE
26
0 == 0
TRUE
27
&&
and
28
||
or
29
!
not
30
!=
not equal
31
==
equal
32
>=
greater-than-equal
33
<=
less-than-equal
34
true
TRUE
35
false
FALSE
36
comparison
37
>
greater than
38
<
less than
39
===
equality
40
.eql?
equal in type and value
41
equal?
equal in argumentid