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.

Input 0 1
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 A Input B Output
0 0 0
0 1 0
1 0 0
1 1 1
  • 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 A Input B Output
0 0 𝑝
0 1 1
1 0 1
1 1 𝑞

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 A Input B Input C Output
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 𝑝
1 0 0 𝑞
1 0 1 0
1 1 0 𝑟
1 1 1 𝑠

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.