34% of AP CS Students Couldn't Solve This Java-Based 2D Array Question
developers.slashdot.org
developers.slashdot.org
(The twitter comment: https://twitter.com/m_litv/status/1670144278708748292)
Also, the problem should state whether the candy grid is stored row-major or column-major: is it `box[row][column]` or `box[column][row]`? As far as I can tell, that detail isn’t specified.
I see links to people talking about the solution but I can’t see the question despite the title saying “this question”.
I would have expected a post like this to copy and paste the problem.
Here’s the link again: https://apcentral.collegeboard.org/media/pdf/ap23-frq-comp-s...
This class is many students’ first introduction to programming unlike other AP courses which are an advanced level of something they have already seen to various extents.
Writing out the code by hand, which can involve nested loops and must be syntactically correct, is pretty hard. Especially after a very long test beforehand. To be honest, I don’t think I really understood what an API was until I was forced to use a provided one on the test. I was utterly burned out by the end of it.
I thought it was a good class, test, and curriculum
Disclosure: I work on curriculum matters for WeThinkCode_. I like the exercise in the article and I'll be proposing we add it to the Java curriculum. I'd be surprised (and not in a good way) if the majority of our students fail to make it work.
You're contradicting yourself. In real life you're not given the tests that you must pass. So which one is it? Do you think it should be closer to real life, or do you think you should be given tests? I get the sense the real answer is you'd just want interviews to be easier.
Program source was released a month before the exam, to allow students to familiarise themselves with it, and the exam then gave a series of questions/modifications the students had to make (I think ours was based on a pack of cards, so we had to implement a shuffle algo, and a take x from top of deck, etc).