All posts by Max Johnson

AP Computer Science Array Practice Problem

The AP Computer Science A exam likes to ask questions along the lines of this code pictured below: Download Code The question is,.. what does the “mystery” method do to that input array ?…. What is the output ?   And the answer is… Scroll down a bit         [crayon-6767d109025cf067600527/]   Yes, this … Continue reading AP Computer Science Array Practice Problem →

Sorting Java Array in 1 Loop (Psuedo Sorting) AP Java Prep

So  ..our student , Jeff was trying to write an method that sorts an array of ints  , called [crayon-6767d10902a70650523409-i/] , using a single loop. He wrote the code below:. Download code .   Here you can download a powerpoint with a step by step visual explanation. So, was Jeff successful? When this code is run, will the method return … Continue reading Sorting Java Array in 1 Loop (Psuedo Sorting) AP Java Prep →

AP Computer Science A Exam Questions by Topic

Old AP A java exams can be downloaded here. Read other page for some free code analysis AP CS practice questions  that we made up. Some recent words from the AP A exam writers. At the 2016 AP A reading, representatives of the college board and some of the exam question writers themselves like Robert … Continue reading AP Computer Science A Exam Questions by Topic →