Past-paper question · 2017 May-June · Paper 4 · Q6(a)

Question 6(a) 2017 · May-June · Paper 4 · 16 marks

Original past-paper question for 6(A)
Reveal official mark-scheme answer

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

Mark scheme 9626_s17_ms_4.pdf →

Show text version of question

Question 6

Part (a)

Amelia wants a webpage that customers can use to make an enquiry about a booking. The webpage must meet the following requirements:

  • A check that the forename field is completed
  • A check that the surname field is completed
  • A check that the telephone number field is completed
  • A check that the value entered into the number in party field is between 1 and 10
  • (inclusive)

  • Suitable error messages must appear when the submit button is clicked if any of the

above checks fail.

Using the file Hungry_website.html add a script to meet the requirements for Amelia’s webpage. Programmer comments must be added to annotate each requirement.

Save your website as Hungry_website_Centre number_candidate number

[16]
Topic relevance

Why this question appears here

98% assigned-topic match · Programming for the web

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 9626_s17_qp_4.pdf

Keep practising this topic