Computer Science
H046/02: Algorithms and problem solving
AS Level
Mark Scheme for June 2025
Oxford Cambridge and RSA Examinations
,H046/02 Mark Scheme June 2025
Subject Specific Marking Instructions
Question Answer Mark Guidance
1 a 1 mark for each input to max 2. 4
1 mark for each output to max 2.
Input
• Membership ID
• Date
• Time
Output
• Error message
• Confirmation message
• Bleeping sound
1 b 1 mark each to max 3 3 Expansion point ‘allow the solution to be developed
e.g. faster’ is valid for MP1, MP3 and MP6
• Code can be written once and used many times
// reused in other programs // saves
programming time
• Reduces the file size of the program
• Reduces the time taken testing
• Makes the code more efficient
• Makes the program easier to maintain
• Program can be divided between different
programmers
• …to allow the solution to be developed faster
• …to allow programmers to work to their
strengths
6
, H046/02 Mark Scheme June 2025
2 a 1 mark each to max 2 2 Responses must be specific to p1Items[10, 2]
e.g. Do not accept generic answers such as the array is 0
• The identifier/name is p1Items indexed (which is also in the question)
• It has 10 elements by 2 elements
• It has 10 rows
• It has 2 columns
• It has a total of 20 elements
• It stores data of type string
2 b i It is a string/text 1
2 b ii 1 mark each to max 2: 2 Arrays may be rewritten e.g. [counter][0]
• Correct use of for loop to iterate 10 times
• Correct indexing of each array declaration that is Allow valid Python loop ranges:
consistent with loop index variable
for counter in range (10):
Example: p1Items[counter, 0] = "empty"
for counter = 0 to 9 p1Items[counter, 1] = "empty"
p1Items[counter, 0] = "empty"
It should be clear that the counter will iterate through
p1Items[counter, 1] = "empty" the values 0 to 9 inclusive. Do not award if counter =
next counter counter + 1 code line is left inside the loop because it
will not then iterate every index.
2 b iii 1 mark from: 1
• The updated array is saved when the procedure
ends
• The procedure can access the array and change
it.
• It is a procedure so cannot return the updated
array
7