AQA GCSECOMPUTER SCIENCEPAPER 1 COMPUTATIONAL
THINKING AND PROGRAMMING SKILLS – VB QP MAY 2024
, 1
Do not write
outside the
box
GCSE
COMPUTER SCIENCE
Paper 1 Computational thinking and programming skills – VB.NET
Wednesday 15 May 2024 Afternoon Time allowed: 2 hours
Materials
• There are no additional materials required for this paper. For Examiner’s Use
• You must not use a calculator.
Instructions Question Mark
• Use black ink or black ball-point pen. Use pencil only for drawing.
1
• Answer all questions.
• You must answer the questions in the spaces provided.
• If you need extra space for your answer(s), use the lined pages at the end of this 2–3
book. Write the question number against your answer(s).
• Do all rough work in this book. Cross through any work you do not want to be 4–5
marked.
• Questions that require a coded solution must be answered in VB.NET.
• You should assume that all indexing in code starts at 0 unless stated otherwise. 6–7
8–9
Information
The total number of marks available for this paper is 90.
10–11
12
13–14
15
TOTAL
Please write clearly in block capitals.
Centre number Candidate number
Turn over ►
Surname
Forename(s)
IB/G/Jun24/8525/1C
Candidate signature
I declare this is my own work.
, 2
Do not write
outside the
box
Advice
For the multiple-choice questions, completely fill in the lozenge alongside the appropriate answer.
CORRECT METHOD WRONG METHODS
If you want to change your answer you must cross out your original answer as shown.
If you wish to return to an answer previously crossed out, ring the answer you now wish to select as
shown.
*JUN2485251C01* IB/G/Jun24/G4005/E11 8525/1C
Answer all questions.
IB/G/Jun24/8525/1C
, 3
Do not write
outside the
box
0 1 Figure 1 shows an algorithm, represented using pseudo-code.
The algorithm assigns different values to two variables, then asks the user to input
a letter.
Figure 1
film "Godzilla vs. Kong"
year 2021
OUTPUT "Please guess a letter"
letter USERINPUT
0 1 .1 Which pseudo-code statement assigns the length of the string film to a variable
called value?
Shade one lozenge.
[1 mark]
A film LEN(value)
B film film + value
C value film
D value LEN(film)
0 1 .2 The POSITION subroutine returns the position of the first occurrence of a character
in a string.
For example:
• POSITION("Godzilla vs. Kong", "o") would return 1
• POSITION("Godzilla vs. Kong", "z") would return 3
Turn over ►
IB/G/Jun24/8525/1C
THINKING AND PROGRAMMING SKILLS – VB QP MAY 2024
, 1
Do not write
outside the
box
GCSE
COMPUTER SCIENCE
Paper 1 Computational thinking and programming skills – VB.NET
Wednesday 15 May 2024 Afternoon Time allowed: 2 hours
Materials
• There are no additional materials required for this paper. For Examiner’s Use
• You must not use a calculator.
Instructions Question Mark
• Use black ink or black ball-point pen. Use pencil only for drawing.
1
• Answer all questions.
• You must answer the questions in the spaces provided.
• If you need extra space for your answer(s), use the lined pages at the end of this 2–3
book. Write the question number against your answer(s).
• Do all rough work in this book. Cross through any work you do not want to be 4–5
marked.
• Questions that require a coded solution must be answered in VB.NET.
• You should assume that all indexing in code starts at 0 unless stated otherwise. 6–7
8–9
Information
The total number of marks available for this paper is 90.
10–11
12
13–14
15
TOTAL
Please write clearly in block capitals.
Centre number Candidate number
Turn over ►
Surname
Forename(s)
IB/G/Jun24/8525/1C
Candidate signature
I declare this is my own work.
, 2
Do not write
outside the
box
Advice
For the multiple-choice questions, completely fill in the lozenge alongside the appropriate answer.
CORRECT METHOD WRONG METHODS
If you want to change your answer you must cross out your original answer as shown.
If you wish to return to an answer previously crossed out, ring the answer you now wish to select as
shown.
*JUN2485251C01* IB/G/Jun24/G4005/E11 8525/1C
Answer all questions.
IB/G/Jun24/8525/1C
, 3
Do not write
outside the
box
0 1 Figure 1 shows an algorithm, represented using pseudo-code.
The algorithm assigns different values to two variables, then asks the user to input
a letter.
Figure 1
film "Godzilla vs. Kong"
year 2021
OUTPUT "Please guess a letter"
letter USERINPUT
0 1 .1 Which pseudo-code statement assigns the length of the string film to a variable
called value?
Shade one lozenge.
[1 mark]
A film LEN(value)
B film film + value
C value film
D value LEN(film)
0 1 .2 The POSITION subroutine returns the position of the first occurrence of a character
in a string.
For example:
• POSITION("Godzilla vs. Kong", "o") would return 1
• POSITION("Godzilla vs. Kong", "z") would return 3
Turn over ►
IB/G/Jun24/8525/1C