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 AInput BInput COutput
0000
0011
0101
011𝑝
1001
101𝑞
110𝑟
111𝑠

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 AInput BOutput
00𝑝
011
101
11𝑞

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.