Answer explained
Write truth table and Boolean expression of OR and AND gates.
OR gate: Y=A+B; truth table — (0,0)→0, (0,1)→1, (1,0)→1, (1,1)→1. AND gate: Y=A·B; truth table — (0,0)→0, (0,1)→0, (1,0)→0, (1,1)→1.
OR gate: Y=A+B; truth table — (0,0)→0, (0,1)→1, (1,0)→1, (1,1)→1. AND gate: Y=A·B; truth table — (0,0)→0, (0,1)→0, (1,0)→0, (1,1)→1.