9618/23 · May/June 2026 · Worked solutions

Step-by-step solutions based on the mark scheme (not a mark-scheme dump).

Question 1

Part 1(a) — solution

Post-condition(al) loop // post-condition(al) iteration 1

Mark points

  • Include the ideas shown in the solution above.

Part 1(b) — solution

Answer: 5 1

5 1

Mark points

  • Correct result: 5 1

Part 1 — solution

mark per gap University Press & Assessment 2026 Page 9 of 15 Trace ID: PC-966C7C0A77 Re-uploading, mirroring or re-hosting this file on any other website or domain is unauthorised and traceable. Licensed for hosting on papacambridge.com only. PapaCambridge 9618/23 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/23 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/23 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

"LEOPARD" 1 4

Mark points

  • Include the ideas shown in the solution above.

Question 2

Part 2(a) — solution

BOOLEAN 1

Mark points

  • Include the ideas shown in the solution above.

Part 2(b) — solution

  1. IF MainsOn (=TRUE) THEN 1
  2. Accept ‘=’ in place of the assignment arrow

Mark points

  • IF MainsOn (=TRUE) THEN 1
  • Accept ‘=’ in place of the assignment arrow

Part 2(c) — solution

MP1 The robot is only ready to move if… the mains power is on and ….. 2 Reject – MP2 The strength of the (suction) value selected is non-zero Zero for a ‘repeat’ of the pseudocode statement.

Mark points

  • Include the ideas shown in the solution above.

Part 2(d)(i) — solution

breakpoint 1

Mark points

  • Include the ideas shown in the solution above.

Part 2(d)(ii) — solution

38 (minutes) 1

Mark points

  • Include the ideas shown in the solution above.

Part 2 — solution

"DOG" 2 1

Mark points

  • Include the ideas shown in the solution above.

Part 2 — solution

TRUE Max 2 for any additional incorrect entries

Mark points

  • Include the ideas shown in the solution above.

Question 3

Part 3(a) — solution

The initial ANALYSIS stage is carried out by studying in detail the current 4 system. A design for the proposed new system is produced. Following the design and coding stages, it is decided to install the completed new software initially in only two of the shops. BETA testing is carried out. The final stage of the project uses ACCEPTANCE testing to test all programs on the company's hardware. After successful testing, the company approves the new system. The company then installs the new software in all shops. In the first week of its use, unexpected bugs are reported. CORRECTIVE maintenance has to be carried out. University Press & Assessment 2026 Page 6 of 15 Trace ID: PC-966C7C0A77 Re-uploading, mirroring or re-hosting this file on any other website or domain is unauthorised and traceable. Licensed for hosting on papacambridge.com only. PapaCambridge 9618/23 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/23 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/23 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 3(b) — solution

Team A 4 MP1 Rapid Application Development /RAD // Iterative MP2 Large project can be broken down into smaller steps MP3 All stakeholders/users are involved (at all stages) MP4 There is constant discussion between the client (and Team A) MP5 Prioritises the client needs and end-user experience MP6 A prototype is available at an early stage Reject ‘early MP7 More readily allows for requirement changes to be made version’. MP8 Minimal planning is required MP9 Programs/modules can be developed in parallel Max 2 Team B MP10 Waterfall (method/model) MP11 Next stage does not start until the current stage is successfully completed MP12 More predictable for budget MP13 More predictable for timeline/completion MP14 All requirements are identified before coding MP15 Late changes cannot be accommodated Max 2

Mark points

  • Include the ideas shown in the solution above.

Part 3(c) — solution

MP1 Production of flowcharts // structure charts // STDs // Structured 3 English // E-R diagrams MP2 Consider data storage (hardware / database / files) MP3 Design inputs screens // Design screen outputs // reports to be produced MP4 Select (Programming) language to be used MP5 Produce pseudocode algorithms / data structures / Reject procedures/functions/modules are produced / Identifier table ‘program MP6 Produce a testing strategy statement // (detailed) test plan structure’. MP7 Consider – is there relevant code available from program libraries? Max 3 University Press & Assessment 2026 Page 7 of 15 Trace ID: PC-966C7C0A77 Re-uploading, mirroring or re-hosting this file on any other website or domain is unauthorised and traceable. Licensed for hosting on papacambridge.com only. PapaCambridge 9618/23 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/23 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/23 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 3 — solution

