Past-paper question · 2022 February-March · Paper 04 · Q2(b)

Question 2(b) 2022 · February-March · Paper 04 · 14 marks

Original past-paper question for 2(B)
Original past-paper question for 2(B)
Original past-paper question for 2(B)
Original past-paper question for 2(B)
Reveal official mark-scheme answer

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

Show text version of question

Question 2

Part (b)

Question 2

or 3.

In cells C6 and D6 enter formulae to display whether the player wins or loses the gift. For example: A B C D Box Box with gift KEEP SWAP chosen (1, 2 or 3) chosen box to other box (1, 2 or 3)

Question 5

Question 6

Question 2

Question 2

WIN LOSE

Question 7

Question 1

Question 2

LOSE WIN Replicate cells A6:D6 so there are 1500 simulations.

[7]

Question 5

Part (b)

Edit the Task4a file to add a count of the number of attempts to guess the correct number.

Amend the alerts as follows: • If the guess is wrong, the alert should display Try again • If the guess is correct, the alert should display Well done. You took n tries. [n is the number of attempts.] Save the file in html format as Task4b_ followed by your centre number_candidate number e.g. Task4b_ZZ999_9999

[7]
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_m22_qp_04.pdf

Keep practising this topic