Past-paper question · 2021 May-June · Paper 42 · Q6(a)

Question 6(a) 2021 · May-June · Paper 42 · 4 marks

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

Official answer for Question 6

Part (a)

Question 1

mark for each pair of columns/shaded area.

Question 4

✓
Available username
✓
N
✓
Y
✓
N
✓
Y
✓
N
✓
Y
✓
N
✓
Y
✓
Suitable password
✓
N
✓
N
✓
Y
✓
Y
✓
N
✓
N
✓
Y
✓
Y
✓
Age > 16
✓
N
✓
N
✓
N
✓
N
✓
Y
✓
Y
✓
Y
✓
Y
✓
"Too young"
✓
Y
✓
Y
✓
Y
✓
Y
✓
N
✓
N
✓
N
✓
N
✓
"Choose another username"
✓
N
✓
N
✓
N
✓
N
✓
Y
✓
N
✓
Y
✓
N
✓
"Password does not meet requirements"
✓
N
✓
N
✓
N
✓
N
✓
Y
✓
Y
✓
N
✓
N

Mark scheme 9608_s21_ms_42.pdf →

Show text version of question

Question 6

Part (a)

Question 6

A social networking website only allows people who are over 16 years old to join.

To create an account, the user must enter:

  • their age
  • a unique username, which is compared to others in the database
  • a password that must be at least 8 characters long, with at least one upper case letter, one

lower case letter, one symbol and one digit.

If the user is not old enough to join the network, the statement “Too young” is displayed. If the user is old enough, but the username is already taken, the statement “Choose another username” is displayed. If the user is old enough, but the password does not meet the requirements, the statement “Password does not meet requirements” is displayed.

Part (a)

Complete the decision table for the social networking website.

Available username N Y N Y N Y N Y

Conditions Suitable password N N Y Y N N Y Y

Age > 16 N N N N Y Y Y Y

“Too young”

“Choose another Actions username”

“Password does not meet requirements”

[4]
Topic relevance

Why this question appears here

82% 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 9608_s21_qp_42.pdf

Keep practising this topic