Question 3(b) 2018 · May-June · Paper 41 · 4 marks
Reveal official mark-scheme answer

Official answer for Question 3
Part (b)
Question 1
mark per bullet
Question 4
Show text version of question
Question 3
Part (b)
Question 3
An internet based music streaming service provides access to an unlimited number of songs for
members to play.
The following pseudocode represents the operation of the service.
CALL OpenAccount() CALL OperateAccount() CALL CloseAccount()
PROCEDURE OperateAccount() WHILE RequestCloseAccount() = FALSE IF SubscriptionDue() = TRUE THEN CALL MakePayment() ELSE CALL PlaySong() ENDIF ENDWHILE ENDPROCEDURE
Part (b)
The service needs extending so that members can download songs to play offline.
- When a member selects a song, the service checks if the song has already been
- If the member has already downloaded the song, the member has the option to delete or
- If the member has not already downloaded the song they have the option to download or
downloaded.
play it.
stream it.
Complete the following JSP structure diagram to represent these new requirements.
Select Song
Question 8
Why this question appears here
72% 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_s18_qp_41.pdf
