Past-paper question · 2017 February-March · Paper 32 · Q9(d)

Question 9(d) 2017 · February-March · Paper 32 · 4 marks

Original past-paper question for 9(D)
Original past-paper question for 9(D)
Original past-paper question for 9(D)
Reveal official mark-scheme answer Official mark-scheme answer for 9(D)

Official answer for Question 9

Part (d)

✓
Suitable code would be:

Question 4

✓
for (b = 0; b <= 3; b++) {
✓
document.write (city (b));
✓
}
✓
Marks, four from:
✓
for ()
✓
1 mark
✓
suitable var names
✓
1 mark
✓
count from to 0 to 2 (b from 0 to <=3)
✓
1 mark
✓
adding 1 inside loop (b++)
✓
1 mark
✓
displaying the result of loop
✓
1 mark
✓
Question
✓
Answer
✓
Marks

Question 10

(i)

✓
Three from:

Question 3

✓
Interview face-to-face with managers asking about their
✓
views/opinions of the current system
✓
Managers can be available for in depth discussion/additional
✓
questions

Question 10

(ii)

✓
Three from:

Question 3

✓
Observation of the assembly workers to avoid disturbing/
✓
distracting them at/from their work
✓
Observers can see the process first hand/for themselves
✓
Observers do not need to understand the technical language of
✓
the process

Question 10

(iii)

✓
Three from:

Question 3

✓
Using questionnaires so that clerical staff can take them away
✓
and complete in own time
✓
Questionnaires can be anonymously returned/completed
✓
Cannot use observation as the clerical staff behaviour could
✓
change
✓
Too many clerical staff to interview
✓
Clerical staff can remain anonymous
✓
Total:

Question 90

Mark scheme 9626_m17_ms_32.pdf →

Show text version of question

Question 9

Part (d)

Question 9

JavaScript can be embedded in the code of web pages to add interactivity to a page.

Jonas uses JavaScript code to store, list and display the names of cities on a web page.

Part (d)

Write a loop in JavaScript code to extract and display the first three city names.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...............................................................................................................................................[4]

Question 14

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

Keep practising this topic