Past-paper question · 2013 October-November · Paper 22 · Q3(a)

Question 3(a) 2013 · October-November · Paper 22 · 5 marks

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

Official answer for Question 3

Part (a)

Part (a)

Any five from:

  • prompt
  • space for password entry
  • indication of number of attempts
  • space for successful/unsuccessful message
  • button/similar to cancel process
  • uses space available
[5]

Mark scheme 9691_w13_ms_22.pdf →

Show text version of question

Question 3

Part (a)

Question 3

Aisha wants to write a program that checks the password to her personal computer. The For

program should check each attempt to enter the password correctly and should terminate Examiner's Use after three wrong attempts.

She wants the log-in screen to display:

  • a prompt to enter the password
  • space to enter the password
  • how many attempts have been made
  • if the log-in has been successful or not
  • a means of cancelling the log-in process

Part (a)

Draw a suitable layout for the screen.

Aisha’s log-in screen

[5]

Aisha writes her first try at designing the code in pseudocode. She wants the password to be "Aisha", her name.

1 Attempt ← 0 2 REPEAT 3 INPUT Password

Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Constructs

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

Keep practising this topic