Question 3(a) 2017 · October-November · Paper 43 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 3
Part (a)
Question 1
mark per clause
Question 5
- person(mimi).
- food(lettuce).
- likes(mimi, chocolate).
- dislikes(mimi, sushi).
- dislikes(mimi, lettuce).
Show text version of question
Question 3
Part (a)
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 (a)
Mimi is a person who likes chocolate but does not like sushi or lettuce.
Write additional clauses to represent this information.
17 .............................................................................................................................................
18 .............................................................................................................................................
19 .............................................................................................................................................
20 .............................................................................................................................................
21 .............................................................................................................................................
Question 5
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
