8.12. Practice Exam for Arrays

The following problems are harder than what you will probably see on the AP CS A exam. They come from research in computer science education and test your ability to trace and understand complex code with loops, arrays, and conditionals. They are used with permission from Raymond Lister of the University of Technology, Sydney, Australia.

Please answer each to the best of your ability.

Click the “Start” button when you are ready to begin the exam, but only then as you can only take the exam once. Click the “Pause” button to pause the exam (you will not be able to see the questions when the exam is paused). Click on the “Finish Exam” button at the end only when you are done. It will display the number correct, number wrong, and number skipped after the “Finish Exam” button.

Next Section - 8.13. Free Response - Self Divisor B