String handling operations in a programming language: AQA GCSE Computer Science questions
Every AQA GCSE Computer Science exam question on 3.2.8 String handling operations in a programming language, 2022–2025, with its mark scheme and examiner’s report.
Paper
All papers
Exam
All years
Calculations
Q04.6
The whole paper ↗Q08.2
The whole paper ↗Q04.6
The whole paper ↗Q08.2
The whole paper ↗Q04.6
The whole paper ↗Q08.2
The whole paper ↗Q01.1
The whole paper ↗Q01.2
The whole paper ↗Q01.1
The whole paper ↗Q01.2
The whole paper ↗Q01.1
The whole paper ↗Q01.2
The whole paper ↗Q01.2
The whole paper ↗Q01.3
The whole paper ↗Q01.4
The whole paper ↗Q01.5
The whole paper ↗Q01.2
The whole paper ↗
All 48 questions on String handling operations in a programming language, as a list
- June 2025, Paper 1 (C#), Q04.6 (3 marks): A programmer is designing an algorithm to generate usernames for users. The algorithm should: • ask the user to input their first name and their last name • cre
- June 2025, Paper 1 (C#), Q08.2 (1 mark): Explain why line 4 in Figure 8 uses LEN(b1) - 1 instead of LEN(b1) [1 mark]
- June 2025, Paper 1 (Python), Q04.6 (3 marks): A programmer is designing an algorithm to generate usernames for users. The algorithm should: • ask the user to input their first name and their last name • cre
- June 2025, Paper 1 (Python), Q08.2 (1 mark): Explain why line 4 in Figure 8 uses LEN(b1) - 1 instead of LEN(b1) [1 mark]
- June 2025, Paper 1 (VB.NET), Q04.6 (3 marks): A programmer is designing an algorithm to generate usernames for users. The algorithm should: • ask the user to input their first name and their last name • cre
- June 2025, Paper 1 (VB.NET), Q08.2 (1 mark): Explain why line 4 in Figure 8 uses LEN(b1) - 1 instead of LEN(b1) [1 mark]
- June 2024, Paper 1 (C#), Q01.1 (1 mark): 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 + va
- June 2024, Paper 1 (C#), Q01.2 (1 mark): 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
- June 2024, Paper 1 (C#), Q07 (4 marks): A shop owner wants to create stock codes for each type of sweet they sell. Figure 5 shows some of the sweets. Figure 5 sweetID sweetName brand S1 WINE GUMS MAYN
- June 2024, Paper 1 (Python), Q01.1 (1 mark): 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 + va
- June 2024, Paper 1 (Python), Q01.2 (1 mark): 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
- June 2024, Paper 1 (Python), Q07 (4 marks): A shop owner wants to create stock codes for each type of sweet they sell. Figure 5 shows some of the sweets. Figure 5 sweetID sweetName brand S1 WINE GUMS MAYN
- June 2024, Paper 1 (VB.NET), Q01.1 (1 mark): 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 + va
- June 2024, Paper 1 (VB.NET), Q01.2 (1 mark): 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
- June 2024, Paper 1 (VB.NET), Q07 (4 marks): A shop owner wants to create stock codes for each type of sweet they sell. Figure 5 shows some of the sweets. Figure 5 sweetID sweetName brand S1 WINE GUMS MAYN
- June 2023, Paper 1 (C#), Q01.2 (1 mark): 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
- June 2023, Paper 1 (C#), Q01.3 (1 mark): 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 S
- June 2023, Paper 1 (C#), Q01.4 (1 mark): 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
- June 2023, Paper 1 (C#), Q01.5 (1 mark): 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
- June 2023, Paper 1 (Python), Q01.2 (1 mark): 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
- June 2023, Paper 1 (Python), Q01.3 (1 mark): 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 S
- June 2023, Paper 1 (Python), Q01.4 (1 mark): 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
- June 2023, Paper 1 (Python), Q01.5 (1 mark): 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
- June 2023, Paper 1 (VB.NET), Q01.2 (1 mark): 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
- June 2023, Paper 1 (VB.NET), Q01.3 (1 mark): 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 S
- June 2023, Paper 1 (VB.NET), Q01.4 (1 mark): 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
- June 2023, Paper 1 (VB.NET), Q01.5 (1 mark): 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
- June 2022, Paper 1 (C#), Q03.1 (1 mark): Rewrite line 5 in Figure 4 to concatenate the car registration with the string " is not valid", and store the result in the variable displayMessage. Your answer
- June 2022, Paper 1 (C#), Q09.1 (1 mark): Shade one lozenge which shows the output of line 4 from the algorithm shown in Figure 8. [1 mark] A F B Freddie C Lily D S E Sarah
- June 2022, Paper 1 (C#), Q09.3 (1 mark): State the output of line 7 from the algorithm shown in Figure 8. [1 mark]
- June 2022, Paper 1 (C#), Q09.4 (2 marks): Two extra lines are being added to the end of the algorithm in Figure 8. Fill in the gaps so the output from the new final line will be the string 'Thomasrah'.
- June 2022, Paper 1 (Python), Q03.1 (1 mark): Rewrite line 4 in Figure 4 to concatenate the car registration with the string " is not valid", and store the result in the variable displayMessage. Your answer
- June 2022, Paper 1 (Python), Q09.1 (1 mark): Shade one lozenge which shows the output of line 4 from the algorithm shown in Figure 8. [1 mark] A F B Freddie C Lily D S E Sarah
- June 2022, Paper 1 (Python), Q09.3 (1 mark): State the output of line 7 from the algorithm shown in Figure 8. [1 mark]
- June 2022, Paper 1 (Python), Q09.4 (2 marks): Two extra lines are being added to the end of the algorithm in Figure 8. Fill in the gaps so the output from the new final line will be the string 'Thomasrah'.
- June 2022, Paper 1 (VB.NET), Q03.1 (1 mark): Rewrite line 5 in Figure 4 to concatenate the car registration with the string " is not valid", and store the result in the variable displayMessage. Your answer
- June 2022, Paper 1 (VB.NET), Q09.1 (1 mark): Shade one lozenge which shows the output of line 4 from the algorithm shown in Figure 8. [1 mark] A F B Freddie C Lily D S E Sarah
- June 2022, Paper 1 (VB.NET), Q09.3 (1 mark): State the output of line 7 from the algorithm shown in Figure 8. [1 mark]
- June 2022, Paper 1 (VB.NET), Q09.4 (2 marks): Two extra lines are being added to the end of the algorithm in Figure 8. Fill in the gaps so the output from the new final line will be the string 'Thomasrah'.
- Specimen, Paper 1 (C#), Q02.1 (1 mark): Shade one lozenge that shows the length of the contents of the variable level in Figure 1. [1 mark] A 1 B 2 C 3 D 4
- Specimen, Paper 1 (C#), Q02.2 (1 mark): Shade one lozenge that shows the result of concatenating the variable title with the variable level in Figure 1. [1 mark] A 'computer science gcse' B 'Computer
- Specimen, Paper 1 (C#), Q08 (7 marks): Write a C# program that inputs a character and checks to see if it is lowercase or not. Your program should work as follows: • gets the user to enter a characte
- Specimen, Paper 1 (Python), Q02.1 (1 mark): Shade one lozenge that shows the length of the contents of the variable level in Figure 1. [1 mark] A 1 B 2 C 3 D 4
- Specimen, Paper 1 (Python), Q02.2 (1 mark): Shade one lozenge that shows the result of concatenating the variable title with the variable level in Figure 1. [1 mark] A 'computer science gcse' B 'Computer
- Specimen, Paper 1 (Python), Q08 (7 marks): Write a Python program that inputs a character and checks to see if it is lowercase or not. Your program should work as follows: • gets the user to enter a char
- Specimen, Paper 1 (VB.NET), Q02.1 (1 mark): Shade one lozenge that shows the length of the contents of the variable level in Figure 1. [1 mark] A 1 B 2 C 3 D 4
- Specimen, Paper 1 (VB.NET), Q02.2 (1 mark): Shade one lozenge that shows the result of concatenating the variable title with the variable level in Figure 1. [1 mark] A 'computer science gcse' B 'Computer
- Specimen, Paper 1 (VB.NET), Q08 (7 marks): Write a VB.Net program that inputs a character and checks to see if it is lowercase or not. Your program should work as follows: • gets the user to enter a char
Questions, mark schemes and examiner’s reports are © AQA, from their published past papers. Plumi isn’t affiliated with any exam board. Want whole papers? Full past papers.
Rather write your answers by hand on iPad? Plumi marks them against the same mark schemes.