Combining Boolean Operators (Edexcel GCSE Computer Science): Revision Note
Combining Boolean Operators
Boolean operators can be combined to produce more complex expressions
The combination of two or more Boolean operators forms a logic expression
Brackets are used to clarify the order of operations
A logic diagram is a visual representation of combinations of Boolean operators within a logic circuit
An example would be Q = NOT(A OR B)
![logic circuit1](https://cdn.savemyexams.com/cdn-cgi/image/f=auto,width=3840/https://cdn.savemyexams.com/uploads/2023/05/screenshot-2023-05-30-at-08-31-16.png)
In the diagram above, the inputs are represented by A and B
P is the output of the OR gate on the left and becomes the input of the NOT gate
Q is the final output of the logic circuit
This is a logic diagram for the Boolean expression Q = NOT(A OR B)
Examiner Tips and Tricks
You may be asked to draw a logic circuit from a logic statement or a Boolean expression OR write the logical expression that is expressed in the logic diagram
Logic circuits will be limited to a maximum of three inputs and one output
Example of combining Boolean operators
![10-boolean-logic](https://cdn.savemyexams.com/cdn-cgi/image/f=auto,width=3840/https://cdn.savemyexams.com/uploads/2024/03/10-boolean-logic.png)
P = (A OR B) AND NOT C
You've read 0 of your 5 free revision notes this week
Sign up now. It’s free!
Did this page help you?