9618/22 · May/June 2026 · Worked solutions

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

Question 1

Part 1(a)(i) — solution

STRING 1

Mark points

  • Include the ideas shown in the solution above.

Part 1(a)(ii) — solution

  1. IF LENGTH(Pass) < 6 OR LENGTH(Pass) > 8 / >= 9 2

Mark points

  • IF LENGTH(Pass) < 6 OR LENGTH(Pass) > 8 / >= 9 2

Part 1(a)(iii) — solution

Mark as follows: 7

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

mark for both variables being set to TRUE

Mark points

  • Include the ideas shown in the solution above.

Part 1(b)(i) — solution

One mark per state 2 Example answers:

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

Sensor activated (mode) / / Intruder/movement detected (mode) // Alert Mode

Mark points

  • Include the ideas shown in the solution above.

Part 1(b)(ii) — solution

One mark per event 3 Do not accept repeating Example answers: examples in stem.

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

Movement / pressure (detected) Reject Turning

Mark points

  • Include the ideas shown in the solution above.

Part 1(c) — solution

Example Solution 3 Do not accept once if lower-case letters or rule being example of test reason for invalid test characters that are tested data data not letters or digits rule 1 1A password is too short used. rule 1 PHRASE345678 Password too long rule 2 ABCDEF Does not contain a digit rule 2 1234567 Does not contain a letter rule 3 PASSWRD2 letters are repeated rule 3 ABCDEF11 Digits / Numbers are repeated rule 3 AAA111 Both digits and letters are repeated Accept Characters repeated Mark as follows: Rule 1 test:

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

mark for one example of test data for rule 1 and appropriate reason Test data A string of more than 8 characters that contains both letters and digits. Reject if test data breaks Rule 2 The letters must be upper case or/and Rule 3 Each character only occurs once Reason Password is too long University Press & Assessment 2026 Page 8 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 1(c) — solution

Rule 2 test (1 mark):

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

mark for two examples of test data that only breaks rule 2 and appropriate reasons. Test data A string between 6 and 8 characters long Reject if letters that contains no digits repeated Reason Does not contain a digit Test data A string between 6 and 8 characters long that contains no letters Reason Does not contain a letter Reject if digits repeated Rule 3:

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

mark for two examples of test data for rule 3 and appropriate Reject characters reasons repeated Test data A string between 6 and 8 characters long where only digits are repeated Reason Digits are repeated Test data A string between 6 and 8 characters long where both characters and digits are Reject if letters repeated repeated Reject if no letters Reason Both digits and letters are repeated

Mark points

  • Include the ideas shown in the solution above.

Part 1(d) — solution

One mark per example 3 Example answers:

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

Structure chart // Problem / Program broken into modules // Reject Modular Diagram ‘Decomposition’ by itself

Mark points

  • Include the ideas shown in the solution above.

Part 1(e) — solution

One mark per stage 2

Mark points

  • Include the ideas shown in the solution above.

Part 1(f)(i) — solution

Integration 1

Mark points

  • Include the ideas shown in the solution above.

Part 1(f)(ii) — solution

One mark for the name, one for the description 3 Method: Stub (testing) Description:

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

A simple / dummy module is written to replace the module Do not mark (that is not working) description if

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

Tool ID // Tool name // Type of tool given

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

Input customer details / customer ID / payment details / Tool ID

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

1 mark for back stack as shown and TOS position as shown on both stacks

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

1 Each queue element contains one data item

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

1 Each node / item contains data and a pointer (to the next Reject use of 2 node/item) arrays

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

mark: (The swap made inside) the procedure does not change the arguments used /parameters (passed) / the values stored in the Numbers elements passed // The procedure does not swap / change the values stored in the array University Press & Assessment 2026 Page 14 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

mark: just the procedure header as above University Press & Assessment 2026 Page 15 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

Function heading, return type and ending

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

Function heading, return type and ending

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

  1. [1 : 5, 1 : 5]
  2. [0 : 4, 0 : 4]

