Worksheet: NAND Gates

In this worksheet, we will practice determining the input and output of NAND gates in logic circuits and completing truth tables for NAND gates.

Q1:

The diagram shows two NAND gates, where the output of the first NAND gate is one of the inputs to the second. If input A is 1, input B is 0, and input C is 1, what is the output?

Q2:

The diagram shows a NAND gate where a single signal from the circuit is used for both inputs of the NAND gate. The truth table shows the different possible inputs of this arrangement.

Input01
Output𝑝𝑞

What is the value of 𝑝 in the table?

What is the value of 𝑞 in the table?

What type of logic gate is this arrangement equivalent to?

  • AAn XOR gate
  • BA NOT gate
  • CA NOR gate
  • DAn AND gate
  • EAn OR gate

Q3:

The diagram shows a NAND gate. If input A is 1 and input B is 1, what will the output be?

Q4:

Which of the following symbols represents a NAND gate?

  • A
  • B
  • C
  • D

Q5:

The diagram shows a NAND gate. If input A is 1 and the output is 1, what is input B?

Q6:

The diagram shows 2 NAND gates connected as part of a logic circuit. The table shows the output for the different possible combinations of inputs.

What type of logic gate is this arrangement equivalent to?

Input AInput BOutput
000
010
100
111
  • AA NOT gate
  • BAn AND gate
  • CAn XOR gate
  • DA NOR gate
  • EAn OR gate

Q7:

Which of the following pairs of logic gates produces the same output as a NAND gate?

  • A
  • B
  • C
  • D

Q8:

NAND Gate
Input AInput BOutput
00𝑝
011
101
11𝑞

The truth table shows the output of a NAND gate for various combinations of inputs.

What is the value of 𝑝 in the table?

What is the value of 𝑞 in the table?

Q9:

Input AInput BInput COutput
0001
0011
0101
011𝑝
100𝑞
1010
110𝑟
111𝑠

The diagram shows two NAND gates connected as part of a logic circuit. The truth table shows the output for the various combinations of the inputs.

What is the value of 𝑝 in the table?

What is the value of 𝑞 in the table?

What is the value of 𝑟 in the table?

What is the value of 𝑠 in the table?

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.