Question 1
AQA Computer Science June 2025 Paper 1A (8525/1A)GCSE7 marks
On the specification
- 1.1
- 3.2 Programming
- 1.2
- 3.2 Programming
- 1.3
- 3.2 Programming
- 1.4
- 3.1 Fundamentals of algorithms3.2 Programming
Question text
1 Figure 1 shows a program written in C#. • Line numbers are included but are not part of the program. Figure 1 1 // C# program 2 int a = 1; 3 int b = 1; 4 int c = 5; 5 while (b < c) { 6 a = a + a; 7 b = b + 1; 8 Console.WriteLine(a); 9 } 1.1 Where is an arithmetic operation first used in the program in Figure 1? Shade one lozenge. [1 mark] A Line number 1 B Line number 5 C Line number 6 D Line number 8 1.2 Which of the following is a false statement about the program in Figure 1? Shade one lozenge. [1 mark] A This program contains a comment. B This program uses assignment. C This program uses concatenation. D This program uses iteration. 1.3 State the relational operator used in the program in Figure 1. box [1 mark] 1.4 Complete the trace table for the program in Figure 1. You may not need to use all the rows in the table. [4 marks] a b c Output