Logical operators can be defined in the form of a truth table:

Precedence of operations

We process operations in a fixed order

  1. Parantheses
  2. Complements
  3. Product (AND)
  4. Sum (OR)

02.4 Logic Gates