1
$\begingroup$

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?

$\endgroup$
3
$\begingroup$

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.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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