EngineerPlay

Logic gates worksheet

Levels 1 to 3: ages 8 to 12, plain words. Levels 4 to 8: formulas and units. The answer key prints on its own page.

Name ______________ Date ________

Logic gates: level 3

  1. The numbers at the top travel down the wires into the gates. What comes out at the "?"

    Logic circuit with 2 gatesLabels shown, in drawing order: A, 1, B, 0, AND, OR, ?.A1B0ANDOR?
    1. A 0
    2. B 1
  2. The numbers at the top travel down the wires into the gates. What comes out at the "?"

    Logic circuit with 2 gatesLabels shown, in drawing order: A, 1, B, 0, OR, ?.A1B0OROR?
    1. A 0
    2. B 1
  3. The numbers at the top travel down the wires into the gates. What comes out at the "?"

    Logic circuit with 2 gatesLabels shown, in drawing order: A, 0, B, 0, AND, OR, ?.A0B0ANDOR?
    1. A 0
    2. B 1
  4. The numbers at the top travel down the wires into the gates. What comes out at the "?"

    Logic circuit with 2 gatesLabels shown, in drawing order: A, 1, B, 0, AND, ?.A1B0ANDAND?
    1. A 0
    2. B 1
  5. The numbers at the top travel down the wires into the gates. What comes out at the "?"

    Logic circuit with 2 gatesLabels shown, in drawing order: A, 1, B, 0, OR, ?.A1B0OROR?
    1. A 0
    2. B 1
  6. The numbers at the top travel down the wires into the gates. What comes out at the "?"

    Logic circuit with 2 gatesLabels shown, in drawing order: A, 1, B, 1, NOT, OR, ?.A1B1NOTOR?
    1. A 0
    2. B 1
  7. The numbers at the top travel down the wires into the gates. What comes out at the "?"

    Logic circuit with 2 gatesLabels shown, in drawing order: A, 0, B, 1, AND, OR, ?.A0B1ANDOR?
    1. A 0
    2. B 1
  8. The numbers at the top travel down the wires into the gates. What comes out at the "?"

    Logic circuit with 2 gatesLabels shown, in drawing order: A, 0, B, 1, AND, OR, ?.A0B1ANDOR?
    1. A 0
    2. B 1

Answer key

  1. 1. A (0). AND gives 1 only when both inputs are 1. OR gives 1 when at least one input is 1. Step by step: the AND gate takes A = 1 and B = 0 and gives 0; then the OR gate takes the AND output (0) and B = 0 and gives 0.
    1. Read the numbers at the top: A is 1, B is 0.
    2. Follow the wires through the gates in order: the AND gate gets 1 and 0, and AND gives 1 only when both inputs are 1, so it gives 0; then the OR gate gets 0 and 0, and OR gives 1 when at least one input is 1, so it gives 0.
    3. The last gate sends its number to the ?. Answer: 0.
  2. 2. B (1). OR gives 1 when at least one input is 1. Step by step: the OR gate takes B = 0 and A = 1 and gives 1; then the OR gate takes the OR output (1) and A = 1 and gives 1.
    1. Read the numbers at the top: A is 1, B is 0.
    2. Follow the wires through the gates in order: the OR gate gets 0 and 1, and OR gives 1 when at least one input is 1, so it gives 1; then the OR gate gets 1 and 1, and OR gives 1 when at least one input is 1, so it gives 1.
    3. The last gate sends its number to the ?. Answer: 1.
  3. 3. A (0). AND gives 1 only when both inputs are 1. OR gives 1 when at least one input is 1. Step by step: the AND gate takes A = 0 and B = 0 and gives 0; then the OR gate takes the AND output (0) and B = 0 and gives 0.
    1. Read the numbers at the top: A is 0, B is 0.
    2. Follow the wires through the gates in order: the AND gate gets 0 and 0, and AND gives 1 only when both inputs are 1, so it gives 0; then the OR gate gets 0 and 0, and OR gives 1 when at least one input is 1, so it gives 0.
    3. The last gate sends its number to the ?. Answer: 0.
  4. 4. A (0). AND gives 1 only when both inputs are 1. Step by step: the AND gate takes A = 1 and B = 0 and gives 0; then the AND gate takes A = 1 and the AND output (0) and gives 0.
    1. Read the numbers at the top: A is 1, B is 0.
    2. Follow the wires through the gates in order: the AND gate gets 1 and 0, and AND gives 1 only when both inputs are 1, so it gives 0; then the AND gate gets 1 and 0, and AND gives 1 only when both inputs are 1, so it gives 0.
    3. The last gate sends its number to the ?. Answer: 0.
  5. 5. B (1). OR gives 1 when at least one input is 1. Step by step: the OR gate takes A = 1 and B = 0 and gives 1; then the OR gate takes the OR output (1) and A = 1 and gives 1.
    1. Read the numbers at the top: A is 1, B is 0.
    2. Follow the wires through the gates in order: the OR gate gets 1 and 0, and OR gives 1 when at least one input is 1, so it gives 1; then the OR gate gets 1 and 1, and OR gives 1 when at least one input is 1, so it gives 1.
    3. The last gate sends its number to the ?. Answer: 1.
  6. 6. B (1). NOT flips its input: 1 becomes 0 and 0 becomes 1. OR gives 1 when at least one input is 1. Step by step: the NOT gate takes A = 1 and gives 0; then the OR gate takes B = 1 and the NOT output (0) and gives 1.
    1. Read the numbers at the top: A is 1, B is 1.
    2. Follow the wires through the gates in order: the NOT gate gets 1, and NOT flips its input: 1 becomes 0 and 0 becomes 1, so it gives 0; then the OR gate gets 1 and 0, and OR gives 1 when at least one input is 1, so it gives 1.
    3. The last gate sends its number to the ?. Answer: 1.
  7. 7. A (0). AND gives 1 only when both inputs are 1. OR gives 1 when at least one input is 1. Step by step: the AND gate takes B = 1 and A = 0 and gives 0; then the OR gate takes the AND output (0) and A = 0 and gives 0.
    1. Read the numbers at the top: A is 0, B is 1.
    2. Follow the wires through the gates in order: the AND gate gets 1 and 0, and AND gives 1 only when both inputs are 1, so it gives 0; then the OR gate gets 0 and 0, and OR gives 1 when at least one input is 1, so it gives 0.
    3. The last gate sends its number to the ?. Answer: 0.
  8. 8. A (0). AND gives 1 only when both inputs are 1. OR gives 1 when at least one input is 1. Step by step: the AND gate takes A = 0 and B = 1 and gives 0; then the OR gate takes the AND output (0) and A = 0 and gives 0.
    1. Read the numbers at the top: A is 0, B is 1.
    2. Follow the wires through the gates in order: the AND gate gets 0 and 1, and AND gives 1 only when both inputs are 1, so it gives 0; then the OR gate gets 0 and 0, and OR gives 1 when at least one input is 1, so it gives 0.
    3. The last gate sends its number to the ?. Answer: 0.