day 2 Flashcards

1
Q

boolean expression examples

A

age == 5

age >= 18

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

exactly equal to

A

==

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

&&

A

combine two boolean expressions into a larger compound boolean expression

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

&& example

A

let compoundBool = firstBooleanExpression && secondBooleanExpression

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

or operator ||

A

let compoundBool = firstBooleanExpression || secondBooleanExpression

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

not

A

!

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