Final Score

I scored a 58/66.

Corrections

Q8: Compare A and B to not A and not B

This question asked to explain the relationship between A && B and !A && !B. These expressions would have the same value if A and B are different values, since both expressions would always be false. I didn't think this through.

Q24 Error in findZero Method

I got this wrong because I got confused on what <= vs < did. In arrays, it should ALWAYS be < arr.length to avoid out of bounds error. <= arr.length -1 also works. In this case, if an array did not have 0, then it would try to index at arr.length which results in error.

Q36 GridWorld getDirection and getMoveLocation calls

What even is this? Not sure what it's referencing.

Q40 maxHelper with int array instance variable fix

Base case should be called before another recursive call.

Q50

Didn't understand the question. First number is how many times loop is called. Second number is what it has to be divisible by. For 0 and 10, only way is for us to be looking for even number also divisible by 5, and have enough iterations to get to 10. So we take 20 and 5.

Q54

Should be in descending order, not ascending.

Q59

Key word is which case ALWAYS results in an error. I did not think in this way.

Q63

Didn't get this one because the right answer leaves an extra curly brace.