A-level Computing/AQA/Paper 1/Skeleton program/2021

This is for the AQA A Level Computer Science Specification.

This is where suggestions can be made about what some of the questions might be and how we can solve them.

Please be respectful and do not vandalise the page, as this would affect students' preparation for exams! Please do not discuss questions on this page. Instead use the discussion page.



Section C Predictions
The 2021 paper 1 will contain 4 questions worth 13 marks.
 * Question here
 * Question here
 * Question here
 * Question here

Section D Predictions
Programming Questions on Skeleton Program
 * The 2020 paper 1 contained 4 questions: a 6 mark, an 8 mark question, a 11 mark question and one 12 mark question - these marks include the screen capture(s), so the likely marks for the coding will be 1-2 marks lower.
 * The 2019 paper 1 contained 4 questions: a 5 mark, an 8 mark question, a 9 mark question and one 13 mark question - these marks include the screen capture(s), so the marks for the coding will be 1-2 marks lower.
 * The 2018 paper 1 contained one 2 mark question, a 5 mark question, two 9 mark questions, and one 12 mark question - these marks include the screen capture(s).
 * The 2017 paper 1 contained a 5 mark question, three 6 mark questions, and one 12 mark question.

Current questions are speculation by contributors to this page.

Display the tile numbers
Create a subroutine 'DrawGridWithTileNumbers' which will display the tile numbers on a grid to help the players identify each tile

eg for the default game:

0    1     2     3      4     5     6     7   8     9    10    11     12    13    14    15  16    17    18    19     20    21    22    23  24    25    26    27     28    29    30    31

Create a new method in the class HexGrid to allow you to easily recall the size: Add the following lines to Playgame (just before loop):

Add the new subroutine:

Help Command
This question refers to the subroutine PlayGame.

Currently, the player can enter move, saw, dig, upgrade, or spawn as a command. The game is to be amended so that the player can enter a help command, which will show the list of commands they can enter. The help command should not impede the players commands. In other words, the player should be able to enter “help” and it should not be counted as one of the three commands the player enters.

Start with a grid of any even width
Create a new function to be called instead of default game or load game. This should allow the user to enter any even number and create a grid of that size. Each location in the grid should have a 25% chance of being a forest, 25% chance of being a peat bog and 50% chance of being a plain. The Barons should still start in the corners of the map as in the default game with a serf in an adjacent tile.

Add another command called teleport that allows any piece to move to any location, at a cost of three fuel
Describe the question here

Add another type of tile called ore (or other type of resource)
Currently there are 3 terrain types: field, peat bog, and forest. The new type of tile will have the $ symbol and there will be 1 ore for every 10 tiles. 1 ore is worth 2 fuel.

Save Option.
My best guess is a way of saving the game; currently you can load game1.txt, but you can't save a game that you are playing. The text file gives us the format to use, so I think this is quite likely.

Game Over Bug
With this version, a player can trap their own baron to end the game. While this kind of makes sense, it is possible that they could ask you to make it so that at least one of the pieces that are trapping a baron must belong to the other player.

Land Mine
Currently, if your baron gets trapped (if the game is over), you can see exactly what is going on. A land mine could be placed on a tile, and hidden from both players, so that if your opponent steps on that tile, they lose that piece.

New Piece Type
We have 4 piece types: baron, serf, LESS (Lumberjack), and PBDS (Peat digger). It is possible (especially if there are new terrains or resources), that they might ask you to create a new piece type.

New question
Question description

New question
Question description

New question
Question description

New question
Question description

New question
Question description

New question
Question description