Study Plan
Monday: Submit Finalized Create Task
Tuesday: Work on CSP Terms
Wednesday: Work on CSP Terms/Take Quiz 5
Thursday: Take Quiz 5
Friday: AP EXAM (APUSH)
Quiz 5 Score:
Quiz 5 Corrections
Question 15: Which of the following best compares the values displayed by programs A and B?
Answer: Program A and program B display the same number of values, but the values differ.
Question 17: An online game collects data about each player’s performance in the game. A program is used to analyze the data to make predictions about how players will perform in a new version of the game.
The procedure GetPrediction (idNum) returns a predicted score for the player with ID number idNum. Assume that all predicted scores are positive. The GetPrediction procedure takes approximately 1 minute to return a result. All other operations happen nearly instantaneously.
Two versions of the program are shown below.
Correct Answer: Version II requires approximately 5 more minutes to execute than version I.
Question 25: The following code segment is intended to remove all duplicate elements in the list myList. The procedure does not work as intended.
For which of the following contents of myList will the procedure NOT produce the intended results?
Correct Answer:
Question 30: While debugging the program, the student realizes that the loop never terminates. Which of the following changes can be made so that the program works as intended?
Correct Answer: Inserting index ← index - 1 between lines 7 and 8
Question 36: A user enters a Web address in a browser, and a request for a file is sent to a Web server. Which of the following best describes how the file is sent to the user?
Correct Answer: The file is broken into packets for transmission. The packets must be reassembled upon receipt.
Question 43: Which of the following statements about the Internet is true?
Correct Answer:
The Internet is designed to scale to support an increasing number of users.
Study Plan Monday: Submit Finalized Create Task Tuesday: Work on CSP Terms Wednesday: Work on CSP Terms/Take Quiz 5 Thursday: Take Quiz 5 Friday: AP EXAM (APUSH)
Quiz 5 Score:
Quiz 5 Corrections
Question 15: Which of the following best compares the values displayed by programs A and B? Answer: Program A and program B display the same number of values, but the values differ.
Question 17: An online game collects data about each player’s performance in the game. A program is used to analyze the data to make predictions about how players will perform in a new version of the game.
The procedure GetPrediction (idNum) returns a predicted score for the player with ID number idNum. Assume that all predicted scores are positive. The GetPrediction procedure takes approximately 1 minute to return a result. All other operations happen nearly instantaneously.
Two versions of the program are shown below.
Correct Answer: Version II requires approximately 5 more minutes to execute than version I.
Question 25: The following code segment is intended to remove all duplicate elements in the list myList. The procedure does not work as intended.
For which of the following contents of myList will the procedure NOT produce the intended results?
Correct Answer:
Question 30: While debugging the program, the student realizes that the loop never terminates. Which of the following changes can be made so that the program works as intended?
Correct Answer: Inserting index ← index - 1 between lines 7 and 8
Question 36: A user enters a Web address in a browser, and a request for a file is sent to a Web server. Which of the following best describes how the file is sent to the user?
Correct Answer: The file is broken into packets for transmission. The packets must be reassembled upon receipt.
Question 43: Which of the following statements about the Internet is true?
Correct Answer: The Internet is designed to scale to support an increasing number of users.