An IB question requests: Construct the logic diagram for the Boolean expression NOT A OR B AND C.

The answer enter image description here

looks to me like not A or (B and C), whereas what I expected only gets partial credit. Can someone explain?


1 Answer 1


The question is assuming that the operators precedence goes $NOT \rightarrow AND \rightarrow OR$, which is pretty standard for boolean logic.

Hence the proper parathensization would be $\text{((NOT A) OR (B AND C))}$, which correspods to the correct diagram, whereas the partial credits corresponds to $\text{(((NOT A) OR B) AND C)}$, which would just be a left to right evaluation of the operators.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.