One mark per mark point (Max 4) 4 Allow MP1, MP2 and MP3 in any order.
MP1 device(D)
MP2 customer(A)
MP3 owns(D, A). Accept \+ for NOT operator as Swish
MP4 All logic conditions / punctuation correct (accept , for AND) Prolog.
Example answers
may_buy_device(D, A)
IF device(D) AND customer(A) AND NOT owns(D, A).
may_buy_device(D, A)
IF device(D), customer(A), NOT owns(D, A).
University Press & Assessment 2026 Page 16 of 16
Trace ID: PC-6711E7F15B
Re-uploading, mirroring or re-hosting this file on any other website or domain is unauthorised and traceable.
Licensed for hosting on papacambridge.com only.
PapaCambridge
9618/31 Mark Scheme June · papacambridge.com
2026 | Source: papacambridge.com 9618/31 Mark Scheme June 2026
Downloaded from PapaCambridge - https://papacambridge.com/
Mark points
- Include the ideas shown in the solution above.