Overall Score:

img

Questions I missed:

Question 5:

img

Very dumb error. Did not account that index 0 was not included.

Question 21:

img

Image that helped me understand 2D arrays more:

img

To be honest, I initially guessed on this problem because I did not remember how 2D arrays worked. I worked out an image and I understood that in this problem, it is checking each row and each element within the row for the smallest difference.

Question 23:

img

Collegeboard’s Notes: List is an interface, which an ArrayList implements.

The manipulate method contains a for loop with a loop control variable k that starts at the right most index of animals, decrements by 1 each time, until k is equal to 0. In the first iteration, when k is 5, if the element of animals at 5 (“baboon”) starts with a “b”, which it does, then this value is removed from the list and inserted at index 1. The list would then be {“bear”, “baboon”, “zebra”, “bass”, “cat”, “koala”}.

In the second iteration, when k is 4, the element of animals at 4 (“cat”) does not start with a “b” and no changes are made to the list.

In the third iteration, when k is 3, the element of animals at 3 (“bass”) starts with a “b”. This value is removed from the list and inserted at index 3. Since it was already at index 3, the list would not change.

In the fourth iteration, when k is 2, the element of animals at 2 (“zebra”) does not start with a “b” and no changes are made to the list.

In the fifth iteration, when k is 1, the element of animals at 1 (“baboon”) starts with a “b”. It is removed from the list and inserted at index 5.

The list would then be {“bear”, “zebra”, “bass”, “cat”, “koala”, “baboon”}. Finally, k decrements to 0 which is not greater than 0 so the loop terminates.

Overall:

Overall, I found this question very tough because I didn’t really understand it that well when I first looked at it.

Question 24:

img

This question is actually very basic. It is asking for the position (Index) value at column 0 and row 2, which would be the value of 7. After reviweing question 21, I understand more of 2D arrays, which helped me easily solve this problem.

Question 26:

img

In enhanced for loops, I have to make sure that I understand “int x” represents the value, not the index value (compared to int x = 1 in a regular for loop). Therefore, I chose arr[x] because I thought it represented the value of that specific “x” index.

Question 29:

img

This was a very dumb mistake. I did not account that the for loop will print out every value instead of JUST the values that are divisible by 4 and leave no reminder. E perfectly makes sense because it starts at index 4, which should be the first value divisible by 4, and then moves by factors of 4 from then on.

Question 33:

img

I did not account for the “   ” mark and looked at it as a “&&”. Since k < 4 would always be true (as the value k is never being affected), the while loop will always be true and it will run indefinently.

Question 40:

img

In this question, I did not realize that the function kept calling itself until it reached the letter “W”. Then, it starts printing out all the recursive values until it reaches back to “WATC”. I thought it did the opposite as each time it is done removing a letter, it prints out that specific string

Questions that required help

Question 14

image

Interface class. Interface class has a get method getMileage that has no implementation in it but is called for each vehicle because there maybe different types of vehicles in the array.

Answer: E. v.getMileage()

Each element in the array (v), regardless of the Vehicle type, is called and then the double value (mileage) is the recieved with the get method. It will eventually add up all the sums of the vehicles in the array.

Question 39

img

When I first did this problem, I got 18 as the answer because I did not check the recursion twice. I reevaluated my work and realized that rigth after.

Overall feedback from first CollegeBoard MC:

Goods:

  • Good understanding of majority of units
    • Constructors, methods
      • getters and setters
    • Iteration
    • Public vs Private Class

Needs Improvement:

  • Need to read questions more carefully
    • Worried about pacing at first
      • Will gradually get better after more practice
  • Integerate what I’ve learned in lessons into code (OOP!)

  • Units:
    • U7 with 2D arrays
      • Understand more about 2D arrays: functionality and implementation
    • U10 with recursion
      • Understand how the function calls itself
      • Question 39 is a great example