OR gate: The output is high if any one of the input is high. The OR gate and its truth table is shown in Figure 2.3. Figure 2.3: OR gate and its truth table.