Past-paper question · 2008 October-November · Paper 3 · Q10

Question 10 2008 · October-November · Paper 3 · 6 marks

Original past-paper question for 10
Reveal official mark-scheme answer Official mark-scheme answer for 10

Official answer for Question 10

(i)

– Lower case letters are not defined

[1]

(ii)

e.g.

✓
< TERMINATOR >
✓
: : = .│?
✓
< SPACE >
✓
: : = ^
✓
< GROUP >
✓
: : = < WORD > < SPACE >
✓
< SET >
✓
: : = < GROUP > < WORD > │ < GROUP > < SET >
✓
< SENTENCE >
✓
: : = < SET > < TERMINATOR >
✓
Mark Points:
  • Define Terminator
  • Define Space
  • Define Group
  • Define Set
  • Define Sentence
✓
(1 per –, max 5)
[5]

Mark scheme 9691_w08_ms_3.pdf →

Show text version of question

Question 10

The following rules define <WORD> in a piece of text. <LETTER> :: = A│B│C│D│E│F│G│H│I│J│K│L│M│N│O│P│Q│R│S│T│U│V│W│X│Y│Z <WORD> :: = <LETTER>│<LETTER><WORD>

(i)

State why

Hello is not a word.

[1]

(ii)

<SENTENCE> is a set of words ending with a full stop (.) or a question mark (?)

Define <SENTENCE>.

(There is no need to rewrite the rules for <LETTER> and <WORD>).

[5]

reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwittingly been included, the publisher will be pleased to make amends at the earliest possible opportunity.

University of Cambridge International Examinations is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of University of Cambridge Local Examinations Syndicate (UCLES), which is itself a department of the University of Cambridge.

Topic relevance

Why this question appears here

82% 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 9691_w08_qp_3.pdf

Keep practising this topic