Mark points

  • [1 : 5, 1 : 5]
  • [0 : 4, 0 : 4]

Part 1 — solution

mark for all other parts of declaration Reject CHARACTER instead of CHAR Reject STRING instead of CHAR Must be as exactly as above but accept use of lowercase University Press & Assessment 2026 Page 18 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

Generate Index, 1 to 25, used to extract all characters from Plaintext

Mark points

  • Include the ideas shown in the solution above.

Question 2

Part 2 — solution

Alarm sounding // Light flashing (mode) // Alarm activated

Mark points

  • Include the ideas shown in the solution above.

Part 2 — solution

Window opened / broken (detected) system on. Reject

Mark points

  • Include the ideas shown in the solution above.

Part 2 — solution

Flowchart Reject Module

Mark points

  • Include the ideas shown in the solution above.

Part 2 — solution

Coding // Implementation NE Development / Programming

Mark points

  • Include the ideas shown in the solution above.

Part 2 — solution

The simple / dummy module will return an expected value / method incorrect will output a message (to show the module has been called) Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 2(a) — solution

  1. To filter out information / data that is not necessary for the
  2. To keep only information / data that is necessary for the

Mark points

  • To filter out information / data that is not necessary for the
  • To keep only information / data that is necessary for the

Part 2(b) — solution

One mark for each TWO data items 2 Reject Quantity Reject Return date Example answers if Hire date already

Mark points

  • Include the ideas shown in the solution above.

Part 2 — solution

Customer ID // Customer name // Customer address // MP 2 Reject just Account reference ‘Customer’

Mark points

  • Include the ideas shown in the solution above.

Part 2(c) — solution

One mark for each process. 2 Examples include:

Mark points

  • Include the ideas shown in the solution above.

Part 2 — solution

Search for required tool // Checking if tool returned // Checking if tool available // Searching for dates when tool is available

Mark points

  • Include the ideas shown in the solution above.

Part 2 — solution

1 mark for forward stack as shown and current web address Group 2

Mark points

  • Include the ideas shown in the solution above.

Part 2 — solution

A front/start pointer and a rear/end pointer

Mark points

  • Include the ideas shown in the solution above.

Part 2 — solution

marks for inner loop that just repeat the algorithm MP 1: The inner loop iterates one less time (in algorithm B) each time the outer / repeat loop iterates. Reject program stops rather than MP 2: this is because for each iteration of the outer / repeat iteration ends or loop (in algorithm B) the last / one more element in the algorithm ends Numbers array will be in the correct place.

Mark points

  • Include the ideas shown in the solution above.

Part 2 — solution

marks for outer loop MP 3: The outer / repeat loop (in algorithm B) would stop iterating if no swaps are made / all numbers in array are sorted MP 4: so not as many iterations would be needed (if the Numbers array is not initially sorted)

Mark points

  • Include the ideas shown in the solution above.

Part 2 — solution

Prompt for and input of plaintext MP 4 Must be a

Mark points

  • Include the ideas shown in the solution above.

Question 3

Part 3 — solution

Error mode // Power loss detected (mode) // Battery too low mode

Mark points

  • Include the ideas shown in the solution above.

Part 3 — solution

Door open (detected) reference to

Mark points

  • Include the ideas shown in the solution above.

Part 3 — solution

Data Flow Diagram Overview by itself

Mark points

  • Include the ideas shown in the solution above.

Part 3 — solution

Maintenance Max 2 marks

Mark points

  • Include the ideas shown in the solution above.

Part 3 — solution

Record tool booking // Amend Tool booking // Create tool booking // Record when tool returned // Confirm booking

Mark points

  • Include the ideas shown in the solution above.

Part 3 — solution

