Free AQA GCSE Computer Science (8525) Exam Questions and Answers
AQA GCSE Computer Science (8525) is AQA's GCSE Computer Science qualification, specification 8525, taken in England. The questions here come from AQA's published question papers from June 2022 to June 2025, plus its specimen papers, with answers and marking guidance taken from AQA's own mark schemes. Written-answer questions let you work out your answer and then reveal what the mark scheme accepts; diagrams, graphs and source material appear with the questions that use them.
Looking for AQA GCSE Computer Science (8525) exam dumps or ExamTopics questions? These practice questions cover the same ground with verified answers and explanations, a downloadable PDF and a full practice test, kept current as AQA updates the exam.
Last updated: October 10, 2026
- Provider
- AQA
- Questions in our bank
- 1000+
- Free to read
- First 10, with answers
- Our test mode duration & pass mark
- 130 mins · 70%
- Verified answers
- Reviewed weekly
- Practice format
- Written answers & multiple choice
Recommended: Switch to Test Mode to start a practice test that simulates the real exam experience.
Question #1
An algorithm, that uses the modulus operator, has been represented using pseudo-code in Figure 1. • Line numbers are included but are not part of the algorithm. Figure 1 1 i ← USERINPUT 2 IF i MOD 2 = 0 THEN 3 OUTPUT i * i 4 ELSE 5 OUTPUT i 6 ENDIF The modulus operator is used to calculate the remainder after dividing one integer by another. For example: • 14 MOD 3 evaluates to 2 • 24 MOD 5 evaluates to 4 Shade one lozenge that shows the line number where selection is first used in the algorithm in Figure 1.

Correct answer: B
Explanation
One mark for line number 2. Reject if more than one lozenge is shaded.
Continue with AQA GCSE Computer Science (8525)
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AQA GCSE Computer Science (8525), the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #2
An algorithm, that uses the modulus operator, has been represented using pseudo-code in Figure 1. • Line numbers are included but are not part of the algorithm. Figure 1 1 i ← USERINPUT 2 IF i MOD 2 = 0 THEN 3 OUTPUT i * i 4 ELSE 5 OUTPUT i 6 ENDIF The modulus operator is used to calculate the remainder after dividing one integer by another. For example: • 14 MOD 3 evaluates to 2 • 24 MOD 5 evaluates to 4 Shade one lozenge that shows the output from the algorithm in Figure 1 when the user input is 4

Correct answer: E
Explanation
One mark for 16. Reject if more than one lozenge is shaded.
Continue with AQA GCSE Computer Science (8525)
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AQA GCSE Computer Science (8525), the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #3
An algorithm, that uses the modulus operator, has been represented using pseudo-code in Figure 1. • Line numbers are included but are not part of the algorithm. Figure 1 1 i ← USERINPUT 2 IF i MOD 2 = 0 THEN 3 OUTPUT i * i 4 ELSE 5 OUTPUT i 6 ENDIF The modulus operator is used to calculate the remainder after dividing one integer by another. For example: • 14 MOD 3 evaluates to 2 • 24 MOD 5 evaluates to 4 Shade one lozenge that shows the line number where assignment is first used in the algorithm in Figure 1.

Correct answer: A
Explanation
One mark for line number 1. Reject if more than one lozenge is shaded.
Continue with AQA GCSE Computer Science (8525)
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AQA GCSE Computer Science (8525), the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #4
An algorithm, that uses the modulus operator, has been represented using pseudo-code in Figure 1. • Line numbers are included but are not part of the algorithm. Figure 1 1 i ← USERINPUT 2 IF i MOD 2 = 0 THEN 3 OUTPUT i * i 4 ELSE 5 OUTPUT i 6 ENDIF The modulus operator is used to calculate the remainder after dividing one integer by another. For example: • 14 MOD 3 evaluates to 2 • 24 MOD 5 evaluates to 4 Shade one lozenge that shows the line number that contains a relational operator in the algorithm in Figure 1.

