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

Question 6(b) 2021 · May-June · Paper 42 · 3 marks

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

Official answer for Question 6

Part (b)

Question 1

mark for each column

Question 3

✓
Available username
✓
–
✓
N
✓
–
✓
Suitable password
✓
–
✓
–
✓
N
✓
Age > 16
✓
N
✓
Y
✓
Y
✓
"Too young"
✓
Y
✓
N
✓
N
✓
"Choose another username"
✓
N
✓
Y
✓
N
✓
"Password does not meet requirements"
✓
N
✓
N
✓
Y
✓
9608/42
✓
Cambridge International AS & A Level – Mark Scheme
✓
May/June 2021
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_s21_ms_42.pdf →

Show text version of question

Question 6

Part (b)

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 (b)

Simplify the decision table by removing the redundancies.

Available username

Conditions Suitable password

Age > 16

“Too young”

“Choose another Actions username”

“Password does not meet requirements”

[3]

Question 17

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