This repo contains starting files and automated unit tests for a selection of exercises based on Chapter 7 of the textbook for this course.
To retrieve these files and work with them:
- Open NetBeans
- Navigate to Team -> Git -> Clone... or Team -> Git -> Remote -> Clone...
- Enter the Repository URL: https://github.com/ProfRussell/CPD3314-Assign7.git
- Ensure the Clone Into: folder is on the F: Drive
- Hit Finish, Work from There
Zip your folder up and submit it to the dropbox on D2L
The "questionsMissed()" method of Exercise #5 is deceptively complex. The expected result is an array of all incorrect question numbers, and only the incorrect ones. It's possible to solve this problem using ArrayLists and converting back to an Integer array, but the easiest solution is to build an array that is the size of totalIncorrect(). eg- new int[totalIncorrect()]