Computer Science · June 2025 · Mark scheme · Paper 1A Computational thinking and programming skills C
AQA GCSE Computer Science mark scheme for Paper 1A Computational thinking and programming skills C, June 2025 — 8525, file AQA-8525-Paper-1A-Computational-thinking-and-programming-skills-C-MS-JUN25.pdf.
Text of this paper
GCSE
COMPUTER SCIENCE
8525/1A, 8525/1B, 8525/1C
Paper 1 Computational thinking and programming skills
Mark scheme
June 2025
Version: 1.0 Final
256G8525/1/MS
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Mark schemes are prepared by the Lead Assessment Writer and considered, together with the relevant
questions, by a panel of subject teachers. This mark scheme includes any amendments made at the
standardisation events which all associates participate in and is the scheme which was used by them in
this examination. The standardisation process ensures that the mark scheme covers the students’
responses to questions and that every associate understands and applies it in the same correct way.
As preparation for standardisation each associate analyses a number of students’ scripts. Alternative
answers not already covered by the mark scheme are discussed and legislated for. If, after the
standardisation process, associates encounter unusual answers which have not been raised they are
required to refer these to the Lead Examiner.
It must be stressed that a mark scheme is a working document, in many cases further developed and
expanded on the basis of students’ reactions to a particular paper. Assumptions about future mark
schemes on the basis of one year’s document should be avoided; whilst the guiding principles of
assessment remain constant, details will change, depending on the content of a particular examination
paper.
This mark scheme contains the correct responses which we believe that candidates are most likely to
give. Other valid responses are possible to some questions and should be credited. Examiners should
refer responses that are not covered by the mark scheme, but which they deem creditworthy, to a Team
Leader.
No student should be disadvantaged on the basis of their gender identity and/or how they refer to the
gender identity of others in their exam responses.
A consistent use of ‘they/them’ as a singular and pronouns beyond ‘she/her’ or ‘he/him’ will be credited in
exam responses in line with existing mark scheme criteria.
Further copies of this mark scheme are available from aqa.org.uk
Copyright information
AQA retains the copyright on all its publications. However, registered schools/colleges for AQA are permitted to copy material from this booklet for their own
internal use, with the following important exception: AQA cannot give permission to schools/colleges to photocopy any material that is acknowledged to a third
party even for internal use within the centre.
Copyright © 2025 AQA and its licensors. All rights reserved.
2
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
The following annotation is used in the mark scheme:
;
- means a single mark
//
- means alternative response
/
- means an alternative word or sub-phrase
A
- means acceptable creditworthy answer. Also used to denote a valid answer that goes beyond
the expectations of the GCSE syllabus.
R
- means reject answer as not creditworthy
NE - means not enough
I
- means ignore
DPT - in some questions a specific error made by a candidate, if repeated, could result in the
candidate failing to gain more than one mark. The DPT label indicates that this mistake should
only result in a candidate losing one mark on the first occasion that the error is made. Provided
that the answer remains understandable, subsequent marks should be awarded as if the error
was not being repeated.
Note to Examiners
In the real world minor syntax errors are often identified and flagged by the development environment.
To reflect this, all responses in a high-level programming language will assess a candidate’s ability to
create an answer using precise programming commands/instructions but will avoid penalising them for
minor errors in syntax.
When marking program code, examiners must take account of the different rules between the languages
and only consider how the syntax affects the logic flow of the program. If the syntax is not perfect but
the logic flow is unaffected then the response should not be penalised.
The case of all program code written by students is to be ignored for the purposes of marking. This is
because it is not always clear which case has been used depending on the style and quality of
handwriting used.
Examiners must ensure they follow the mark scheme instructions exactly. If an examiner is unsure as to
whether a given response is worthy of the marks they must escalate the question to their team leader.
3
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Level of response marking instructions
Level of response mark schemes are broken down into levels, each of which has a descriptor. The
descriptor for the level shows the average performance for the level. There are marks in each level.
Before you apply the mark scheme to a student’s answer read through the answer and annotate it (as
instructed) to show the qualities that are being looked for. You can then apply the mark scheme.
Step 1 Determine a level
Start at the lowest level of the mark scheme and use it as a ladder to see whether the answer meets the
descriptor for that level. The descriptor for the level indicates the different qualities that might be seen in
the student’s answer for that level. If it meets the lowest level then go to the next one and decide if it
meets this level, and so on, until you have a match between the level descriptor and the answer. With
practice and familiarity, you will find that for better answers you will be able to quickly skip through the
lower levels of the mark scheme.
When assigning a level, you should look at the overall quality of the answer and not look to pick holes in
small and specific parts of the answer where the student has not performed quite as well as the rest. If
the answer covers different aspects of different levels of the mark scheme you should use a best fit
approach for defining the level and then use the variability of the response to help decide the mark within
the level, ie if the response is predominantly level 3 with a small amount of level 4 material it would be
placed in level 3 but be awarded a mark near the top of the level because of the level 4 content.
Step 2 Determine a mark
Once you have assigned a level you need to decide on the mark. The descriptors on how to allocate
marks can help with this. The exemplar materials used during standardisation will help. There will be an
answer in the standardising materials which will correspond with each level of the mark scheme. This
answer will have been awarded a mark by the Lead Examiner. You can compare the student’s answer
with the example to determine if it is the same standard, better or worse than the example. You can then
use this to allocate a mark for the answer based on the Lead Examiner’s mark on the example.
You may well need to read back through the answer as you apply the mark scheme to clarify points and
assure yourself that the level and the mark are appropriate.
Indicative content in the mark scheme is provided as a guide for examiners. It is not intended to be
exhaustive and you must credit other valid points. Students do not have to cover all of the points
mentioned in the Indicative content to reach the highest level of the mark scheme.
An answer which contains nothing of relevance to the question must be awarded no marks.
4
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
01
1
Marking guidance
Mark is for AO2 (apply)
C
Total
marks
1
Line number 6;
R. If more than one lozenge shaded
Question
Part
01
2
Marking guidance
Mark is for AO2 (apply)
C
Total
marks
1
This program uses concatenation;
R. If more than one lozenge shaded
Question
Part
01
3
Marking guidance
Mark is for AO2 (apply)
Total
marks
1
<;
//
Less than;
R. =
5
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
01
4
Marking guidance
4 marks for AO2 (apply)
MP1: for the first value of column a and the first value of column b and the
first value of column c all correct;
MP2: for the correct first output (2);
MP3: for the rest of column a correct and the rest of the Output column
correct and neither containing any other values at the bottom of the
columns;
MP4: for the rest of column b correct and containing no other values;
Maximum 3 marks if any errors.
I. Different rows used as long as the order within columns is clear
I. Duplicate values on consecutive rows within a column
6
Total
marks
4
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
02
1
Marking guidance
3 marks for AO3 (program)
Total
marks
3
C#
i % 5 == 0;
Console.WriteLine("Free biscuit");
Console.WriteLine("Nothing free");
A. Write in place of WriteLine;
I. missing Console.
Python
i % 5 == 0;
print("Free biscuit");
print("Nothing free");
VB.NET
i Mod 5 = 0;
Console.WriteLine("Free biscuit");
Console.WriteLine("Nothing free");
A. Write in place of WriteLine;
I. missing Console.
I. Case
I. Minor spelling mistakes in output messages
DPT. Missing parentheses
7
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
02
2
Total
marks
4
Marking guidance
4 marks for AO3 (program)
Program Logic
Mark A for using user input and storing the result in a variable for one of the
number of biscuits, pastries or cakes;
Mark B for using user input and storing the results in three variables
correctly for the number of biscuits, pastries and cakes;
Mark C for expressions that calculate the total value correctly;
Mark D for outputting the total value;
DPT. Repeated identical syntax errors in the three input commands
I. Case
I. Messages or no messages with input and output statements
I. Gaps/spaces throughout the code, except where to do so would explicitly
alter the logic of the code in a way that makes it incorrect
Maximum 3 marks if any errors in code
Note to examiners
In C#/VB.NET examples, explicit variable declarations are not shown. Refer
to the specific language type issues section of the appropriate Marking
Guidance document. Any correct variable declarations in student answers
should be accepted.
C# Example 1 (fully correct)
totalValue = 0;
biscuits = Convert.ToInt32(Console.ReadLine());
pastries = Convert.ToInt32(Console.ReadLine());
cakes = Convert.ToInt32(Console.ReadLine());
totalValue = biscuits * 1 + pastries * 2.5 +
cakes * 3;
Console.WriteLine(totalValue);
A, Part of B
Part of B
Part of B
C
D
A. Write in place of WriteLine
I. missing Console.
Python Example 1 (fully correct)
biscuits = int(input())
pastries = int(input())
cakes = int(input())
totalValue = biscuits * 1 + pastries * 2.5 +
cakes * 3
print(totalValue)
8
A, Part of B
Part of B
Part of B
C
D
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
VB.NET Example 1 (fully correct)
totalValue = 0
biscuits = Console.ReadLine()
pastries = Console.ReadLine()
cakes = Console.ReadLine()
totalValue = biscuits * 1 + pastries * 2.5 +
cakes * 3
Console.WriteLine(totalValue)
A, Part of B
Part of B
Part of B
C
D
A. Write in place of WriteLine
I. missing Console.
9
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
03
Part
Marking guidance
2 marks for AO3 (design) and 6 marks for AO3 (program)
Program Design
Note that AO3 (design) marks are for selecting appropriate techniques to
use to solve the problem, so should be credited whether the syntax of
programming language statements is correct or not and regardless of
whether the solution works.
Mark A for using meaningful variable names throughout;
Mark B for the use of a selection construct using the number of students;
Program Logic
Mark C for using user input and storing the result in a variable correctly for
the number of students;
Mark D for one correct Boolean condition to check number of students;
A. if the only error is quotes included around numeric values;
Mark E for correctly checking the number of students under all required
conditions; R. if any quotes included around numeric values;
Mark F for one expression that calculates total correctly, linked to the
condition for the intended pathway;
Mark G for expressions that calculate total correctly for each of the three
pathways;
Mark H for outputting only one total in an appropriate location that covers
all included pathways;
A. if 100 is output appropriately as part of a literal string under the correct
condition;
DPT use of £ sign in calculation or value assigned to variable
DPT for quotes around numbers
I. Case
I. Messages or no messages with input and output statements
I. Gaps/spaces throughout the code, except where to do so would explicitly
alter the logic of the code in a way that makes it incorrect.
Maximum 7 marks if any errors in code
Note to examiners
In C#/VB.NET examples, explicit variable declarations are not shown. Refer
to the specific language type issues section of the appropriate Marking
Guidance document. Any correct variable declarations in student answers
should be accepted.
10
Total
marks
8
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
C# Example 1 (fully correct)
All design marks are achieved (Marks A and B)
students = Convert.ToInt32(Console.ReadLine());
if (students > 25) {
total = 100;
}
else if (students > 15) {
total = 20 + (3 * students);
}
else {
total = 20 + (5 * students);
}
Console.WriteLine(total);
C
D
F
E
Part G
Part G
H
A. Write in place of WriteLine
I. missing Console.
Python Example 1 (fully correct)
All design marks are achieved (Marks A and B)
students = int(input())
if students > 25:
total = 100
elif students > 15:
total = 20 + (3 * students)
else:
total = 20 + (5 * students)
print(total)
C
D
F
E
Part G
Part G
H
Python Example 2 (fully correct)
All design marks are achieved (Marks A and B)
students = int(input())
if students <= 15:
print(20 + 5 * students)
elif students > 15 and students <= 25:
print(20 + 3 * students)
else:
print(100)
C
D
F
E
Part G
Part G
Python Example 3 (7 marks)
All design marks are achieved (Marks A and B)
No Mark E because > 25 is caught by students > 15 condition.
students = int(input())
if students <= 15:
total = 20 + (5 * students)
elif students > 15:
total = 20 + (3 * students)
elif students > 25:
total = 100
print(total)
C
D
F
Part E
Part G
Part E
Part G
H
11
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
VB.NET Example 1 (fully correct)
All design marks are achieved (Marks A and B)
students = Console.ReadLine()
If students > 25 Then
total = 100
ElseIf students > 15 Then
total = 20 + (3 * students)
Else
total = 20 + (5 * students)
End If
Console.WriteLine(total)
C
D
F
Part E
Part G
Part E
Part G
H
A. Write in place of WriteLine
I. missing Console.
VB.NET Example 2 (7 Marks)
All design marks are achieved (Marks A and B)
No Mark E because > 25 is caught by students > 15 condition.
total = 0
students = Console.ReadLine()
If students <= 15 Then
total = 20 + (5 * students)
ElseIf students > 15 Then
total = 20 + (3 * students)
ElseIf students > 25 Then
total = 100
End If
Console.WriteLine(total)
A. Write in place of WriteLine
I. missing Console.
12
C
D
F
Part E
Part G
Part E
Part G
H
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
04
1
Marking guidance
Mark is for AO1 (recall)
D
Total
marks
1
Checks that the input is reasonable;
R. If more than one lozenge shaded
Question
Part
04
2
Marking guidance
1 mark for AO3 (design), 5 marks for AO3 (program)
Total
marks
6
Program Design
Note that AO3 (design) marks are for selecting appropriate techniques to
use to solve the problem, so should be credited whether the syntax of
programming language statements is correct or not and regardless of
whether the solution works.
Mark A for the use of an iteration structure that exists within their language,
which attempts to repeat until a first name with a valid length is entered;
Program Logic
Mark B for finding the length of at least one string correctly;
Mark C for one Boolean condition that attempts to check the first name or
length of first name entered against one of the two required conditions (even
if the length usage is incorrectly coded or missing);
A. if the only error is quotes included around numeric values;
Mark D if all required checks on the length of the first name have been
carried out and combined correctly;
R. if any quotes included around numeric values
Mark E for code that allows the re-inputting of a first name within an iteration
structure;
Mark F for a structure that would output either Name accepted or Name
not accepted correctly in all circumstances; A. if conditions are
not fully correct; A. equivalent messages;
I. Case
I. Messages or no messages with input statements
I. Gaps/spaces throughout the code, except where to do so would explicitly
alter the logic of the code in a way that makes it incorrect.
Maximum 5 marks if any errors in code.
Note to examiners
In C#/VB.NET examples, explicit variable declarations are not shown. Refer
to the specific language type issues section of the appropriate Marking
Guidance document. Any correct variable declarations in student answers
should be accepted.
13
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
C# Example 1 (fully correct)
The design mark is achieved (Mark A)
name = Console.ReadLine();
while (name.Length < 2 || name.Length > 14) {
Console.WriteLine("Name not accepted");
name = Console.ReadLine();
}
Console.WriteLine("Name accepted");
BCD, Part E
Part F
Part E
Part F
A. Write in place of WriteLine
I. missing Console.
Python Example 1 (fully correct)
The design mark is achieved (Mark A)
name = input()
while len(name) < 2 or len(name) > 14:
print("Name not accepted")
name = input()
print("Name accepted")
BCD, Part E
Part F
Part E
Part F
Python Example 2 (fully correct)
The design mark is achieved (Mark A)
check = False
while check == False:
name = input()
if len(name) > 1 and len(name) < 15:
print("Name accepted")
check = True
else:
print("Name not accepted")
Part E
Part E
Part E
BCD
Part F
Part F
Python Example 3 (fully correct)
The design mark is achieved.
Check that all pathways are covered when using nested if statements and
all required messages are included.
while True:
name = input()
if len(name) > 1:
if len(name) < 15:
print("Name accepted")
break
else:
print("Name not accepted")
else:
print("Name not accepted")
14
Part E
BC
D
Part F
Part F
Part F
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Python Example 4 (partially correct – 4 marks)
The design mark is not achieved.
There is no use of iteration (A) so the name cannot be re-input (E).
name = input()
if len(name) < 2 or len(name) > 14:
print("Name not accepted")
name = input()
print("Name accepted")
BCD
Part F
Part F
VB.NET Example 1 (fully correct)
The design mark is achieved (Mark A)
name = Console.ReadLine()
While name.Length < 2 Or name.Length > 14
Console.WriteLine("Name not accepted")
name = Console.ReadLine()
End While
Console.WriteLine("Name accepted")
BCD, Part E
Part F
Part E
Part F
A. Write in place of WriteLine;
I. missing Console.
VB.NET Example 2 (fully correct)
The design mark is achieved (Mark A)
While True
name = Console.ReadLine()
If Len(name) < 2 Or Len(name) > 14 Then
Console.WriteLine("Name not accepted")
Else
Exit While
End If
End While
Console.WriteLine("Name accepted")
Part E
Part E
BCD
Part F
Part F
A. Write in place of WriteLine;
I. missing Console.
15
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
VB.NET Example 3 (fully correct)
The design mark is achieved.
Check that all pathways are covered when using nested if statements and
all required messages are included.
While True
name = Console.ReadLine()
If Len(name) > 1 Then
If Len(name) < 15 Then
Console.WriteLine("Name accepted")
Exit While
Else
Console.WriteLine("Name not accepted")
End If
Else
Console.WriteLine("Name not accepted")
End If
End While
Part E
BC
D
Part F
Part F
Part F
A. Write in place of WriteLine;
I. missing Console.
Question
Part
04
3
Marking guidance
Mark is for AO1 (recall)
B
Total
marks
1
Data that is at the limits of the allowed range;
R. If more than one lozenge shaded
Question
Part
04
4
Marking guidance
Mark is for AO3 (test)
Total
marks
1
1 // 15;
A. if both correct answers are given;
Question
Part
04
5
Marking guidance
Mark is for AO1 (recall)
Erroneous;
A. Invalid;
A. Description of a type of erroneous test data e.g. data of the wrong type;
I. Minor spelling mistakes
R. Typical
R. Extreme
R. Boundary
R. Normal
16
Total
marks
1
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
04
6
Marking guidance
3 marks for AO3 (design)
Total
marks
3
MP1: for L1, L6 (I. Order of L1 and L6) and L4;
MP2: for L2;
MP3: for L3 and L5;
I. any pseudocode if labels are given
A. The exact given pseudo-code statements if labels are omitted;
17
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
05
1
Marking guidance
Mark is for AO1 (recall)
Total
marks
1
(Specifies the) type of value/data a variable stores/has;
R. Information in place of Data
//
Defines the type of operations that can be performed on a value (stored in a
variable);
Question
Part
05
2
Marking guidance
Mark is for AO2 (apply)
Total
marks
1
The values would be concatenated if they were strings;
//
The values need to be added to the other values;
//
The arithmetic operator can only be used on numeric values;
Question
Part
05
3
Marking guidance
Mark is for AO2 (apply)
C#
Maximum of 1 mark from:
double;
float;
decimal;
Python
float;
VB.NET
Maximum of 1 mark from:
Double;
Single;
A. Decimal;
I. Case
R. Real
18
Total
marks
1
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
05
4
Total
marks
5
Marking guidance
1 mark for AO3 (design), 4 marks for AO3 (program)
Program Design
Note that AO3 (design) marks are for selecting appropriate techniques to
use to solve the problem, so should be credited whether the syntax of
programming language statements is correct or not and regardless of
whether the solution works.
Mark A for the use of an iteration structure that exists within their language;
Program Logic
Mark B for correct conditions within an iteration structure to correctly loop
five times;
Mark C for using user input once in a logically appropriate place;
Mark D for correctly calculating the total from the inputted values;
Mark E for correctly outputting total in a logically appropriate place outside
the iteration structure;
I. Case
I. Messages or no messages with input and output statements
I. Gaps/spaces throughout the code, except where to do so would explicitly
alter the logic of the code in a way that makes it incorrect.
Maximum 4 marks if any errors in code.
Note to examiners
In C#/VB.NET examples, explicit variable declarations are not shown. Refer
to the specific language type issues section of the appropriate Marking
Guidance document. Any correct variable declarations in student answers
should be accepted.
C# Example 1 (fully correct)
The design mark is achieved (Mark A)
total = 0;
num = 0;
for (i = 0; i < 5; i++) {
num = Convert.ToInt32(Console.ReadLine());
total = total + num;
}
Console.WriteLine(total);
Part of D
Part of C
B
Part of C
Part of D
E
A. Write in place of WriteLine;
I. missing Console.
19
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
C# Example 2 (fully correct)
The design mark is achieved (Mark A)
total = 0;
counter = 0;
num = 0;
while (counter < 5) {
counter = counter + 1;
num = Convert.ToInt32(Console.ReadLine());
total = total + num;
}
Console.WriteLine(total);
Part of D
Part of B
Part of C
Part of B
Part of B
Part of C
Part of D
E
A. Write in place of WriteLine;
I. missing Console.
Python Example 1 (fully correct)
The design mark is achieved (Mark A)
total = 0
for i in range(5):
num = int(input())
total = total + num
print(total)
Part of D
B
C
Part of D
E
Python Example 2 (fully correct)
The design mark is achieved (Mark A)
total = 0
count = 0
while count < 5:
count = count + 1
num = int(input())
total = total + num
print(total)
Part of D
Part of B
Part of B
Part of B
C
Part of D
E
VB.NET Example 1 (fully correct)
The design mark is achieved (Mark A)
total = 0
num = 0
For i = 0 to 4
num = Console.ReadLine()
total = total + num
Next
Console.WriteLine(total)
A. Write in place of WriteLine;
I. missing Console.
20
Part of D
Part of C
B
Part of C
Part of D
E
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
VB.NET Example 2 (fully correct)
The design mark is achieved (Mark A)
num = 0
counter = 0
total = 0
While counter < 5
counter = counter + 1
num = Console.ReadLine()
total = total + num
End While
Console.WriteLine(total)
Part of C
Part of B
Part of D
Part of B
Part of B
Part of C
Part of D
E
A. Write in place of WriteLine;
I. missing Console.
Question
Part
06
1
Total
marks
3
Marking guidance
3 marks for AO2 (apply)
1 mark for each correct change in correct order;
I. Blanks for repeated values.
Maximum 2 marks if grid not fully correct.
The correct sequence is:
45
23
78
55
49
23
45
78
55
49
23
45
55
78
49
23
45
55
49
78
23
45
49
55
78
If the response shows the sort completed in a single pass, as follows, then
award 1 mark;
45
23
78
55
49
23
45
55
49
78
23
45
49
55
78
23
45
49
55
78
21
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
06
2
Marking guidance
3 marks for AO2 (apply)
MP1: for correctly sorting pairs (Red Boxes);
MP2: for correctly leaving 1 element on its own after sorting pairs (Green
Boxes);
MP3: for correctly sorting 3 or 4 elements (Blue Boxes);
Maximum two marks if any errors
I. if the final row has been rewritten by the student
Example One (fully correct)
Example Two (fully correct)
Example Three (fully correct)
22
Total
marks
3
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
06
3
Marking guidance
2 marks for AO1 (understanding)
Total
marks
2
Advantage of bubble sort
Maximum of 1 mark from:
●
●
Bubble sort is simpler to code // Algorithm requires fewer lines of
code;
Bubble sort can be quicker to sort small lists/arrays;
A. Bubble sort will use less memory // bubble sort only requires one
additional memory location (whereas merge sort requires more than one) ;
Disadvantage of bubble sort
Maximum of 1 mark from:
●
●
Bubble sort does not sort (large) lists/arrays as quickly as merge
sort;
Bubble sort is less efficient;
NE. Answers that have not been qualified (e.g. bubble sort is simple).
Question
Part
06
4
Marking guidance
2 marks for AO2 (apply)
●
A binary search is more efficient (on average) / takes less time (on
average) ;
//
a linear search would be less efficient (on average) because it
(potentially) must check all (2500) elements;
●
(because) fewer comparisons will need to be made (on average) to
locate the search term;
//
(For this scenario) a binary search would (take at maximum 12
searches as it) halves the number of values each time;
Total
marks
2
23
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
07
1
Marking guidance
Mark is for AO2 (apply)
Total
marks
1
Maximum of 1 mark from:
●
●
●
●
Question
Part
07
2
Question
Part
07
3
To determine if a number/x is odd/even // To determine if a
number/x is a multiple of 2;
To return True if a number/x is even // To return False if a
number is odd;
To return True if a number/x is a multiple of 2 // To return False if
a number/x is not (a multiple of 2);
To return True if the remainder (of the integer division) is 0 // To
return False if the remainder is 1 / not 0;
Marking guidance
2 marks for AO2 (apply)
Program Code
Output
OUTPUT number
10;
OUTPUT x
0;
Marking guidance
Mark is for AO2 (apply)
Total
marks
2
Total
marks
1
True;
I. Case
Question
Part
07
4
Marking guidance
Mark is for AO2 (apply)
number;
I. Case
24
Total
marks
1
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
07
5
Total
marks
2
Marking guidance
2 marks for AO1 (understanding)
Maximum of 2 marks from:
●
●
●
●
●
●
●
Question
Part
08
1
(is) modularised // broken down into sections/chunks // (uses)
subroutines // named/out of line blocks of code;
(uses) parameters;
(uses) return values;
(uses) local variables;
(uses) selection;
(uses) iteration;
(uses) well documented interfaces;
Total
marks
5
Marking guidance
5 marks for AO2 (apply)
MP1: for b1 column and b2 column correct and no other values in either
column;
MP2: for the first value of i initialised to 0;
MP3: for the last three rows of column i correct and no other values;
MP4: for the first value in new set to '0' or the first value in new set to an
empty string/blank value followed by '0';
MP5: for the last three rows of column new correct and no other values;
Maximum 4 marks if any errors.
b1
b2
new
i
'0010'
'0111'
''
0
'0'
1
'01'
2
'010'
3
'0101'
I. Different rows used as long as the order within columns is clear
I. Duplicate values on consecutive rows within a column
I. Missing quotes used around strings.
25
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
08
2
Total
marks
1
Marking guidance
Mark is for AO2 (apply)
So the algorithm does not attempt to access a character that does not exist
(in the string);
//
So the algorithm does not attempt to use an index value that is out-of-range;
//
Because indexing (of strings) starts at 0 rather than 1;
A. To make sure it doesn’t crash (when run as a program) ;
A. To prevent a run-time error from happening;
Question
Part
09
Total
marks
2
Marking guidance
2 marks for (AO2 apply)
MP1: for any three columns correct;
MP2: for all columns correct;
Algorithm totals the five values
A
B
✔
✔
Algorithm does not total the five values
C
D
E
✔
✔
✔
R. column if more than 1 tick in that column
Question
Part
10
1
Marking guidance
Mark is for AO2 (apply)
Total
marks
1
Runner('200 m', 10, 32.59);
I. Case
R. if quotes, commas or parentheses missing
Question
Part
10
2
Marking guidance
Mark is for AO2 (apply)
.time;
I. Case
R. if period is missing
26
Total
marks
1
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
10
3
Marking guidance
1 mark for AO3 (design), 5 marks for AO3 (program)
Total
marks
6
Program Design
Note that AO3 (design) marks are for selecting appropriate techniques to
use to solve the problem, so should be credited whether the syntax of
programming language statements is correct or not and regardless of
whether the solution works.
Mark A for attempting to calculate the length of the array times;
Program Logic
Mark B for initialising a variable to an appropriate numeric value to store the
fastest time or the index to the fastest time;
Mark C for using a loop to correctly iterate through an array of any length;
Mark D for correctly checking values (on at least 2 occasions) in the times
array are smaller than the current fastest time (even if the indexing is
incorrect);
Mark E correctly store the current fastest time/position of the fastest time for
each iteration (indexing must be correct);
Mark F for outputting the fastest time from a variable once, in an
appropriate place;
Note to Examiners
If used built in routines to find the smallest value in an array or to sort the
array then do not award marks D, E
I. Case
I. Gaps/spaces throughout the code, except where to do so would explicitly
alter the logic of the code in a way that makes it incorrect.
Maximum 5 marks if any errors in code.
Note to examiners
In C#/VB.NET examples, explicit variable declarations are not shown. Refer
to the specific language type issues section of the appropriate Marking
Guidance document. Any correct variable declarations in student answers
should be accepted.
27
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
C# Example 1 (fully correct)
All design marks are achieved (Mark A)
length = times.Length;
best = times[0];
for (i = 0; i < length; i++) {
if (times[i] < best) {
best = times[i];}
}
Console.WriteLine(best);
Part of C
B, Part of D
Part of C
Part of D
E
F
A. Write in place of WriteLine;
I. missing Console.
C# Example 2 ((fully correct)
All design marks are achieved (Mark A)
best = times[0];
foreach (time in times) {
if (time < best) {
best = time;}
}
Console.WriteLine(best);
B, Part of D
C
Part of D
E
F
A. Write in place of WriteLine;
I. missing Console.
Python Example 1 (fully correct)
All design marks are achieved (Mark A)
length = len(times)
best = times[0]
for i in range(length):
if times[i] < best:
best = times[i]
print(best)
Part of C
B, Part of D
Part of C
Part of D
E
F
Python Example 2 (fully correct)
All design marks are achieved (Mark A)
best = times[0]
for time in times:
if time < best:
best = time
print(best)
B, Part of D
C
Part of D
E
F
Python Example 3 (fully correct)
All design marks are achieved (Mark A)
lowest = 0
for i in range(0, len(times)):
if times[i] < times[lowest]:
lowest = i
print(times[lowest])
28
B, Part of D
C
Part of D
E
F
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
VB.NET Example 1 (fully correct)
All design marks are achieved (Mark A)
length = times.Length
best = times(0)
For i = 1 to length - 1
If times(i) < best Then
best = times(i)
End If
Next
Console.WriteLine(best)
Part of C
B, Part of D
Part of C
Part of D
E
F
A. Write in place of WriteLine;
I. missing Console.
VB.NET Example 2 (fully correct)
All design marks are achieved (Mark A)
best = times(0)
For Each time In times
If time < best Then
best = time
End If
Next
Console.WriteLine(best)
B, Part of D
C
Part of D
E
F
A. Write in place of WriteLine;
I. missing Console.
Question
Part
11
1
Marking guidance
Mark is for AO2 (apply)
Total
marks
1
B s;
R. If more than one lozenge shaded
Question
Part
11
2
Marking guidance
Mark is for AO2 (apply)
Total
marks
1
A s;
R. If more than one lozenge shaded
Question
Part
11
3
Marking guidance
Mark is for AO2 (apply)
Total
marks
1
C 6;
R. If more than one lozenge shaded
29
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Question
Part
11
4
Marking guidance
Mark is for AO2 (apply)
Total
marks
1
C sys*em;
R. If more than one lozenge shaded
Question
Part
11
5
Marking guidance
2 marks for AO3 (design), 8 marks for AO3 (program)
Program Design
Note that AO3 (design) marks are for selecting appropriate techniques to
use to solve the problem, so should be credited whether the syntax of
programming language statements is correct or not and regardless of
whether the solution works.
Mark A for creating a new iteration construct that exists within their
language and inputting a letter within it;
Mark B for the use of a selection structure for both the messages about
winning and losing;
Program Logic
Mark C for an iteration structure that correctly allows a letter to be entered a
maximum of 8 times (I. any reference to exiting the loop based on the
number of asterisks);
Mark D for an iteration structure that exits correctly when there are no
asterisks left in hidden and there is a correct boolean joining operator for
BOTH conditions (See Mark C for second condition);
Mark E for correctly calling the findLetter subroutine within an iteration
structure (even if the parameters are incorrect or missing);
Mark F for including the correct parameters in the correct order when calling
the findLetter subroutine; Note: the middle parameter should match
the variable name their user input has been assigned to.
Mark G for updating the hidden variable with the return value from the call
to findLetter; R. if hidden is re-initialised within the iteration structure
Mark H for correctly checking to see if there are any asterisks left in
hidden and handling it appropriately;
Mark I for displaying the value of hidden after each attempt;
Mark J for displaying You won and You lost in appropriate places
under the correct conditions;
30
Total
marks
10
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Note to Examiners
If used built in routines to check if a string contains another string/character
or to count the number of asterisks then do not award marks D and H
I. Case
I. Messages or no messages with input statements
I. Gaps/spaces throughout the code, except where to do so would explicitly
alter the logic of the code in a way that makes it incorrect.
Maximum 9 marks if any errors in code.
Note to examiners
In C#/VB.NET examples, explicit variable declarations are not shown. Refer
to the specific language type issues section of the appropriate Marking
Guidance document. Any correct variable declarations in student answers
should be accepted.
C# Example 1 (fully correct)
All design marks are achieved (Marks A and B)
won = false;
for (i = 0; i < 8; i++) {
letter = Console.ReadLine();
hidden = findLetter(word, letter, hidden);
Console.WriteLine(hidden);
won = true;
for (j = 0; j < hidden.Length; j++) {
if (hidden[j] == '*') {
won = false;
}
}
if (won == true) {
break;
}
}
if (won == false) {
Console.WriteLine("You lost");
} else {
Console.WriteLine("You won");
}
Part D
C
EFG
I
Part D
Part H
Part H
Part H
Part D
Part D
Part J
Part J
Part J
Part J
A. Write in place of WriteLine;
I. missing Console.
31
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
C# Example 2 (fully correct)
All design marks are achieved (Marks A and B)
won = false;
x = 0;
while (x < 8 && won == false)) {
letter = Console.ReadLine();
hidden = findLetter(word, letter, hidden);
Console.WriteLine(hidden);
won = true;
y = 0;
while (y < hidden.Length) {
if (hidden[j] == '*') {
won = false;
}
y = y + 1;
}
x = x + 1;
}
if (won == false) {
Console.WriteLine("You lost");
} else {
Console.WriteLine("You won");
}
Part D
Part C
Part CD
EFG
I
Part D
Part H
Part H
Part H
Part H
Part H
Part C
Part J
Part J
Part J
Part J
A. Write in place of WriteLine;
I. missing Console.
Python Example 1 (fully correct)
All design marks are achieved (Marks A and B)
won = False
for i in range(8):
letter = input()
hidden = findLetter(word, letter, hidden)
print(hidden)
won = True
for j in range(len(hidden)):
if hidden[j] == "*":
won = False
if won == True:
break
if won == False:
print("You lost")
else:
print("You won")
32
Part D
C
EFG
I
Part D
Part H
Part H
Part H
Part D
Part D
Part J
Part J
Part J
Part J
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
Python Example 2 (fully correct)
All design marks are achieved (Marks A and B)
won = False
i = 0
while i < 8 and won == False:
letter = input()
hidden = findLetter(word, letter, hidden)
print(hidden)
won = True
j = 0
while j < len(hidden):
if hidden[j] == "*":
won = False
j = j + 1
i = i + 1
if won == False:
print("You lost")
else:
print("You won")
Part D
Part C
Part CD
EFG
I
Part D
Part H
Part H
Part H
Part H
Part H
Part C
Part J
Part J
Part J
Part J
Python Example 3 (fully correct)
All design marks are achieved (Marks A and B)
won = False
for count in range(8):
letter = input()
hidden = findLetter(word, letter, hidden)
print(hidden)
if word == hidden:
won = True
print("You won")
break
if won == False:
print("You lost")
Part D
C
EFG
I
Part D, H
Part D
Part J
Part D
Part J
Part J
33
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
VB.NET Example 1 (fully correct)
All design marks are achieved (Marks A and B)
won = False
For i = 0 To 7
letter = Console.ReadLine()
hidden = findLetter(word, letter, hidden)
Console.WriteLine(hidden)
won = True
For j = 0 To hidden.Length - 1
If hidden(j) = "*" Then
won = False
End If
Next
If won = True Then
Exit For
End If
Next
If won = False Then
Console.WriteLine("You lost")
Else
Console.WriteLine("You won")
End If
Part D
C
EFG
I
Part D
Part H
Part H
Part H
Part D
Part D
Part J
Part J
Part J
Part J
A. Write in place of WriteLine;
I. missing Console.
VB.NET Example 2 (fully correct)
All design marks are achieved (Marks A and B)
won = False
x = 0
While x < 8 And won = False
letter = Console.ReadLine()
hidden = findLetter(word, letter, hidden)
Console.WriteLine(hidden)
won = True
y = 0
While y < hidden.Length
If hidden(j) = "*" Then
won = False
End If
y = y + 1
End While
x = x + 1
End While
If won = False Then
Console.WriteLine("You lost")
Else
Console.WriteLine("You won")
End If
A. Write in place of WriteLine;
I. missing Console.
34
Part D
Part C
Part CD
EFG
I
Part D
Part H
Part H
Part H
Part H
Part H
Part C
Part J
Part J
Part J
Part J
MARK SCHEME – GCSE COMPUTER SCIENCE – 8525/1 – JUNE 2025
VB.NET Example 3 (fully correct)
All design marks are achieved (Marks A and B)
won = False
For count = 1 To 8
letter = Console.ReadLine()
hidden = findLetter(word, letter, hidden)
Console.WriteLine(hidden)
If word = hidden Then
won = True
Console.WriteLine("You won")
Exit For
End If
Next
If won = False Then
Console.WriteLine("You lost")
End If
Part D
C
EFG
I
Part D, H
Part D
Part J
Part D
Part J
Part J
A. Write in place of WriteLine;
I. missing Console.
35