Example solution 6 MP 1 cannot be in a loop structure Mark points: MP 1 (Step 4) Open WordList.txt / File in read mode (and Do not accept subsequently close) once if MP 2, 3, 4 MP 2 (Step 5) Read the next line from the file is clearly not in a in a loop loop MP 3 (Step 6) Increment line counter Award only one in a loop mark for MP 5 and MP 4 (Step 7) Check if the line read equals the word (input) MP 6 if both in a loop outputs are MP 5 (Step 8) ...If it does output line counter possible MP 6 (Step 9) If word not found in file then output "Not Found" after all iterations MP 7 Can be any MP 7 (Step 10) Otherwise repeat from step 5 loop but it must be clear where it Max 6 marks from 7 possible marks starts and ends and must include at least one of the end conditions. University Press & Assessment 2026 Page 11 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 3 — solution

1 mark for stacks and correct TOS pointers as shown and current web address Group 3

Mark points

  • Include the ideas shown in the solution above.

Part 3 — solution

Data is added at back / end and removed from front / start // works on a FIFO basis

Mark points

  • Include the ideas shown in the solution above.

Part 3 — solution

Last node in the list has a null pointer

Mark points

  • Include the ideas shown in the solution above.

Part 3 — solution

Conditional loop that checks one of the boundary values conditional loop

Mark points

  • Include the ideas shown in the solution above.

Part 3 — solution

Conditional loop that checks one of the boundary values Conditional loop that correctly checks for length of plaintext

Mark points

  • Include the ideas shown in the solution above.

Part 3 — solution

Extract an individual character from Plaintext in a loop Syntax for MID()

Mark points

  • Include the ideas shown in the solution above.

Question 4

Part 4 — solution

Tamper detected (mode) // Lockdown (mode)

Mark points

  • Include the ideas shown in the solution above.

Part 4 — solution

Entering wrong password (repeatedly) creating password.

Mark points

  • Include the ideas shown in the solution above.

Part 4 — solution

Identifier / Variable table // Data structure / Record structure (designs)

Mark points

  • Include the ideas shown in the solution above.

Part 4 — solution

Calculating time when tool has to be returned

Mark points

  • Include the ideas shown in the solution above.

Part 4(a) — solution

After group 1 6 back stack forward stack www.bbb.home  TOS www.333.corp www.111.home www.aaa.home  TOS www.999.corp www.ccc.my www.222.me Web address currently displayed in the browser: www.zzz.corp After group 2 back stack forward stack www.333.corp  TOS www.zzz.corp  TOS www.111.home www.aaa.home www.999.corp www.ccc.my www.222.me Website displayed in the browser: www.bbb.home After group 3 back stack forward stack www.111.home  TOS www.333.corp www.bbb.home www.zzz.corp www.aaa.home www.ccc.my www.222.me  TOS University Press & Assessment 2026 Page 12 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 4(a) — solution

Website displayed in the browser: www.999.corp Mark as follows: Group 1

Mark points

  • Include the ideas shown in the solution above.

Part 4 — solution

1 mark for back stack as shown and TOS as shown

Mark points

  • Include the ideas shown in the solution above.

Part 4(b) — solution

One mark for identifying an ADT. 3 Queue / Linked List One mark per feature Features of a Queue:

Mark points

  • Include the ideas shown in the solution above.

Part 4 — solution

Can be circular or linear Need both MAX 2 marks for features Features of a Linked List:

Mark points

  • Include the ideas shown in the solution above.

Part 4 — solution

Data may be added / removed by manipulating pointers

Mark points

  • Include the ideas shown in the solution above.

Part 4 — solution

Conditional loop that correctly checks both boundaries of If no loop used plaintext then MP3, MP4

Mark points

  • Include the ideas shown in the solution above.

Part 4 — solution

Attempt to assign the extracted character to Grid in a function must use loop parameters of correct type –

Mark points

  • Include the ideas shown in the solution above.

Question 5

Part 5 — solution

Disarm Mode // Maintenance Mode // Password Change Mode // Service Mode Max 2 University Press & Assessment 2026 Page 6 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 5 — solution

Entering password to enter / exit maintenance mode / silence alarm

Mark points

  • Include the ideas shown in the solution above.

Part 5 — solution

