Past-paper question · 2018 October-November · Paper 42 · Q1(a)

Question 1(a) 2018 · October-November · Paper 42 · 6 marks

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

Official answer for Question 1

Part (a)

Question 1

ma

✓
ark per bullet point: 6
  • O
✓
OpenAccount, AccountLifet time and Close
✓
eAccount below
✓
w Bank Account Transacti
✓
ions below
✓
A
✓
AccountLifet time
  • «
✓
«with iteration
  • R
✓
Reopen Accou unt? below Close Account
  • F
✓
FlagToReopen n and DeletePe
✓
ermanently beelow ReopenAcccount?
  • «
✓
«with selection on both
✓
Exam
✓
mple:
✓
*
✓
960
✓
08/42 Ca
✓
ambridge Interna
✓
ational AS/A Lev
✓
vel – Mark Scheme Octob
✓
ber/November 2018
✓
PUBLISHED

Mark scheme 9608_w18_ms_42.pdf →

Show text version of question

Question 1

Part (a)

Question 1

A bank provides bank accounts to customers.

The following pseudocode represents the operation of the bank account.

CALL OpenAccount() CALL AccountLifeTime() CALL CloseAccount()

PROCEDURE AccountLifeTime() REPEAT CALL Transactions() UNTIL AccountClosed() = TRUE ENDPROCEDURE

PROCEDURE CloseAccount() IF ReopenAccount() = TRUE THEN CALL FlagToReopen() ELSE CALL DeletePermanently() ENDIF ENDPROCEDURE

Part (a)

Complete the JSP structure diagram for this bank account from the pseudocode given.

Bank account

[6]

Question 3

Topic relevance

Why this question appears here

99% 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_w18_qp_42.pdf

Keep practising this topic