AQA · GCSE · Computer Science
Paper 1A Computational thinking and programming skills (C#)
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
01.0 · 1 mark Binary representation of data and instructions Which statement best describes what computers represent using binary? Shade one lozenge. 02.1 · 1 mark Binary-to-decimal number conversion Convert the binary number 10110111 into decimal. 02.2 · 2 marks Decimal-to-hexadecimal number conversion Convert the decimal number 112 into hexadecimal. You should show your working. 03.0 · 2 marks Adding binary numbers Add together the following three binary numbers and give your answer in binary. 04.1 · 1 mark Two-place left binary shift State the result of applying a left binary shift of two to the bit pattern shown in Figure 1. 04.2 · 1 mark Decimal result of binary shift State the result of applying a left binary shift of one to the bit pattern shown in Figure 1. Give your answer in decimal. 04.3 · 1 mark Applications of binary shifts Which statement best describes where a single binary shift can be used? Shade one lozenge. 05.1 · 1 mark Pixel count from bitmap grid State the number of pixels in Image A in Figure 2. 05.2 · 1 mark Minimum bitmap colour depth State the minimum colour depth required to represent Image B in Figure 2. 05.3 · 2 marks Bitmap storage size calculation Calculate the minimum amount of storage required to store Image D from Figure 2. Give your answer in bytes. Show your working. 05.4 · 1 mark Binary colour-code mapping Complete the table to show the binary representation of each colour in Image D. 05.5 · 2 marks Colour-depth effect on file size State the impact of this increase on the minimum file sizes of both Image C and Image D.