Debug and Fix a 2-Dimensional Array Java Console
Application
In this assessment, you will debug and fix a given Java console application that uses 2
dimensional arrays but the application does not compile nor execute. You can use either the
Toolwire environment or your local Java development environment to complete this
assignment.
The application has four bugs. Your assignment is to find these bugs and fix them so that the
application meets its stated requirements.
The requirements of this application are as follows: The application is register students for
courses in a term of study.
The assumptions used by the application are:
• Student enters only integers to select courses for registration from a menu. No data type
validation of the user menu selection is checked or required.
• The program terminates only when the student closes it
The program must follow these registration business rules:
• No registration of other courses not displayed by the program
• No registration more than once for the same course
• No registration for more than 9 credit hours (e.g. no more than 3 courses)
The application uses Java 2-dimenstional arrays for its implementation. Students select from a
menu of courses for which they wish to register. The program then validates the user selection
against the registration business rules. If the selection is valid, the program prints out a
confirmation message.
Otherwise, the program prints out the current list of registered classes along with total registered
credit hours. The program terminates when the user does not want to register for classes any
more.
Use these course codes, in this order, to test your application:
• IT4079
• IT1006
• IT2230
Successful completion of this assignment will display a valid message or an invalid message,
with reason, for the selected course code. In addition, the application should display and update
current list of registered courses. Your program interaction should look like sample interaction
video “2D Console Register for Course” in the resources.
Follow these steps to complete this assignment:
1. Unzip the attached NetBeans project zip file (U8A1_2DConsoleRegisterForCourse.zip)
and load it into your NetBeans IDE.
2. Debug and fix the application to meet its stated requirements.
1
3. Compile and test your application using the provided input data. Make sure to document
the result of your testing by taking screenshots of the result of running your application
similar to the provided sample output. Three screenshots are required for this
assignment (one for each course code of the provided input data).
4. Explain the approach you took to complete this assignment and the major decisions you
made. As part of your explanation, be sure to identify the fundamental Java constructs
you used that were specific and relevant to your submitted program.
Deliverables
Use the submission template from the resources ([Link]) to
complete and submit your deliverables. Your deliverables in the attached submission template
should include:
1. Your work (Netbeans project zip file + copy of *.java source code)
2. Screenshots of the result of testing your application. See the examples in the interaction
video “2D Console Register for Course.”
3. Explain the approach you took to complete this assignment and the major decisions you
made.