Obtain the truth table from a logic circuit

The operation is as slow as simple: assign to the variables the 0s and 1s from one row of the truth table, and follow the effect of those bits through the gates until the exit is reached.

For example, the following Figure shows how to obtain the exit of the circuit for the input 000

Si(000) = 0 y Ci(000) = 0


Once seen how to obtain a row from the truth table, the following ones are as simple as slow to obtain.