Question 1
4 marksA loan is permitted only if a member is active (M) and either has paid the deposit (P) or has a valid exemption (V). Write a Boolean condition. Give one set of input values showing why (M AND P) OR V would be incorrect, and state both results.
Show solution and marking guidance
Indicative answer
M AND (P OR V)(1 for requiring M, 1 for grouping the two alternatives).- With M = false, P = false, V = true, the intended condition is false (1), whereas
(M AND P) OR Vis true (1). - Accept an equivalent counterexample with M false and V true.