Correct answer: B
Explanation
One mark for line number 2. Reject if more than one lozenge is shaded.
Continue with AQA GCSE Computer Science (8525)
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AQA GCSE Computer Science (8525), the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #5
An algorithm, that uses the modulus operator, has been represented using pseudo-code in Figure 1. • Line numbers are included but are not part of the algorithm. Figure 1 1 i ← USERINPUT 2 IF i MOD 2 = 0 THEN 3 OUTPUT i * i 4 ELSE 5 OUTPUT i 6 ENDIF The modulus operator is used to calculate the remainder after dividing one integer by another. For example: • 14 MOD 3 evaluates to 2 • 24 MOD 5 evaluates to 4 Shade one lozenge to show which of the following is a true statement about the algorithm in Figure 1.

Correct answer: D
Explanation
One mark for the multiplication operator statement. Reject if more than one lozenge is shaded.
Continue with AQA GCSE Computer Science (8525)
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AQA GCSE Computer Science (8525), the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #6
An algorithm, that uses the modulus operator, has been represented using pseudo-code in Figure 1. • Line numbers are included but are not part of the algorithm. Figure 1 1 i ← USERINPUT 2 IF i MOD 2 = 0 THEN 3 OUTPUT i * i 4 ELSE 5 OUTPUT i 6 ENDIF The modulus operator is used to calculate the remainder after dividing one integer by another. For example: • 14 MOD 3 evaluates to 2 • 24 MOD 5 evaluates to 4 Figure 2 shows an implementation of the algorithm in Figure 1 using the C# programming language. • Line numbers are included but are not part of the program. Figure 2 1 Console.Write("Enter a number: "); 2 int i = Convert.ToInt32(Console.ReadLine()); 3 if (i % 2 == 0) { 4 Console.WriteLine(i * i); 5 } 6 else { 7 Console.WriteLine(i); 8 } The program in Figure 2 needs to be changed so that it repeats five times using definite (count controlled) iteration. Shade one lozenge next to the program that does this correctly.

Correct answer: A
Explanation
One mark for option A. Reject if more than one lozenge is shaded.
Continue with AQA GCSE Computer Science (8525)
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AQA GCSE Computer Science (8525), the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #7
Figure 3 shows an algorithm, represented using pseudo-code, that calculates the delivery cost for an order from a takeaway company. Figure 3 orderTotal ← USERINPUT deliveryDistance ← USERINPUT deliveryCost ← 0.0 messageOne ← "Minimum spend not met" messageTwo ← "Delivery not possible" IF deliveryDistance ≤ 5 AND orderTotal > 0.0 THEN IF orderTotal > 50.0 THEN deliveryCost ← 1.5 OUTPUT deliveryCost ELSE IF orderTotal > 25.0 THEN deliveryCost ← (orderTotal / 10) * 2 OUTPUT deliveryCost ELSE OUTPUT messageOne ENDIF ELSE OUTPUT messageTwo ENDIF Using Figure 3, complete the table.

Type your answer, then reveal.
Correct answer: Input orderTotal 55.5 with deliveryDistance 35.0 gives output 1.5. The second row gives output 7.0 (7 is accepted).
Explanation
Two marks for the table. One mark for each correct output value: 1.5 and 7.0. 7 is accepted for 7.0.
Continue with AQA GCSE Computer Science (8525)
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AQA GCSE Computer Science (8525), the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #8
Figure 3 shows an algorithm, represented using pseudo-code, that calculates the delivery cost for an order from a takeaway company. Figure 3 orderTotal ← USERINPUT deliveryDistance ← USERINPUT deliveryCost ← 0.0 messageOne ← "Minimum spend not met" messageTwo ← "Delivery not possible" IF deliveryDistance ≤ 5 AND orderTotal > 0.0 THEN IF orderTotal > 50.0 THEN deliveryCost ← 1.5 OUTPUT deliveryCost ELSE IF orderTotal > 25.0 THEN deliveryCost ← (orderTotal / 10) * 2 OUTPUT deliveryCost ELSE OUTPUT messageOne ENDIF ELSE OUTPUT messageTwo ENDIF State how many possible values the result of the comparison deliveryDistance ≤ 5 could have in the algorithm shown in Figure 3.

