*** ok, the next one genuinely doesn't make sense because if you actually trace it will cause NullPointerExeption and not compile ***
Q7:What does the above Java program print? (Select the single correct answer)
I think you may be mistaken - Q7 will not result in a NullPointerException
, because the line a = null;
is AFTER a.count += 1;
. In your steps, you stated that a
is assigned null
BEFORE it is incremented whereas the code in the actual paper had the null assignment AFTER incrementing a
. Perhaps the code provided in the class had it the other way around?
Also disclaimer, I'm just one of the facilitators who's interested in the feedback - could I ask for clarification on your concerns regarding the MCQs? Specifically, what are the sources of confusion and reasons that it's poorly implemented? Your feedback only stated that the questions are "poorly implemented", "vague", and not done "properly", without stating the actual reasons or how the questions may be ambiguous (or I may have missed them). As such, it's unclear what problem your suggested solution of multiple-value questions seeks to address.
I understand it's much more time-consuming as students have to check every single option, though this significantly reduces the risk of guessing as the likelihood of a student guessing the right number of options, AND the right option(s) is much smaller than just guessing a single option. It better assesses students' understanding by asking them to critically evaluate every option, whereas having multiple values per option has the same likelihood as any single-answer questions AND may take just as long to evaluate as multiple-answer questions. Again, it'll be greatly appreciated if you could elaborate on specific issues with the current approach.
Ah also, your explanation of each question is very in-depth, thank you for making it available for other students to learn from!