Question 4 2020 · October-November · Paper 04 · 20 marks
Reveal official mark-scheme answer
The answer for this question is in the official mark scheme.
Show text version of question
Question 4
Open the CommCalc.html file in a browser.
You are required to complete this page to display the commission to be charged when data is entered and the Display Commission button is clicked.
Users must be able to change the values in the Sale price boundaries input boxes and the Artwork Price input box and recalculate the commission.
Open the file in a text editor.
Insert JavaScript code to calculate the commission.
The value of the commission must be displayed in an appropriate place on the page using the text:
Commission for a sale of £ArtPrice value will be £commission value
Example:
Add programmer’s comments to your code to explain key stages.
Question 6
Question 7
Question 8
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.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download at www.cambridgeinternational.org after the live examination series.
Cambridge Assessment International Education is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of the University of Cambridge Local Examinations Syndicate (UCLES), which itself is a department of the University of Cambridge.
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_w20_qp_04.pdf