"BISON" 3 2

Mark points

  • Include the ideas shown in the solution above.

Question 4

Part 4 — solution

  1. Initialise count to zero
  2. REPEAT
  3. Input next number
  4. If number > 120 then increment the count
  5. Until number = -1
  6. Output the count

Mark points

  • Initialise count to zero
  • REPEAT
  • Input next number
  • If number > 120 then increment the count
  • Until number = -1
  • Output the count

Part 4 — solution

"ZEBRA" 4 0

Mark points

  • Include the ideas shown in the solution above.

Part 4 — solution

variables correct – 2 marks University Press & Assessment 2026 Page 14 of 15 Trace ID: PC-966C7C0A77 Re-uploading, mirroring or re-hosting this file on any other website or domain is unauthorised and traceable. Licensed for hosting on papacambridge.com only. PapaCambridge 9618/23 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/23 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/23 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Question 5

Part 5(a) — solution

FUNCTION InterviewSummary(ThisApplicant : STRING) 4 RETURNS STRING DECLARE Summary : STRING Summary  MID(ThisApplicant, 8, MP2 LENGTH(ThisApplicant)- 7) MP3 Or: Summary RIGHT(ThisApplicant, LENGTH(ThisApplicant) – 7) MP2 MP3 RETURN Summary ENDFUNCTION Mark as follows: MP1 Function identifier and function ending and parameter MP2 Calculation for summary expression (part 1) – using MID or RIGHT Do not accept a MP3 Calculation for summary expression (part 2) – using LENGTH final MP4 Return of the calculated STRING value (earlier declaration optional) missing and RETURNS STRING in the header – close bracket (for the MID or RIGHT function). University Press & Assessment 2026 Page 8 of 15 Trace ID: PC-966C7C0A77 Re-uploading, mirroring or re-hosting this file on any other website or domain is unauthorised and traceable. Licensed for hosting on papacambridge.com only. PapaCambridge 9618/23 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/23 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/23 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 5(b) — solution

Answer: AND ThisInitial = Initial THEN

  1. IF ThisSurname = ShortSurname
  2. AND ThisInitial = Initial THEN
  3. UNTIL Found = TRUE OR EOF("JobApps.txt")
  4. IF Found = FALSE THEN

Mark points

  • IF ThisSurname = ShortSurname
  • AND ThisInitial = Initial THEN
  • UNTIL Found = TRUE OR EOF("JobApps.txt")
  • IF Found = FALSE THEN

Part 5 — solution

"ANT" 5 3

Mark points

  • Include the ideas shown in the solution above.

Part 5 — solution

Answer: 6 6

6 6

Mark points

  • Correct result: 6 6

Question 6

Part 6(a) — solution

MP1 5 3 Data Pointer

Mark points

  • Include the ideas shown in the solution above.

Part 6(b) — solution

The end of ‘(linked) list’ 1

Mark points

  • Include the ideas shown in the solution above.

Part 6(c)(i) — solution

Answer: 1

1 Mark as follows: Start is 5 and other pointer values are correct and BISON pointer is changed to 1 and arrows are as shown and DOG is ‘isolated’

Mark points

  • Correct result: 1

Part 6(c)(ii) — solution

MP1 The item is not in the list 2 MP2 The data item is the only item in the list MP3 The item is the first in the list University Press & Assessment 2026 Page 10 of 15 Trace ID: PC-966C7C0A77 Re-uploading, mirroring or re-hosting this file on any other website or domain is unauthorised and traceable. Licensed for hosting on papacambridge.com only. PapaCambridge 9618/23 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/23 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/23 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 6(d) — solution

