AQA
GCSE
COMPUTER SCIENCE
Paper 1 Computational thinking and programming skills – C#
Friday 19 May 2023 Afternoon Time allowed: 2 hours
Materials
• There are no additional materials required for this paper.
• You must not use a calculator.
Instructions
• Use ...
GCSE
COMPUTER SCIENCE
Paper 1 Computational thinking and programming skills – C#
Friday 19 May 2023 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.
Questio Mark
Instructions n
Use black ink or black ball-point pen. Use pencil only for drawing. 1
Answer all questions. 2–3
You must answer the questions in the spaces provided.
4–5
If you need extra space for your answer(s), use the lined pages at
the end of this book. Write the question number against your 6–7
answer(s). 8–9
Do all rough work in this book. Cross through any work you do
10–11
not want to be marked.
Questions that require a coded solution must be answered in C#. 12
You should assume that all indexing in code starts at 0 unless stated otherwise.
13–14
15
Information 16
The total number of marks available for this paper is 90.
TOTAL
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 sho
*Jun23 5251A01*
IB/G/Jun23/E11 8525/1A
, 2
Do not write
outside the
Answer all box
questions.
0 11 shows an algorithm, represented using pseudo-code, which assigns a
Figure
different value to four variables.
Figure 1
country 'United States of America'
state 'California'
city 'San Francisco'
landmark 'Alcatraz Island'
0 1 .1 Define the term algorithm.
[2 marks]
0 1 .2 The variable x is assigned a value using the statement:
x LEN(state)
Using Figure 1, what is the value
of x? Shade one lozenge.
[1 mark]
A 1
B 5
C 10
D 12
*02
IB/G/
* Jun23/8525/1A
, 3
Do not write
outside the
0 1 .3 What is the result of concatenating the contents of the variables box
city and
landmark in Figure
1? Shade one [1
mark]
lozenge.
A San Francisco Alcatraz Island
B San Francisco,Alcatraz Island
C San Francisco, Alcatraz Island
D San FranciscoAlcatraz Island
. The subroutine SUBSTRING extracts characters from a given
0 1 4
string.
For example, SUBSTRING(3, 5, 'Computing') would return
put
The variable y is assigned a value using the statement:
y SUBSTRING(4, 7, landmark)
Using Figure 1, what is the value
of y? Shade one lozenge. [1 mark]
A Alca
B Atra
C land
D traz
Question 1 continues on the next page
*03
IB/G/
* Jun23/8525/1A
, 4
Do not write
outside the
Turn over ►
*03
IB/G/
* Jun23/8525/1A
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller bestgradesA33. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £12.07. You're not tied to anything after your purchase.