    0

# What is the result of True AND False OR True?

True AND False OR True evaluates to True.

IT seems like it does not matter which is evaluated first as:

(True AND False) OR True = False OR True = True

True AND (False OR True) = True AND True = True

But, it does matter as with False AND False OR True:

(False AND False) OR True = False OR True = True

False AND (False OR True) = False AND True = False

and True OR False AND False:

(True OR False) AND False = True AND False = False

True OR (False AND False) = True OR False = True

Evaluated left to right gives a different answer if the operators are reversed (as can be seen above), so AND and OR need an order of evaluation. AND can be replaced by multiply, OR by add, and BODMAS says multiply is evaluated before add; thus AND should be evaluated before OR - the C Programming language follows this convention.

This makes the original question:

True AND False OR True = (True AND False) OR True = False OR True = True Study guides

23 cards

## Stacy drove 200 miles in 4 hours What was her average speed

➡️
See all cards
5.0
1 Review

true  Earn +20 pts
Q: What is the result of True AND False OR True?
Submit
Still have questions?  View results

View results

View results

View results

View results

View results