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

Issue with the Python solution to Question 2
"It allows it to be accessed from outside the class by the main functions, otherwise if it was a private method this would not be possible." I am under the impression python doesn't have any true private methods? I thought adding the two underscores just changed the name of the method slightly so it won't be used accidentally? So technically otherwise it would still be "possible" in python. 23:47, 11 June 2023 (UTC)

Issue with the Python solution to Question 3
Unless I'm completely wrong, shouldn't the condition of the while loop be `while not (MoveLegal and SquareIsValid):`? At the moment the check for whether the square is valid is not being used, so if an invalid square is chosen it would keep going, right? Vallieplushie (discuss • contribs) 09:00, 30 November 2022 (UTC)


 * You're right, it should be, though it makes sense it went unnoticed as in most cases only checking MoveLegal works fine. With the current check an invalid square is only accepted if the invalid square passes CheckPlayerMove, for example moving piece 25 to square 27 (invalid) using a Chowkidar. 195.194.74.162 (discuss) 10:07, 15 March 2023 (UTC)

Issue with 9.3
The answer CheckIfThereIsAMoveToSquare is not a private method as it does not have 2 leading underscores. __CreateBoard should be regarded as a correct answer if I am not mistaken. 2A02:C7C:C083:CE00:B9D2:92C6:245F:C1A4 (discuss) 20:02, 4 April 2023 (UTC)