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
Chat with our AI personalities
That's the boolean "or" operator. It calculates a result based on two boolean values. The result is false if both starting values are false; in all other cases, the result is true.
false
zero= false, non-zero=true
False.
False its not possible to convert all heat into work as some of its being used as energy APEX