admin wrote: ↑Sat May 16, 2015 9:19 pm
I think it is fine. The question doesn't explicitly specify what needs to be done if both the values are same but that doesn't affect the answer because the answer that satisfies the case when both the values are not same, satisfies this situation as well.
HTH,
Paul.
Hey Paul,
I would like to challenge you here and side with the quoted user.
The question says "which option CORRECTLY returns the largest value"
As we (hopefully) all agree, in order to CORRECTLY implement such a method, one has to take equal values into consideration. Anything else would be poor programming. Assuming that, we would look at implementations that are mayb 80%/90% correct, but not entirely correct.
Therefore it is absolutely reasonable that people opt for the "none of the above" option, thus the question is ambiguos.
Why not change it and either say (equal values do not have to be considered) or change the code? Then its clear. Wont hurt anyone but confuse less students
And on another sidenote....is it normal that the timer adds 2 seconds instead of one when you are over the exam time? Is that an implementation error or a punishment for missing the time target?