How to convert a truth table to a circuit using a sum-of-products implementation. This approach is mechanical (and hence straight-forward and not error prone) but doesn't generate minimal circuits. Luckily we have sophisticated software tools to do circuit optimization for us.