AQA A-Level Computer Science 7517
Fundamentals of Programming
Fundamentals of Data Structures
Fundamentals of Algorithms
Theory of Computation
Fundamentals of Data Representation
Fundamentals of Computer Systems
Fundamentals of Computer Organisation and Architecture
Fundamentals of Communication and Networking
Consequences of Uses of Computing
Systematic Approach to Problem Solving
Fundamentals of Databases
Big Data
Fundamentals of Computer Systems
Boolean algebra
- 3 things to know
- Paper 2
Overview
Recall questions on the identities and the commutative, associative, distributive and absorption laws, De Morgan's laws, and simplifying an expression step by step.
What you need to know
Answer each one before you reveal it.
Verify De Morgan's law NOT (A OR B) = NOT A AND NOT B with a truth table.
Simplify NOT (A.(NOT B)) using De Morgan's law.
Questions from this subtopic
Each one with the model answer underneath.
- 1
What is Boolean algebra used for in computing?
Model answer
It is the algebra of the two values 0 and 1, with the operations AND, OR and NOT. It is used to write down what a logic circuit does as an expression, and then to manipulate that expression into an equivalent but simpler one. A simpler expression means a circuit with fewer gates, which is cheaper to make, uses less power, takes up less space on a chip and is faster because a signal passes through fewer gates.
- 2
State the notation used for AND, OR and NOT in Boolean algebra.
Model answer
AND is written as a dot, A.B, or by simply writing the letters together, AB, and behaves like multiplication. OR is written as a plus sign, A + B, and behaves like addition. NOT is written as a bar over the variable, or as a prime, or in words as NOT A. Brackets work exactly as they do in ordinary algebra, and AND binds more tightly than OR, so A.B + C means (A.B) + C.
- 3
State the Boolean identities involving 0 and 1.
Model answer
For OR: A + 0 = A, and A + 1 = 1. For AND: A.0 = 0, and A.1 = A. In words, ORing with 0 and ANDing with 1 leave a value unchanged, while ORing with 1 forces the result to 1 and ANDing with 0 forces it to 0.
- 4
State the idempotence, complement and double negation laws.
Model answer
Idempotence: A + A = A and A.A = A, so repeating a term gains nothing. Complement: A + NOT A = 1, because one of them must be true, and A.NOT A = 0, because they cannot both be true. Double negation: NOT (NOT A) = A.
- 5
State the commutative, associative and distributive laws of Boolean algebra.
Model answer
Commutative: A + B = B + A and A.B = B.A, so the order of the two operands does not matter. Associative: (A + B) + C = A + (B + C) and (A.B).C = A.(B.C), so the grouping of three terms joined by the same operator does not matter. Distributive: A.(B + C) = A.B + A.C, exactly as in ordinary algebra, and also A + B.C = (A + B).(A + C), which has no ordinary-algebra equivalent and is easy to forget.
- 6
State the absorption laws and explain why they hold.
Model answer
A + A.B = A and A.(A + B) = A. For the first: if A is 1 the whole expression is 1 whatever B is, and if A is 0 then A.B is also 0 so the expression is 0. Either way the result is just A, and B is irrelevant. The second is the dual and follows the same argument.
Other ways to work this
The same content, four other ways.
What is inside Levo
Six ways to work the same material.
Every question in Fundamentals of Computer Systems, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.