MAKE IT YOURS

A world for every learner

Choose a grade to discover its colours and creative world.

Grade 12 Logic Gates Worksheet with Answers

Grade 12 (US) · Year 13 (UK) · Class 12 (India) · Computer Science

Unit 3: Systems & DataLogic CircuitsCSTA 3B-CS-02

Working out the outputs of AND, OR, NOT and XOR gates and small logic circuits. This free high school worksheet has 12 questions and a full answer key. Print it or save it as a PDF — every answer is checked by code, not guessed.

  • Answer keys checked by code
  • No ads, ever
  • No student accounts needed
  • Safety & privacy
Practice Sheetaethelsystems.com

Logic Gates

Grade 12 · Computer Science

Score___ / 12

Name

Class

Date

Learning goal: Logic Circuits · CSTA 3B-CS-02

Directions: Read each question carefully and write your answer on the line. Use the diagram to help you.

RememberLogic gates

AND1 only if bothinputs are 1OR1 if at leastone input is 1NOTflips the input0 → 1, 1 → 0XOR1 if the inputsare different
  1. 1

    Work through the circuit gate by gate. What is the output Q?

    A1B0C0ORXORQ
  2. 2

    Work through the circuit gate by gate. What is the output Q?

    A1B0C1ORANDQ
  3. 3

    Work through the circuit gate by gate. What is the output Q?

    A0B0C1ANDXORQ
  4. 4

    Work through the circuit gate by gate. What is the output Q?

    A0B0C0ORXORQ
  5. 5

    Work through the circuit gate by gate. What is the output Q?

    A1B0C0ORANDQ
  6. 6

    Work through the circuit gate by gate. What is the output Q?

    A0B0C1ORXORQ
  7. 7

    Work through the circuit gate by gate. What is the output Q?

    A1B1C1ANDORQ
  8. 8

    Work through the circuit gate by gate. What is the output Q?

    A0B1C1ANDORQ
  9. 9

    Work through the circuit gate by gate. What is the output Q?

    A1B1C0ANDORQ
  10. 10

    Work through the circuit gate by gate. What is the output Q?

    A0B1C0ANDXORQ
  11. 11

    Work through the circuit gate by gate. What is the output Q?

    A1B1C1ORANDQ
  12. 12

    Work through the circuit gate by gate. What is the output Q?

    A1B1C1ANDXORQ

★ Challenge corner for fast finishers

9 computers each connect directly to every other computer with one cable. How many cables are needed?

How did I do?

Teacher's comments

Free printable worksheets with answer keys · aethelsystems.com/worksheets/computer/12/logic_gates

Answer key (click to show)
  1. 1.1
  2. 2.1
  3. 3.1
  4. 4.0
  5. 5.0
  6. 6.1
  7. 7.1
  8. 8.1
  9. 9.1
  10. 10.0
  11. 11.1
  12. 12.0
  13. ★36 (challenge corner)

Need another Logic Gates worksheet?

Generate unlimited fresh versions at easy, medium or hard difficulty, each with its own answer key. Free during our launch — no card needed.

Create a free account

How to use this worksheet

  • Use it for revision before a test, as homework, or as a timed practice set.
  • Students can self-mark with the answer key and note which question types they got wrong.
  • Generate several versions of the same topic for spaced practice in the weeks before an exam.

Can't find what you need? Tell us which worksheet to make next.

Frequently asked questions

Does this Grade 12 Logic Gates worksheet come with answers?

Yes. The full answer key is on this page, and it prints on its own page after the questions. Every answer is calculated or checked by code rather than written by an AI model, so the key is always correct.

How do I print it or save it as a PDF?

Click "Download PDF" to save a ready-to-print PDF with the answer key on the last page, or click "Print" to send the worksheet and answer key straight to your printer.

Can I get a different Logic Gates worksheet?

Yes. Create a free account to generate as many fresh Grade 12 Logic Gates worksheets as you like, at easy, medium or hard difficulty, each with its own answer key.

Is this worksheet free?

Yes. This worksheet is free to print, and Practice Sheet is free to use during our launch with no card needed.