Overall score: 41/50

Test Corrections

Question 8: What I answered: A&B, The means of representation of the bits in a data packet has no impact on network traffic and would not be a benefit of a network simulation. Actual answer: A&D, A simulation that shows how packets move between clients and servers can demonstrate the impact of increased speeds for frequently-visited servers.

Question 9: What I answered: B, A simulation that shows how packets move between clients and servers can demonstrate the impact of increased speeds for frequently-visited servers. Actual answer: A, Digital data on the Internet is sent by breaking data into blocks of bits called packets. The packets are reassembled by the user’s computer.

Question 10: What I answered: C, All data on a computer is stored in binary. Individual computers can interpret different file formats if each computer contains the appropriate software. The structure and functionality of the Internet does not affect the ability of two computers to share files. Actual answer: D, Devices on the Internet communicate using standard protocols, which do not depend on the manufacturer.

Question 19: What I answered: D, The database does not store information about the date of a particular sale. Actual answer: A, Because the database stores information on item identification numbers and quantities available, the retailer can search for all item identification numbers that have a quantity of 0.

Question 28: What I answered: A, too small, number should be bigger Actual answer: C, number is big enough to fill in all data

Question 30: What I answered: B Actual answer: A The binary notation is the one used by computers to perform all their calculations, it is based on two elements 0 and 1 The sum of the elements gives 0+ 0 = 0, 1+ 0 = 1, 0+ 1 = 1. In the case of the two elements being one, the result leads to an increase of the next element:1 +1 = 10, and the sum is repeated. In this case the number assigned to the student is: 10010011.When it increases by 1 the next student has the number 10010011 + 0000001 = 10010100

Question 44: What I answered: B, Since the student cannot modify the search procedure’s code or internal abstractions, the argument passed to the search procedure must be a word, not a definition. Actual answer: C, The student knows that the procedure searches for a value without knowing how it does the searching. This is an example of the use of procedural abstraction.

Question 46: What I answered: C, The first call to drawLine draws a line segment with endpoints (1, 5) and (6, 5). The second call to drawLine draws a line segment with endpoints (1, 5) and (8, 7). The third call to drawLine draws a line segment with endpoints (1, 5) and (8, 3). Actual answer: B, This code segment draws the three line segments shown in the figure. The first call to drawLine draws a line segment with endpoints (1, 5) and (6, 5). The second call to drawLine draws a line segment with endpoints (1, 5) and (6, 7). The third call to drawLine draws a line segment with endpoints (1, 5) and (6, 3).

Question 49: What I answered: C, This code segment traverses the list beginning with the second element, so it is correctly comparing only the student scores to the maximum possible score. However, the code segment will fail to check the last element in the list. When index is equal to the length of the list, the loop will terminate without comparing the last student score in the list to the maximum possible score. Actual answer: A, This code segment traverses the list beginning with the second element, so it is correctly comparing only student scores to the maximum possible score, which is found by accessing scores[1]. The variable found will only be set to true when a student’s score equals the maximum possible score. The code also sets the number of iterations to LENGTH(scores) - 1 to reflect that the first list element (maximum score) is skipped.