Logical Operators Flashcards

1
Q

&&

A

TRUE if both operators are true

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

||

A

TRUE if one of the operators is true

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

!

A

TRUE if the operator is false

FALSE if the operator is ture

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

?

A

Conditional or Ternary

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

?

A

Assigns a value to a variable if a condition is true

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