Boolean Expressions
Boolean Expressions
Let:
B be a Boolean value for if a user enters a password that matches their username
C be a Boolean value for if a user is able to respond to an email containing a secret code
D be a Boolean value for if a user is able to respond to a text message containing a secret code
Q≡
(i) Simplify this Boolean expression so that it does not include any negation. You must explain which Boolean
algebra rule(s) you are using at each step.
[2]
The logic circuit above has two inputs (A, B) and two outputs (S, C).
S≡
C≡
[2]
A B S C
0 0
0 1
1 0
1 1
(iii) Describe how this logic circuit can be adapted to add together two 4-bit binary numbers.
(i) ¬ ¬A
[1]
[1]
[1]
Let:
A be Customer is under 18
C be Customer is over 60
D be Customer has ID
Q≡ [3]
4
Draw a logic gate diagram to represent the Boolean expression
Q≡¬A⋁B
[2]
1 a Q≡A∧B 3 AO1.2 Q ≡ A ∧ B ∧ (C ∨ D)
∧
(C ∨ D) Accept alternative symbols for AND / OR
e.g. Q = A AND B AND (C OR D)
Brackets must be included for 3rd point
Allow XOR for bullet point 3
Any additional symbols max 2 marks
Total 13
2 i A 1
ii ¬(A∨ B) 1
iii A∨B 1
Total 3
1 mark for the ∨ joining the two parts. Accept AB as (A.B) and CD as (C.D)
Examiner’s Comments
In general, most candidates achieved all of
the available marks in these questions.
Total 3
4 2 (AO1.2)
Examiner’s Comments
Total 2