Learn Ruby the Hard Way: Truth Tables Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

not False

A

True

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

not 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

not (True && False)

A

True

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

not (True && True)

A

False

17
Q

not (False && True)

A

True

18
Q

not (False && False)

A

True

19
Q

1 != 0

A

True

20
Q

1 != 1

A

False

21
Q

0 !=1

A

True

22
Q

0 != 0

A

False

23
Q

1 == 0

A

False

24
Q

1 == 1

A

True

25
Q

0 == 1

A

False

26
Q

0 == 0

A

True