Chapter 2 Flashcards

1
Q
  1. What are the two values of the Boolean data type? How do you write them?
A

True and False, using capital T and F, with the rest of the word in lowercase

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. What are the three Boolean operators?
A

and, or, and not

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

Q: 3. Write out the truth tables of each Boolean operator (that is, every possible combination of Boolean values for the
operator and what they evaluate to).

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

`

A

False
False True False False True

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