. . . . . . . . operator returns true, if any of the sub-condition is true.

AND
OR
NOT
NAND

The correct answer is B. OR.

The OR operator returns true if any of the sub-conditions is true. For example, the expression A OR B is true if either A or B is true, or if both A and B are true.

The AND operator returns true only if both sub-conditions are true. For example, the expression A AND B is true only if both A and B are true.

The NOT operator returns the opposite of its operand. For example, the expression NOT A is true if A is false, and false if A is true.

The NAND operator returns true only if both sub-conditions are false. For example, the expression A NAND B is true only if both A and B are false.

I hope this helps! Let me know if you have any other questions.

Exit mobile version