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-5df1c73c3b100638970206/]   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-5df1c73c4100c630198174-i/] , using a single loop. He wrote the code below:. Download code So, was Jeff succesful? When this code is run, will the method return a sorted array. In this case that would be [crayon-5df1c73c41016909925708-i/]   ?     And the … 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. 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 Glen Martin were asked about the topics for upcoming/future exams. They strongly implied that [crayon-5df1c73c5c4e7536983736-i/] and [crayon-5df1c73c5c4f3943827436-i/]  … Continue reading AP Computer Science A Exam Questions by Topic →