Past-paper question · 2017 October-November · Paper 43 · Q3(c)

Question 3(c) 2017 · October-November · Paper 43 · 6 marks

Original past-paper question for 3(C)
Original past-paper question for 3(C)
Original past-paper question for 3(C)
Original past-paper question for 3(C)
Reveal official mark-scheme answer Official mark-scheme answer for 3(C)

Official answer for Question 3

Part (c)

Question 1

mark per bullet

Question 6

  • might_like(B,A)
  • Person(B)
  • Food(A)
  • AND
  • AND NOT
  • Dislikes predicate
✓
For example:
✓
might_like(B, A).
✓
IF person(B) AND food(A)
✓
AND NOT(dislikes(B, A)).
✓
9608/43
✓
Cambridge International AS/A Level – Mark Scheme
✓
October/November
✓
PUBLISHED
✓
2017
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_w17_ms_43.pdf →

Show text version of question

Question 3

Part (c)

Question 3

A declarative programming language is used to represent the following knowledge base:

01 person(jane). 02 person(ahmed). 03 person(caroline). 04 person(stuart). 05 food(chocolate). 06 food(sushi). 07 food(pizza). 08 food(chilli). 09 likes(jane, pizza). 10 likes(ahmed, chocolate). 11 likes(ahmed, pizza). 12 likes(jane, chilli). 13 likes(stuart, sushi). 14 dislikes(stuart, chocolate). 15 dislikes(jane, sushi). 16 dislikes(caroline, pizza).

These clauses have the following meanings:

Clause Explanation 01 Jane is a person 05 Chocolate is a food 09 Jane likes pizza 14 Stuart dislikes (does not like) chocolate

Part (c)

B might like A, if B is a person, A is a food and B does not dislike A.

Write this as a rule.

might_like(.................................................. , ..................................................)

IF .............................................................................................................................................

...................................................................................................................................................

...............................................................................................................................................[6]

Question 6

Topic relevance

Why this question appears here

71% assigned-topic match · Hardware › Logic gates and logic circuits

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9608_w17_qp_43.pdf

Keep practising this topic