Assignment 2: Unit 41: Programming in Java
Assignment 2: Unit 41: Programming in Java
Assignment 2: Unit 41: Programming in Java
Learner declaration:
I certify that the work submitted for this assignment is my own and research sources are fully acknowledged.
Grading grid
P2.1 P2.2 P3.1 P3.2 P3.3 P3.4 P3.5 P4.1 P4.2 P4.3 P4.4 P4.5 M1 M2 M3 D1 D2 D3
Assignment title Assignment 2: Design, implement, test, and document Java solutions
In this assignment, you will have opportunities to provide evidence against the following criteria.
Indicate the page numbers where the evidence can be found.
Summative feedback:
Here we select SQL server software as a place to store information. We have created a database
named StudentManagement. This is a general database will contain all the data taken from the
student management software.
In StudentManagement will contain data tables for each different source. Example: Student,
Major, Batch, Course, Term, Exam,...
Next is how the data will come from the software how to bring up the database. We have
created the data entry form to be used for the inputs.
And for the required information is taken from data available, users will have to choose in the
Combobox.
Enter your user data will be stored on the database and the user wants to view the data will not
need a database that attaches directly to the software through the table.
So we saw the application inputs and outputs through the process of software. Now we're going to
talk about the process that we implemented this software.
Processing:
_ First, we selected the software will use. Here we use Esclipe and SQL server.
_ Then we began to analyze the work that needs doing, the functionality of the software is, the data will
be in the software and start the writing software.
_ First, we begin to design the basic data for the table in the database.
_ Then we began designing the class corresponding to the data already on the database.
_ We started testing the software when no graphical interface to check the data contained class works
well.
_ Then we began to design the basic graphical interface and the largest class of the Student software and
its functions.
_ We will decide the functionality of the software and implementation code. After you have finished a
class code first student with enough functionality.
_ We began implementing expansion through class software with similar functions. Use of Student and
function have been modified to extend other classes.
_ After we did the same as the Student class we started trying to create a connection between the
development board and the extra points to students.
_ After the software has stabilized and gradually improved. We started taking steps last inspection.
_ And finally we test the whole software and its functions. And it was great success.
_ One of the hard work is designed graphical interface for the software.
User interface:
+ We realize complicate the GUI will not be enough time for the completion of the software. So
we have decided to create a simple graphical user interface, but easy to use.
+ Graphical user interface is not much color but use common interface for the software is
FlowLayout.
+ Simple interface with menu system 6, respectively, with 6 data fields need to manage.
+ Each menu will have the corresponding functions to manage such as add, view.
+ And when viewing the data contained in each
field, there will be sub-menu functions to
manage at the bottom helps the user can delete,
+ Front frame "Search" will be a box for users to enter data, entering and click search will find out
information. Click cancel will exit the search command.
+ Update and Delete with the same usage. When a user selects a row in the table corresponds to
one object and click update or delete. That Objects will execute the command.
+ Next is the data entry form. Will be the framework for the user simple text field data entry.
Press ok to agree and cancel to exit. In addition there will be some Combobox for the user to
choose the data available.
+ This is the way we design the interface. Next, is that we met a lot of difficulties in creating
software.
Next, after the design software we immediately think of the device on which the software can be
used.
Delivery Environment:
Next its how people point for the interaction of the software:
Name of the interaction point Grade
Data exchange
Compliance
Compatibility
Standards
Program design:
Class diagrams:
Structure diagrams:
Entity relationship models:
Data flow diagrams:
Class responsibilities:
Next I will show you how the program work and how to use it:
Hover over the student text in the menu and the menu bar will pop out the function for you to
choose:
When you select the add function, a pop-up field will be displayed:
Next when you have filled out the information. Click ok to add students to the list or cancel to
exit the information entry.
Once you have filled in the information and hit ok. The software will list all students.
+ And the interactive menu bar that contains the extra functions will appear below. Include
search, delete and update.
+ If you want to search the name of the student you want to search and click search and click
cancel to exist the function.
+ If you want to delete select a row in the table containing the student you want to delete and
press delete.
+ If you want to update a student, select the row containing the student you want to update
and click update. The information table containing the student's old information will be
displayed, edited and click ok to update or press cancel to exit the command.
+ If you want to add a subject and grade to a student, select the row containing the student you
want to add the subject to and click on the management menu in the menu above.
+ After you click the management menu, a table containing the student information and the
students that you have studied will appear.
+ Clicks enroll to add the subject, score and exam date for that student.
+ Select subject and grade, test date and press ok. Click cancel to exit.
+ Next is the Major, Course, Term, Batch and Exam categories will have the same use as
Student
+ When you click add will appear information panel to enter ok to agree to add and cancel to
exit.
+ When you add finished, there will be sub-menu underneath like the student and the same
usage as the student.
+ There will be some cases where the user will enter a bug and the software will report a bug to
the user.
+ When the user entered the wrong studentID structure the software will report an error.
+ When the user does not select rows in the table but use the delete or update functions. The
software will report an error that the user has not selected the row in the table to manipulate.
+ Once you understand how to use the software we will show you how we design the database.
Student:
Batch:
Course:
Enrollment:
Exam:
Grade:
Major:
Term:
+ Because we have included this report with the same code so we will only code the Student
class. Because classes have similar functions:
Add students:
Task 3:
4.1 Criticall review and test a java programming solution:
The software has been tested and tested for functionality. Here are the remarks:
+ Interface: software interface is quite simple, but the color is too boring. Should add a bit of
color to contribute to the beauty of the interface. Interface should be edited to be more beautiful and
eye catching.
+ About the function: The functions of the software are quite clear and easy to use. The functions
are quite adequate, the management of data on the database is quite good. But some functions are still
lacking. There are not enough delete functions for variables. But software almost meets 80% of the
demand.
4.3 After the software was working well, it was time for us to get feedback from users
and suggestions for software development.
+ First, software needs more testing on input data. Do not leave too much space in the data cells.
+ Second, the interface needs to be improved. Still simple but eye catching, more subtle and
modern. The interface is so bad now.
+ Why only Student is deleted and all other fields are not. Add the delete function to other fields.
+ The software is still bug in adding marks . This needs to be modified to improve the software.
4.4 It's time for the software to be delivered to users and we need to guide them to use
it.
Software manuals:
+ When view or add in any field, all the fields of that field will be displayed. And other interactive
features will appear below.
+ If you want to search in the table enter the letter you want to search in the frame before the
Search button and press Search.
+ If you want to Delete or Update then select a row in the table and then click Delete and Update.
+ When Update, the old information will appear in the form panel and when new information is
entered click ok. New information will be updated.
+ When click add function will pop up the table to enter information and combobox to select the
information.
_ All functions are arranged in the Application. Functions follow the name. For example, Update will have
a series of updates side by side.
_ Each Student, Major, Batch, .. fields has its own variable declaration class for editing.
_ Each fields, when entering information, has a GUIInput for change and correction. For example: Add
major will have GUIMajorInut, add Course will have GUICourseInput. And these update functions will
inherit the update information.