Change / check tool status e.g. hired / available / damaged // Prevent same tool being hired twice

Mark points

  • Include the ideas shown in the solution above.

Part 5 — solution

1 mark for forward stack as shown and TOS as shown

Mark points

  • Include the ideas shown in the solution above.

Part 5 — solution

Pointers are followed to move through nodes in the list (in a given sequence)

Mark points

  • Include the ideas shown in the solution above.

Part 5(a) — solution

Answer: OR · OR · OR

  1. IF Numbers[Index] <= Numbers[Index + 1] THEN
  2. IF Numbers[Index + 1] >= Numbers[Index] THEN

Mark points

  • IF Numbers[Index] <= Numbers[Index + 1] THEN
  • IF Numbers[Index + 1] >= Numbers[Index] THEN

Part 5(b)(i) — solution

4 Reject answers

Mark points

  • Include the ideas shown in the solution above.

Part 5(b)(ii) — solution

1 mark: When Numbers (array) / array is already in (ascending) 1 order / sorted

Mark points

  • Include the ideas shown in the solution above.

Part 5(c)(i) — solution

1 mark: The parameters / Num1 and Num2 are passed by value 2 / BYVAL // The parameters / Num1 and Num2 are not passed / should be passed by reference / BYREF

Mark points

  • Include the ideas shown in the solution above.

Part 5(c)(ii) — solution

Solution 2 NE for header mark If ByRef is PROCEDURE Swap(BYREF Num1, Num2 : INTEGER) mentioned in the DECLARE Temp : INTEGER header but syntax Temp  Num1 is not correct but Num1  Num2 allow FT for Num2  Temp second mark ENDPROCEDURE

Mark points

  • Include the ideas shown in the solution above.

Part 5 — solution

…Re-input of plaintext in a loop and MP5 can not

Mark points

  • Include the ideas shown in the solution above.

Part 5 — solution

Use of string of at least 24 spaces Correct use of LEFT() / MID() function and & to append padding characters Do not accept use

Mark points

  • Include the ideas shown in the solution above.

Part 5 — solution

Extraction and assignment of all 25 characters in allow other string Plaintext to Grid in a loop handling function combinations if they work.

Mark points

  • Include the ideas shown in the solution above.

Question 6

Part 6 — solution

DigitFlag  TRUE ELSE LetterFlag  TRUE

Mark points

  • Include the ideas shown in the solution above.

Part 6 — solution

Process payment / calculate hire cost Max 2 marks Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 6 — solution

Unused nodes are stored on a free list // a free-list pointer to the Free List

Mark points

  • Include the ideas shown in the solution above.

Part 6(a) — solution

  1. CONSTANT Space = ' '
  2. UNTIL LenOfPlaintext >= 1 AND LenOfPlaintext
  3. <= 25

Mark points

  • CONSTANT Space = ' '
  • UNTIL LenOfPlaintext >= 1 AND LenOfPlaintext
  • <= 25

Part 6 — solution

Loop that iterates for number of spaces to add to end of be given plaintext

Mark points

  • Include the ideas shown in the solution above.

Part 6(a) — solution

  1. CONSTANT Fill = " " //24
  2. UNTIL LenOfPlaintext >= 1 AND LenOfPlaintext
  3. <= 25

Mark points

  • CONSTANT Fill = " " //24
  • UNTIL LenOfPlaintext >= 1 AND LenOfPlaintext
  • <= 25

Part 6 — solution

Correctly padded plaintext returned following a reasonable of language attempt at specific string MP 6 and MP 7 manipulation which is not the compatible with the pseudocode used for the syllabus University Press & Assessment 2026 Page 17 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 6(b)(i) — solution

  1. Grid : ARRAY[1 : 5, 1 : 5] OF CHAR
  2. Grid : ARRAY[0 : 4, 0 : 4] OF CHAR

Mark points

  • Grid : ARRAY[1 : 5, 1 : 5] OF CHAR
  • Grid : ARRAY[0 : 4, 0 : 4] OF CHAR

