Computer Science for IGCSE & O level - Boolean Logic (Section 6 - No. 2)
Which of the following represents the correct order of operation to implement Y = A OR (B AND C)?
A OR B then AND with C.
B AND C then OR with A.
A AND B then OR with C.
A OR C then AND with B.
Explanation
According to the order of operations, the operations within parentheses (B AND C) are performed first, then the result is OR'd with A.
Comments (0)
