wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

LOGICAL

Total questions: 6

Worksheet time: 45secs

Name
Class
Date
1.

Which logical operator is used to combine two or more conditions, and it returns True if at least one of the conditions is true. If all the conditions are false, then the result is False.

a)
AND
b)
NOT
c)
XOR
d)
OR
2.

Which of the following logical operator combine two or more conditions and returns True if all the conditions are true. If any one of the conditions is false, the result will be False?

a)
XOR
b)
AND
c)
OR
d)
NOT
3.

What logical operator inverts the boolean value of a given expression. It is used to negate or reverse the truth value of a condition or expression?

a)
AND
b)
OR
c)
XOR
d)
NOT
4.

If statement A and B is both True, what is the result if you use && operator? The result is (a)   ?

5.

a=5; , b=6;

if you evaluate the expression above using NOT operator ( !(a<b) ). The result is (a)   ?

6.

If 1st expression is False and 2nd expression is True, using logical OR the result is (a)   ?