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
Exam (elaborations)

AQA GCSE JUNE 2024 COMPUTER SCIENCE PAPERS AND MARKSCHEMES COMBINED MERGED

Rating
5.0
(1)
Sold
1
Pages
234
Grade
A+
Uploaded on
11-12-2024
Written in
2024/2025

AQA GCSE JUNE 2024 COMPUTER SCIENCE PAPERS AND MARKSCHEMES COMBINED MERGED

Institution
GCSE

Content preview

Please write clearly in block capitals.

Centre number Candidate number


Surname

Forename(s)

Candidate signature
I declare this is my own work.



GCSE
COMPUTER SCIENCE
Paper 1 Computational thinking and programming skills – C#

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.
Question Mark
Instructions 1
• Use black ink or black ball-point pen. Use pencil only for drawing.
2–3
• Answer all questions.
• 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 6–7
this book. Write the question number against your answer(s).
• Do all rough work in this book. Cross through any work you do not want 8–9
to be marked. 10–11
• 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
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
shown.




*JUN2485251A01*
IB/G/Jun24/G4005/E11 8525/1A

, 2

Do not write
outside the
Answer all questions. 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

letter and film are variables used in the algorithm in Figure 1.

Complete the pseudo-code statement to find the position of the first occurrence of the
contents of letter in film and store this position in the variable location

You must use the POSITION subroutine in your answer.
[1 mark]

location 




*02*
IB/G/Jun24/8525/1A

, 3

Do not write
outside the
0 1 . 3 Which of the following would be the most suitable data type for the variable year? box



Shade one lozenge.
[1 mark]


A Boolean

B character

C integer

D real




0 1 . 4 Describe what is meant by an assignment statement in a program.
[1 mark]




Question 1 continues on the next page




Turn over ►

*03*
IB/G/Jun24/8525/1A

, 4

Do not write
outside the
0 1 . 5 Write a C# program that: box


• gets the user to enter the name of a film
• displays You entered followed by the name of the film entered by the user.

The output from the program must be on one line.

You should use meaningful variable name(s) and C# syntax in your answer.

The answer grid below contains vertical lines to help you indent your code
accurately.
[2 marks]




6




*04*
IB/G/Jun24/8525/1A

Written for

Document information

Uploaded on
December 11, 2024
Number of pages
234
Written in
2024/2025
Type
Exam (elaborations)
Contains
Only questions

Subjects

£6.50
Get access to the full document:

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

Reviews from verified buyers

Showing all reviews
1 year ago

1 year ago

Check out tyrionpapers(dot)com or email tyrionlay(at)gmail(dot)com for more 2024 stuffs including topic tests and revision note

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

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.
theshadeoflife38 tsd
View profile
Follow You need to be logged in order to follow users or courses
Sold
779
Member since
3 year
Number of followers
105
Documents
826
Last sold
1 hour ago

4.3

91 reviews

5
60
4
18
3
3
2
3
1
7

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed 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