Worksheet: XOR Gates

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

Q1:

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

Input A Input B Input C Output
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 𝑝
1 0 0 1
1 0 1 𝑞
1 1 0 𝑟
1 1 1 𝑠

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?

Q2:

The diagram shows an XOR gate. If input A is 1 and the output is 1, what must input B be?

Q3:

The diagram shows an XOR gate. If input 𝐴 is 0 and input 𝐵 is 0, what will the output be?

Q4:

XOR Gates
Input A Input B Output
0 0 𝑝
0 1 1
1 0 1
1 1 𝑞

The truth table shows the output of an XOR gate for various combinations of inputs.

What is the value of 𝑝 in the table?

What is the value of 𝑞 in the table?

Q5:

Which of the following symbols represents an XOR gate?

  • A
  • B
  • C
  • D

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