2023 AQA GCSE COMPUTER SCIENCE 8525/1A, 8525/1B, 8525/1C Paper 1 Computational thinking and programming skills Question Paper & Mark scheme (Merged) June 2023 [VERIFIED]
2023 AQA GCSE COMPUTER SCIENCE 8525/1A, 8525/1B, 8525/1C Paper 1 Computational thinking and programming skills Question Paper & Mark scheme (Merged) June 2023 [VERIFIED] 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 black ink or black ball-point pen. Use pencil only for drawing. • 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 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 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. Information The total number of marks available for this paper is 90. For Examiner’s Use Question Mark 1 2–3 4–5 6–7 8–9 10–11 12 13–14 15 16 Advice 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. *JUN2385251A01* 8525/1A IB/G/Jun23/E11 2 Answer all questions. 0 1Figure 1 shows an algorithm, represented using pseudo-code, which assigns a different value to four variables. Figure 1 country 'United States of America' state 'California' city 'San Francisco' landmark 'Alcatraz Island' 0 1 . 1Define 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 Do not write outside the box *02* IB/G/Jun23/8525/1A 3 0 1 . 3 What is the result of concatenating the contents of the variables city and landmark in Figure 1? Shade one lozenge. [1 mark] A San Francisco Alcatraz Island B San Francisco,Alcatraz Island C San Francisco, Alcatraz Island D San FranciscoAlcatraz Island 0 1 . 4 The subroutine SUBSTRING extracts characters from a given 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 Turn over ► *03* Do not write outside the box IB/G/Jun23/8525/1A 4 Figure 1 has been included again below. Figure 1 country 'United States of America' state 'California' city 'San Francisco' landmark 'Alcatraz Island' 0 1 . 5 The subroutine POSITION finds the first position of a character in a string. For example, POSITION('Computing', 'p') would return 3 The variable z is assigned a value using the statement: z POSITION(landmark, 't') Using Figure 1, what value is assigned to z? Shade one lozenge. [1 mark] A –1 B 3 C 4 D 5 Do not write outside the box 6 *04*
Written for
- Institution
- AQA AS/A-LEVEL
- Course
- AQA AS/A-LEVEL
Document information
- Uploaded on
- May 14, 2024
- Number of pages
- 151
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
2023 aqa gcse computer science 85251a 85251b
Also available in package deal