Font size
WorksheetsLOGICAL
Total questions: 6
Worksheet time: 45secs
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.
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?
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?
If statement A and B is both True, what is the result if you use && operator? The result is (a) ?
a=5; , b=6;
if you evaluate the expression above using NOT operator ( !(a<b) ). The result is (a) ?
If 1st expression is False and 2nd expression is True, using logical OR the result is (a) ?
