100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

AQA GCSECOMPUTER SCIENCEPAPER 1 COMPUTATIONAL THINKING AND PROGRAMMING SKILLS – C# QP MAY 2024

Rating
-
Sold
-
Pages
111
Grade
A+
Uploaded on
10-09-2024
Written in
2024/2025

AQA GCSECOMPUTER SCIENCEPAPER 1 COMPUTATIONAL THINKING AND PROGRAMMING SKILLS – C# QP MAY 2024

Institution
AQA GCSECOMPUTER SCIENCE
Course
AQA GCSECOMPUTER SCIENCE











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
AQA GCSECOMPUTER SCIENCE
Course
AQA GCSECOMPUTER SCIENCE

Document information

Uploaded on
September 10, 2024
Number of pages
111
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

AQA GCSECOMPUTER SCIENCEPAPER 1
COMPUTATIONAL THINKING AND
PROGRAMMING SKILLS – C# QP MAY 2024

, 1

Do not write
outside the
box




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.
• You must not use a calculator.
Instructions
• Use black ink or black ball-point pen. Use pencil only for drawing.
• Answer all questions.
• You must answer the questions in the spaces provided.




Turn over ►




IB/G/Jun24/8525/1A

, For Examiner’s Use


2 Question Mark

1 Do not write
outside the
box
• If you need extra space for your answer(s), use the lined pages at the end of 2–3
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 to
4–5
be marked.
• Questions that require a coded solution must be answered in C#.
• You should assume that all indexing in code starts at 0 unless stated otherwise. 6–7


Information 8–9
The total number of marks available for this paper is 90.
10–11
Advice
12


13–14


15


TOTAL


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.




IB/G/Jun24/G4005/E11



Answer all questions.




IB/G/Jun24/8525/1A

, 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

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



Turn over ►




IB/G/Jun24/8525/1A

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.
papersbybree Yale University
View profile
Follow You need to be logged in order to follow users or courses
Sold
974
Member since
2 year
Number of followers
576
Documents
4145
Last sold
1 month ago
PapersbyBree

All exam Papers Available at an affordable price AQAs,OCRs and Edexcel Exams Worry less as you are guaranteed of success

4.1

223 reviews

5
121
4
52
3
24
2
10
1
16

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 tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right 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 aced it. It really can be that simple.”

Alisha Student

Frequently asked questions