Worksheet: Combinations of Logic Gates

In this worksheet, we will practice determining the output of logic circuits that consist of combinations of different types of logic gates.

Q1:

The diagram shows a logic circuit consisting of multiple logic gates. All of the logic gates are AND gates.

How many different possible combinations of inputs are there for this circuit?

How many of the possible combinations of inputs to this circuit produce an output of 0?

How many of the possible combinations of inputs to this circuit produce an output of 1?

Q2:

The diagram shows a logic circuit consisting of multiple logic gates. The table shows the output for some of the different possible combinations of inputs.

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

Q3:

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

The diagram shows a logic circuit consisting of multiple logic gates. The table shows the output for some of the different possible combinations of 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?

Q4:

The diagram shows a logic circuit consisting of multiple logic gates.

How many different possible combinations of inputs are there for this circuit?

How many of the possible combinations of inputs to this circuit produce an output of 0?

How many of the possible combinations of inputs to this circuit produce an output of 1?

Q5:

The diagram shows a logic circuit consisting of multiple logic gates. The table shows the output for some of the different possible combinations of inputs.

Input 𝐴 Input 𝐵 Input 𝐶 Input 𝐷 Output
0 0 0 0 𝑝
0 0 1 1 𝑞
0 1 0 0 1
0 1 1 1 𝑟
1 0 0 0 1
1 0 1 1 𝑠
1 1 0 0 1
1 1 1 1 0

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.