0% found this document useful (0 votes)
13 views

boolean-logic

The document contains exam questions for GCSE AQA Computer Science focusing on Boolean logic, including truth tables, logic gates, and circuit design. It is structured into easy and medium questions, with a total of 10 questions worth 27 marks. The questions require students to complete truth tables, identify logic gates, and create Boolean expressions based on given scenarios.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

boolean-logic

The document contains exam questions for GCSE AQA Computer Science focusing on Boolean logic, including truth tables, logic gates, and circuit design. It is structured into easy and medium questions, with a total of 10 questions worth 27 marks. The questions require students to complete truth tables, identify logic gates, and create Boolean expressions based on given scenarios.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

GCSE AQA Computer Science 27 mins 10 questions

Exam Questions

Boolean Logic
Boolean Logic Diagrams / Combining Boolean Operators / Truth Tables

Scan here to return to the course


or visit savemyexams.com
Easy (5 questions) /10

Medium (5 questions) /17

Total Marks /27

© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 1
Easy Questions
1 Complete the truth table for the AND logic gate.

A B A AND B

0 0

0 1

1 0

1 1

(1 mark)

© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 2
2 (a) Complete the truth table for the XOR logic gate.

A B A XOR B

0 0

0 1

1 0

1 1

(1 mark)

(b) Figure 3 shows a logic circuit.

State the type of logic gate labelled G1 in Figure 3.

(1 mark)

3 A game uses three sensors.

A red light (R) in the game switches on if all of the following conditions are true:

sensor D is off

© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 3
sensor L is on

sensor W is on.

Complete the logic circuit for this game.

You must use the correct symbols for the logic gates.

(3 marks)

© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 4
4 (a) Draw the logic circuit, using only one logic gate, that is represented by the following
truth table:

Input A Input B Output Q

0 0 0

0 1 1

1 0 1

1 1 1

(1 mark)

(b) Identify once choice to show the Boolean expression that is equivalent to the logic
circuit shown in Figure 6.

© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 5
Figure 6

A. A AND NOT B
B. NOT (A AND B)
C. (NOT A) AND B
D. (NOT A) AND (NOT B)
(1 mark)

(c) Identify one choice to show the Boolean expression which is equivalent to the logic
circuit shown in Figure 7.

Figure 7

A. NOT ((A OR B) AND C)


B. (NOT A) OR ((NOT B) AND C)
C. (NOT (A OR B)) AND C

© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 6
D. ((NOT A) OR (NOT B)) AND C
(1 mark)

5 State the type of logic gate shown in Figure 3.

Figure 3

(1 mark)

© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 7
Medium Questions
1 A logic circuit is being developed for an audio advert in a shop that plays automatically if
a customer is detected nearby.

The system has two sensors, A1 and A2, that detect if a customer is near. The audio
plays if either of these sensors is activated.

The system should only play if another audio system, S, is not playing.

The output from the circuit, for whether the advert should play or not, is Q.

Complete the logic circuit for this system.

(3 marks)

2 Write a Boolean expression to show how the output D is calculated from the inputs A,
B and C in Figure 3.

© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 8
You must use the correct symbols for the Boolean operators in your expression.

(2 marks)

© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 9
3 (a) A game uses three sensors.

A red light (R) in the game switches on if all of the following conditions are true:

sensor D is off

sensor L is on

sensor W is on

Another circuit in the game will output True if any two sensors are activated or if all three
sensors are activated. This has been represented as the Boolean expression:

(W . D) + (D . L) . (W . L)

The expression contains an error.

Identify one choice that shows the expression with the error corrected.

A. (W . D) . (D . L) . (W . L)
B. W . D
( ) . ( D.L ) + ( W.L )

C. (W . D) + (D . L) + (W . L)
⎯⎯⎯⎯
D. W . D
( ) + ( D +L .) ( W.L )

(1 mark)

(b) A green light (G) in the game switches on if all of the following conditions are true:

sensor D is off

sensor L is off

sensor W is on.

Write a Boolean expression for this logic circuit.

You must use Boolean expression operators in your answer.

© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 10
(3 marks)

4 Draw a logic circuit for the following scenario.

A sewing machine is running (R) if either the foot pedal is on (F) or the hand dial is on (H)
but not both.

You should use only the gates AND, OR and NOT in your answer.

(3 marks)

© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 11
5 (a) A farmer uses an automated system to indicate if soil conditions are right for planting.

The conditions are right for planting if the soil is:

warm

wet

the correct acidity.

Figure 2 shows the logic circuit for this system

Figure 2

The inputs to the system are:

Soil temperature (T):


0 if the soil is cold
1 if the soil is warm.

Soil moisture (M):


0 if the soil is dry
1 if the soil is wet.

Soil acidity (A):


0 if the soil is the correct acidity
1 if the soil acidity needs adjusting.

© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 12
The output (P) is:
0 if the conditions for planting have not been met
1 if the conditions for planting have been met.

Complete the truth table for the circuit in Figure 2.

T M A X Y P

0 0 0

0 0 1

0 1 0

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1

(3 marks)

© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 13
(b) The farmer wants to modify the system so that it will indicate that the soil conditions are
right for planting if at least one of the three conditions has been met.

Describe changes that could be made to the logic circuit in Figure 2 to allow this to
happen.

(2 marks)

© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 14

You might also like