Part 6(b)(ii) — solution

Solution One : Using nested loop and output of each row in a 8 loop following nested loop Example Solution PROCEDURE PopulateGrid(Plaintext : STRING) DECLARE Row, Column, Index : INTEGER Index  1 FOR Row  1 TO 5 FOR Column  1 TO 5 Grid[Row, Column]  MID(Plaintext, Index, 1) Index  Index + 1 NEXT Column Next Row FOR Row  1 TO 5 OUTPUT Grid[Row, 1], Grid[Row, 2], Grid[Row, 3],_ Grid[Row, 4], Grid[Row, 5] NEXT Row ENDPROCEDURE Mark Points

Mark points

  • Include the ideas shown in the solution above.

Part 6 — solution

Attempt to identify / isolate 5 characters comprising at least one row Max 7 if Procedure heading/parameter

Mark points

  • Include the ideas shown in the solution above.

Part 6(b)(ii) — solution

Solution Two: Using nested loop and output of each string in a loop following nested loop - Example Solution PROCEDURE PopulateGrid(Plaintext : STRING) DECLARE Row, Column, Index : INTEGER DECLARE RowString : STRING FOR Row  1 TO 5 FOR Column  1 TO 5 Index  (Row – 1) * 5 + Column Grid[Row, Column]  MID(Plaintext, Index, 1) NEXT Column NEXT Row FOR Row  1 TO 5 RowString "" For Col  1 TO 5 RowString  RowString & Grid[Row, Column] Next Col OUTPUT RowString NEXT Row ENDPROCEDURE Solution Three: Using nested loop where output string is formed in the inner loop and output in string in the outer loop – complex use of Index. No additional loop after nested loop Example Solution PROCEDURE PopulateGrid(Plaintext : STRING) DECLARE Row, Column, Index : INTEGER DECLARE RowString : STRING FOR Row  1 TO 5 RowString  "" FOR Column  1 TO 5 Index  (Row – 1) * 5 + Column Grid[Row, Column]  MID(Plaintext, Index, 1) RowString  RowString & MID(Plaintext, Index, 1) NEXT Column OUTPUT RowString NEXT Row ENDPROCEDURE University Press & Assessment 2026 Page 20 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 6(b)(ii) — solution

  1. IF Index MOD 5 = 0 THEN

Mark points

  • IF Index MOD 5 = 0 THEN

Question 7

Part 7 — solution

Time delay // Time passed after alarm triggered / before alarm activated

Mark points

  • Include the ideas shown in the solution above.

Part 7 — solution

Is a dynamic (data structure) MAX 2 marks for features University Press & Assessment 2026 Page 13 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 7 — solution

…Spaces appended to plaintext // Spaces appended to an empty string

Mark points

  • Include the ideas shown in the solution above.

Part 7 — solution

Identify / isolate all 5 characters for all 5 rows type incorrect Penalise incorrect

Mark points

  • Include the ideas shown in the solution above.

Question 8

Part 8 — solution

Correctly padded plaintext returned following a reasonable attempt at MP7 University Press & Assessment 2026 Page 16 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 8 — solution

Output all five rows of GRID, each on a separate line syntax for indexes i.e. [Row][Col] instead once. University Press & Assessment 2026 Page 19 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Question 9

Part 9 — solution

Pressing panic button University Press & Assessment 2026 Page 7 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 9 — solution

Programming language to use Max 3 University Press & Assessment 2026 Page 9 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.

Part 9 — solution

Tool status Max 2 marks University Press & Assessment 2026 Page 10 of 21 Trace ID: PC-95C57C5F77 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/22 Mark Scheme June · papacambridge.com 2026 | Source: papacambridge.com 9618/22 Mark Scheme June 2026 Downloaded from PapaCambridge - https://papacambridge.com/ 9618/22 Cambridge International AS & A Level – Mark Scheme May/June 2026 Guidance

Mark points

  • Include the ideas shown in the solution above.