Question Constellation Sign up for free

AQA · GCSE · Computer Science

Paper 1A Computational thinking and programming skills (C#)

10.1 · 1 mark Tracing nested subroutine calls State what will be displayed by Console.WriteLine when First is called with 3, 4 and 4 for p1, p2 and p3. 11.0 · 7 marks Looping credential authentication in C# Write a C# program to authenticate a username and password, displaying Access denied for an invalid pair, Access granted for a... 12.1 · 2 marks Updating a sliding-puzzle board Complete the board to show the new positions of the tiles after the program in Figure 14 is run on the board in Figure 15. 12.2 · 2 marks Tracing sliding-puzzle code statements Which two statements about the program in Figure 16 are true when it is used with the board in Figure 17? Shade two lozenges. 12.3 · 1 mark First iteration through puzzle positions Explain the purpose of the first iteration structure in the program in Figure 16. 12.5 · 1 mark Interpreting a sliding-puzzle program State the purpose of the program in Figure 16. 12.6 · 4 marks Checking consecutive tile values in C# Write a C# program using getTile to check whether the three tile values in the first row are consecutive increasing values... 12.7 · 6 marks Programming a sliding-puzzle move loop Write a C# program using solved, checkSpace and move to repeatedly input a tile row and column, move an adjacent tile into the... 13.0 · 3 marks Linear search process Explain how the linear search algorithm works. 14.1 · 1 mark Properties of local variables State one property of local variables that is not true for all variables. 14.2 · 6 marks C# function for counting visitor days Using C#, write a subroutine to help a museum review the number of visitors in a month. 15.0 · 8 marks Programming array-based movement validation Extend the program from Figure 22 so that the game works as described in Figure 21. 02.5 · 1 mark Inputs producing Unknown output A user inputs a value into the algorithm in Figure 2. State one value that the user could input that would result in an output... 10.2 · 1 mark Tracing nested subroutine calls State what will be displayed by Console.WriteLine when First is called with 3, 4 and 8 for p1, p2 and p3. 12.4 · 1 mark Second iteration through puzzle positions Explain the purpose of the second iteration structure in the program in Figure 16.

AQA · GCSE · Computer Science

Paper 2 Computing concepts