Type your answer, then reveal.
Correct answer: 2 (two)
Explanation
One mark for 2 or two.
Continue with AQA GCSE Computer Science (8525)
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AQA GCSE Computer Science (8525), the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #9
Figure 3 shows an algorithm, represented using pseudo-code, that calculates the delivery cost for an order from a takeaway company. Figure 3 orderTotal ← USERINPUT deliveryDistance ← USERINPUT deliveryCost ← 0.0 messageOne ← "Minimum spend not met" messageTwo ← "Delivery not possible" IF deliveryDistance ≤ 5 AND orderTotal > 0.0 THEN IF orderTotal > 50.0 THEN deliveryCost ← 1.5 OUTPUT deliveryCost ELSE IF orderTotal > 25.0 THEN deliveryCost ← (orderTotal / 10) * 2 OUTPUT deliveryCost ELSE OUTPUT messageOne ENDIF ELSE OUTPUT messageTwo ENDIF State the most suitable data type for the following variables used in Figure 3.

Type your answer, then reveal.
Correct answer: deliveryCost: Float / Real / Decimal. messageOne: String.
Explanation
One mark for each correct data type. deliveryCost is Float, Real or Decimal. messageOne is String or str. Ignore case. Programming-language-specific data types are accepted, eg Single in VB.NET.
Continue with AQA GCSE Computer Science (8525)
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AQA GCSE Computer Science (8525), the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #10
Figure 3 shows an algorithm, represented using pseudo-code, that calculates the delivery cost for an order from a takeaway company. Figure 3 orderTotal ← USERINPUT deliveryDistance ← USERINPUT deliveryCost ← 0.0 messageOne ← "Minimum spend not met" messageTwo ← "Delivery not possible" IF deliveryDistance ≤ 5 AND orderTotal > 0.0 THEN IF orderTotal > 50.0 THEN deliveryCost ← 1.5 OUTPUT deliveryCost ELSE IF orderTotal > 25.0 THEN deliveryCost ← (orderTotal / 10) * 2 OUTPUT deliveryCost ELSE OUTPUT messageOne ENDIF ELSE OUTPUT messageTwo ENDIF State one other common data type that you have not given in your answer to Question 02.3.

Type your answer, then reveal.
Correct answer: Any other common data type, eg Boolean, Integer, Date/Time or Character.
Explanation
One mark for any reasonable data type not given in 02.3, eg Boolean/Bool, Int/Integer, Date/Time or Character. Reject any answer already given in 02.3. Ignore case.
Continue with AQA GCSE Computer Science (8525)
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AQA GCSE Computer Science (8525), the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Discussion
Explain your reasoning, not just the letterOther AQA certifications
- AQA GCSE Combined Science: Trilogy (8464) (opens in a new tab)
- AQA GCSE Mathematics (8300) (opens in a new tab)
- AQA GCSE Combined Science: Synergy (8465) (opens in a new tab)
- AQA GCSE Chemistry (8462) (opens in a new tab)
- AQA GCSE Physics (8463) (opens in a new tab)
- AQA GCSE Biology (8461) (opens in a new tab)
- AQA GCSE Religious Studies A (8062) (opens in a new tab)
- AQA GCSE Spanish (8698) (opens in a new tab)
- AQA GCSE Geography (8035) (opens in a new tab)
- AQA GCSE German (8668) (opens in a new tab)
- AQA GCSE French (8658) (opens in a new tab)
- AQA GCSE Psychology (8182) (opens in a new tab)
Reviews
Write a review★★★★★
Exam Practice is worth every penny. The mock exams are realistic, and the feedback helped me focus on key areas.
Amit SharmaVerified buyer
★★★★★
I highly recommend Exam Practice. The feedback after each test helped me improve significantly, and I passed my exams easily.
Oscar NyströmVerified buyer
★★★★★
This platform is a lifesaver. The practice questions and explanations are so detailed. It’s the best study tool I’ve ever used.
Hannah SmithVerified buyer



