Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 13 pages
Exam (elaborations)

AS-LEVEL OCR COMPUTER SCIENCE PAPER 2 MAY 2025 MARKSCHEME (H046/02)

Document preview thumbnail
Preview 3 out of 13 pages

AS-LEVEL OCR COMPUTER SCIENCE PAPER 2 MAY 2025 MARKSCHEME (H046/02)

Content preview

GCE

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

Document information

Study Level
Subject
Uploaded on
December 10, 2025
File latest updated on
January 9, 2026
Number of pages
13
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$11.18

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
STUDYSENSEl
5.0
(79)
Sold
83
Followers
1
Items
786
Last sold
1 day ago


Reviews from verified buyers




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions