Quarry School

Fill an OR table — quick review

In plain words

Imagine an apartment resident who can report a broken light by phone, by email, or by both.

Rule

For two Boolean inputs, A OR B gives true if at least one input is true. It gives false if both are false.

Assume both input values are known and refer to the same light. The paper model answers whether the resident made a report. Delivery, reading the report, and repairing the light are outside the model.

Step

  1. Draw the table on paper with A on the left, B in the middle, and Reported on the right.

  2. Write the input pairs from top to bottom. Write false and false, false and true, true and false, then true and true. Start with all four Reported spaces blank.

  3. Start at the top. Read A first. If A is true, write true in Reported. If A is false, read B and copy it into Reported.

  4. Move down one row at a time. Stop when every Reported space has a value.

Trap

Suppose the resident phones and then emails. Does the email cancel the phone report? The phone report still counts after the email, so keep Reported true in the marked last row, where both inputs are true.