Selection Flashcards

1
Q

Boolean

A

A binary value hat has only two possible states, either True or False
One of the fundamental types in Python

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

Conditional expression

A

Expression that compares values using conditional operators and evaluates to a Boolean

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

Boolean expression

A

An expression that combines Boolean operands and operators which evaluates to a Boolean

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

De Morgan’s theorem

A

not(A or B)= not A and not B

not(A and B) = not A or not B

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