SPECIAL OPERATOR Flashcards

1
Q
They are used to check if two values (or variables) are located on the same part of the memory.
Used to check if a particular values is of a certain class or type.
A

IDENTITY OPERATORS

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

Operators that are used to compare objects.

A

IDENTITY OPERATORS

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

Evaluates to TRUE if the variables on either side of the operator point to the same object and FALSE otherwise.

A

IS

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

Evaluates to FALSE if the variables on either side of the operator point to the same object and TRUE otherwise.

A

IS NOT

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

can be defined as being an operator that is used to validate the membership of a value. Used to test whether a value or variable is in sequence.

A

MEMBERSHIP OPERATOR

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

Evaluates to TRUE if it finds a variable in the specified sequences and FALSE otherwise.

A

IN

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

Evaluates to TRUE if it does not finds a variable in the specified and FALSE otherwise.

A

NOT IN

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