Collegeboard MC Test & Test Corrections
- Overall Score
- Question 4
- Question 9
- Question 14
- Question 27
- Question 30
- Question 31
- Question 33
- Question 38
- Question 39
Overall Score
On this Collegeboard MC test I got a 31/40. I think that this score is semi-decent for me because I'm not used to the type of questions compsci classes offer since I didn't take CSP. I definitely think I could have done much better however, since I made a couple of silly errors while taking the test.
Below are my quiz corrections:
Question 9
I chose E) sum += sum + key[i]; which is the wrong answer because it adds the current sum to the sum that is produced during each iteration and cause an out of bounds once i reaches key length. Therefore the answer will be B) sum += key[i-1]; because it has indices that start at 0 and increases to key.length.
Question 31
I chose D) 7 3 4 11 8 because I thought that the k value that was used was the 0th + 1st index, which is 7. However, this is wrong because k+1 was what it asked for, in which case the 0th index would be 5. Therefore, C is the correct answer because it starts at 5 and goes all the way to 19.
Question 39
I chose B) because I thought that since the else condition was run, the 27 would be divided by 3 to get 9. However, that is just what the first recursive call brought as a value, and it needs to be run through again, this time running it through until recur(recur(4)) or recur(8) returns 16, which is D.