On a whim, I grabbed a copy of an AP Computer Science test-prep book from a local Little Library and ~treated~ tortured myself with a few of the example multiple-choice questions.
Most were... fine, if pretty unpleasant to read, but a couple were egregiously badly phrased, and one or two seemed to be outright wrong (i.e., had no correct solution).
Take this one, for example. If I'm reading it right, not only does it fail to define some of the variables it uses, but even a lenient reading of it seems to imply it will almost immediately hit an out-of-bound index on most input data.
Why do we put high schoolers through this crap, again?
#computerscience #algorithm #standardizedtesting #ap