Past-paper question · 2010 May-June · Paper 31 · Q10(c)

Question 10(c) 2010 · May-June · Paper 31 · 4 marks

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

The answer for this question is in the official mark scheme.

Show text version of question

Question 10

Part (c)

Question 10

An INTEGER is defined in a certain language by the following BNF rules:

<INTEGER>::=<NZDIGIT><NUMBER>│<NZDIGIT> <NUMBER>::=<DIGIT>│<DIGIT><NUMBER> <NZDIGIT>::=1│2│3│4│5│6│7│8│9 <DIGIT>::=0│<NZDIGIT>

Part (c)

Draw a syntax diagram of REAL. You may use NZDIGIT, DIGIT, POINT and ZERO in your

diagram but no other values.

[4]

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

71% assigned-topic match · Data types and structures › Data types and records

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_s10_qp_31.pdf

Keep practising this topic