Question 3(a) 2013 · October-November · Paper 22 · 5 marks
Reveal official mark-scheme answer
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
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
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
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