MP1 Store ‘BAT’ at the next available location /with index 6 / in the Data 6 array MP2 Visit the start pointer node MP3 Compare this data value with ‘BAT’ //compare ‘BAT’ with ‘ANT’ MP4 When ‘BAT’ is less than the current value - ‘position is found’ MP5 IF not, move to next node // move to ‘BISON’ MP6 ….. and store the previous position MP7 Repeat until ‘BAT’ less that current value MP8 Link pointer of the previous node // ’ANT’ points/connects to ‘BAT’ MP9 Link pointer of ‘BAT’ points to the current node / 3 // ’BAT’ points/connects to ‘BISON’ Max 6 Guidance

Mark points

  • Include the ideas shown in the solution above.

Question 7

Part 7(a)(i) — solution

Answer: 4

4 Data Num1 Index i 1 2 3 4 5 6

Mark points

  • Correct result: 4

Part 7(a)(ii) — solution

Factors / the divisors of Num1/12 // all the numbers which divide exactly into 1 Num1 University Press & Assessment 2026 Page 11 of 15 Trace ID: PC-966C7C0A77 Re-uploading, mirroring or re-hosting this file on any other website or domain is unauthorised and traceable. Licensed for hosting on papacambridge.com only. PapaCambridge 9618/23 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/23 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/23 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 7(b)(i) — solution

Answer: 3

3 Num Num2 Index Match 1 2 3 4 5 6

Mark points

  • Correct result: 3

Part 7(b)(ii) — solution

Highest common factor // Greatest common divisor of Num1 and Num2 1 // by good explanation i.e. 4 is the highest number that divides exactly into both 8 and 20 Guidance

Mark points

  • Include the ideas shown in the solution above.

Question 8

Part 8(a)(i) — solution

DECLARE Bins : ARRAY [0:2, 1:120] OF BOOLEAN 2 Do not accept MP1 MP2 variations of syntax. University Press & Assessment 2026 Page 12 of 15 Trace ID: PC-966C7C0A77 Re-uploading, mirroring or re-hosting this file on any other website or domain is unauthorised and traceable. Licensed for hosting on papacambridge.com only. PapaCambridge 9618/23 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/23 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/23 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 8(a)(ii) — solution

  1. IF Level = 0 THEN
  2. IF Bins[Level, BinNo] = FALSE THEN

Mark points

  • IF Level = 0 THEN
  • IF Bins[Level, BinNo] = FALSE THEN

Part 8(a)(iii) — solution

Bins[0, 3]  FALSE 3 Bins[1, 2]  TRUE Bins[2, 1]  FALSE Bins[2, 2]  FALSE Bins[2, 3]  TRUE Bins[2, 4]  TRUE Bins[2, 5]  FALSE Mark as follows: MP1 Bins(0, 3)  FALSE MP2 Bins(1, 2)  TRUE MP3 Level 2 assignment all complete

Mark points

  • Include the ideas shown in the solution above.

Part 8(b)(i) — solution

Example solution: 2 TYPE BinData DECLARE Size : STRING DECLARE Active : BOOLEAN DECLARE StockCode : STRING DECLARE StockLevel : INTEGER ENDTYPE Mark as follows: Two variables correct – 1 Mark

Mark points

  • Include the ideas shown in the solution above.

Part 8(b)(ii) — solution

Answer: AND Bins[Level, BinNo].Active = FALSE THEN

  1. IF Bins[Level, BinNo].Size = MySize
  2. AND Bins[Level, BinNo].Active = FALSE THEN
  3. UNTIL BinNo = 121
  4. UNTIL Level = 3

Mark points

  • IF Bins[Level, BinNo].Size = MySize
  • AND Bins[Level, BinNo].Active = FALSE THEN
  • UNTIL BinNo = 121
  • UNTIL Level = 3

Question 20

Part 20 — solution

Answer: 20

20 MP2 Correct Data array values MP3 Correct pointers

Mark points

  • Correct result: 20

Part 20 — solution

8 2 4 5 10

Mark points

  • Include the ideas shown in the solution above.