Talk:A-level Computing/AQA/Paper 1/Skeleton program/AS2019

Please add four tildes to the end of each of your messages! This is even mentioned by Wikibooks upon editing. A Doctor Who (discuss • contribs) 17:48, 20 May 2019 (UTC)

Question 7
As removed by Will1760 earlier (many thanks for directing me to this page, I had not noticed it before): I was wondering if a simpler solution could be found by preventing the game from sabing unless the total turns done [Including turn skips, see Questions 1 and 3] are even. This would be compatible with Question 14 as well, however it may not be acceptable due to the fact that you can't save after any turn. A Doctor Who (discuss • contribs) 11:04, 15 April 2019 (UTC)

Question 8
This would be mutually exclusive with Question 13, correct? A Doctor Who (discuss • contribs) 11:09, 15 April 2019 (UTC)


 * It would appear that way. Perhaps the question could be combined? Will1760 (discuss • contribs) 17:24, 24 April 2019 (UTC)

Question 15
Question 15 refers to a stalemate and their appears to be a discussion on the possibility of this occurring. Is this a valid task considering dames are unable to move backwards and, assuming the code was edited to allow them to move backwards, allowing pieces to jump the opposing players pieces is more likely than any stalemate decision? Will1760 (discuss • contribs) 17:19, 29 March 2019 (UTC)n vflm


 * After consideration of the complexity this would require, this seems to be irrelevant as it would almost guaranteed not appear on the exam paper. However, this would be possible if two rows of pieces from each player blocked the middle four rows of the board, as jumping would be made impossible. A Doctor Who (discuss • contribs) 11:04, 15 April 2019 (UTC)

Question 15 has now been changed to one about a use for game4.txt, and Timsa7 has noted some problems with my solution, as listed below: "There are many errors in this code do not depend on it: It only works when A has lost the game and not when B has lost the game, the range is wrong in ValidTeleport, TestMove does not need to exist as the code in it should have remained in ListPossibleMoves." Firstly, TestMove exists to make the code easier to read. It is more useful in other solutions (due to the repetition of code being reduced), however its existence is justified. Secondly, while I thank Timsa7 for pointing out the errors, they make no effort to name possible ways to fix them. Does anybody have any suggestions? A Doctor Who (discuss • contribs) 12:23, 18 May 2019 (UTC)


 * I think defining NewRow and NewColumn in the subroutine ValidTeleport would help! (Unknown User)


 * These are from the Object Oriented Class MoveRecord. They are defined in the skeleton program already. A Doctor Who (discuss • contribs) 13:11, 20 May 2019 (UTC)


 * Timsa7 has now added an alternate Python solution. However, shouldn't ValidTeleport only be possible when no other moves can be made - in other words, when ListEmpty returns True? A Doctor Who (discuss • contribs) 13:11, 20 May 2019 (UTC)


 * A Doctor Who ; I think you should have a look at valid teleport again, there is an if statement that only lets it run if ListEmpty is true. Timsa7 (discuss • contribs) 19:53, 20 May 2019 (UTC)


 * In one solution (the top one, which is my one) this is the case, but not in the alternate one. However, the exam has now taken place, so this is less relevant. A Doctor Who (discuss • contribs) 12:04, 21 May 2019 (UTC)


 * Has this solution been suggested by the exam board at all?, and if not does anyone know who suggested it? (Random666j)


 * This wasn't suggested by the exam board. I added this suggestion after it appeared in a teacher-made mock which I did, which originated from a Facebook group for AS and A-Level Computer Science teachers.A Doctor Who (discuss • contribs) 17:46, 20 May 2019 (UTC)