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

Section C Answers
Is there a way we could get the mark scheme for the section C practice questions 212.219.118.148 (discuss) 10:20, 23 March 2022 (UTC)


 * when are the answers getting posted? 79.66.51.97 (discuss) 17:17, 29 April 2022 (UTC)

Answers?
Please add answers to these predicted questions. 31.125.32.165 (discuss) 20:16, 16 May 2022 (UTC)

2022 paper 1
Are these predictions based off the ead 81.99.66.107 (discuss) 07:51, 31 May 2022 (UTC)

Difficulty Card Discard Deck Does Not Work
The website does not address that the discard function of the difficulty card does not work. The 5 cards are sent to the discard pile and not the players hand. pls help 82.4.6.97 (discuss) 16:06, 1 June 2022 (UTC)

Firstly, when "Difficulty encountered!" there are only 4 cards in the player's hand. Secondly, Since there are only 4 cards, the player should enter only 1,2,3,4 to discard a key card (if they have one). However, In the original code, the player can enter 1-5, then becasue of the index (stats from 0), the code reduces player's ented number by -1. After reducing the player entered number by one, it checks again if the new number is <0, if not then it reduces the player entered number by -1 again (so let's say the player entered 4 then it will be (4-1=3, 3-1=2). This results in not discarding the player's chosen key card instead it discards the hand cards. Finally, to solve this problem,  restrict the player to enter only 1,2,3,4 then just reduce it by -1 only one time. This will give the right index number to discard a key card from hand (if the player has one and choose the right card).

Hope this help.😊 Sid2022 (discuss • contribs) 13:31, 8 June 2022 (UTC)


 * So is this an error? Likely to come up for us to fix?
 * Is this what the difficulty error question is based on?? If so that explains a lot, i wasnt sure what it meant. 2A00:23C8:9A13:FD01:95DE:7C34:E9CF:301C (discuss) 18:53, 10 June 2022 (UTC)

Answers
Question 6 1.	Self.__GameOver 2.	__LoadGame 3.	38 4.	1st Line is the score 2nd line represents the challenges that need to be solved for that lock 3rd line represents whether each of the challenges have been solved. 4th line represents the cards remaining in the hand 5th line represents the cards remaining in sequence 6th line represents the cards in the discard pile, which is empty 7th line represents the cards remaining in the deck.

Question 7 1.	Stacks 2.	Pa; Fb; Kc

Question 8 1.	Definite iteration 2.	5 3.	33 4.	Begin by changing the definite iteration clause of the difficult cards deck to 3 instead of 5. Next, add two more lines of code to add two more cards and specify their code. 87.200.216.247 (discuss) 09:10, 7 June 2022 (UTC)


 * What shows you the answer to Question 7.1 is "stacks"'; I would just think it's a list, as self.__Locks is a list, and the class is just a list of challenges, so wouldn't it just be a 2-dimensional list? 83.244.164.242 (discuss) 17:42, 12 June 2022 (UTC)

For future years
I think it would be a good idea if the questions were clearer for future years. In general I think these questions are very hard to understand what to do without clicking on the solutions and seeing which methods to overwrite. In the exams they tell us where we edit. The difficulty shouldn't be figuring out where to implement changes, it should be the implimentation. Im appreciative to all those who contributed dont get me wrong! I just think that its very easy to overlook and assume we know what you mean (esp. if you have zigzag questions etc.). Let me know your thoughts on improving these for next years students. 2A00:23C8:9A13:FD01:95DE:7C34:E9CF:301C (discuss) 18:56, 10 June 2022 (UTC)