Question 3 2019 · October-November · Paper 23 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 3
Question 5
Show text version of question
Question 3
Three program modules process updating of passwords in a file. A description of the relationship between the modules is summarised as follows:
Module name Description
GetPassword()
- Takes two parameters: AccountID and OldPassword
- Returns a string containing the new password
- Takes two parameters: AccountID and NewPassword
UpdateFile() • Returns a Boolean value to indicate whether or not the update was successful
ChangePassword()
- Calls GetPassword() to obtain the new password then
calls UpdateFile() to write the new password to the file
Draw a structure chart to show the relationship between the three modules and the parameters passed between them.
Question 8
Why this question appears here
82% assigned-topic match · Hardware › Logic gates and logic circuits
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_w19_qp_23.pdf
