A-level Computing/AQA/Problem Solving, Programming, Data Representation and Practical Exercise/Skeleton code/2016 Exam/Sample Question Papers/June 2016 Practice Questions 1

June 2016 Practice Questions 1
1. Write an explanation of how get RowColumn works below 3 marks

2. Enter a break-point at an appropriate point and then debug the program. Enter a column value of a and enter nothing when asked for a row number. Insert a screenshot below of the values of the row and column integer variable values after the data has been input 2 marks

3. Modify the getRowColumn method so that it will not allow the user to make a move that is off the board. It must repeat until the user enters a valid move and output an error if they do not enter a correct row or column value. Insert a screenshot of your code below

4 marks

Test your code by entering a column value of 10, then a, then -1, then 5. Then enter a row value of 10, then a, then -1, then 5. Insert a screenshot(s) of the result below 2 marks

4. List all the characters that are stored within the array board[] and for each one, describe what it represents. 8 marks

5.	Several of the characters stored within the board are automatically generated. State the name below of the user-defined method in which this is performed.

1 mark

6. Several of the characters stored within the board are automatically generated. State the name below of the built-in method which is used to performed this operation. 1 mark