Download java programming asm2 and more Study Guides, Projects, Research Java Programming in PDF only on Docsity!
ASSIGNMENT 1 FRONT SHEET
Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Phan Nguyễn Đình Trọng Student ID GCD Class GCD0905 Assessor name Pham Thanh Son Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student’s signature Trọng Grading grid Grade (0-10)
❒ Summative Feedback: ❒ Resubmission Feedback:
Grade: Assessor Signature: Date: IV Signature:
- Table of figures
- Chapter I: Introduction
- Chapter II: Requirement
- Chapter III: UI design
- Chapter IV: Implementation
- Program structure
- Classes.................................................................................................................................................................................................
- 2.1 ThiSinh class
- 2.2 QLSVModel class
- 2.3 QLSVView class
- 2.4 QLSVController class
- 2.5 Tinh class
- Chapter V: Test plan and result
- Test plan
- Test log and result
- Chapter VI: Conclusion
- Figure 1 Wireframe of the program Table of figures
- Figure 2 Structure of the program
- Figure 3 ThiSinh class
- Figure 4 ThiSinh class (2)
- Figure 5 ThiSinh class(3)
- Figure 6 ThiSinh class(4)
- Figure 7 QLSVModel class
- Figure 8 QLSVModel class (2)
- Figure 9 view class....................................................................................................................................................................................
- Figure 10 view class (2)
- Figure 11 view class (3)
- Figure 12 view class(4)
- Figure 13 view class (5)
- Figure 14 view class (6)
- Figure 15 view class (7)
- Figure 16 deleteForm method in view class
- Figure 17 addStudent method in view class
- Figure 18 addStudentsToTheTable in view class
- Figure 19 deleteStudent method in view class
- Figure 20 exit method in view class
- Figure 21 getValuesFromForm and showSelectedStudentInformation method
- Figure 22 addOrUpdateStudents method in view class
- Figure 23 saveFile and doSaveFile method in view class
- Figure 24 openFile and doOpenFile method in view class
- Figure 25 checkCharacter method
- Figure 26 checkNumber method
- Figure 27 valGrade method
- Figure 28 valPhone method
- Figure 29 checkEmpty method
- Figure 30 new action
- Figure 31 save action
- Figure 32 update action
- Figure 33 delete action
- Figure 34 exit action
- Figure 35 SaveFile action
- Figure 36 OpenFile action
- Figure 37 Tinh class
- Figure 38 Tinh class (2)
- Figure 39 Tinh class (3)
- Figure 40 Tinh class (4)
- Figure 41 the call method getTinhById
- Figure 42 the call method getTinhByTen
Figure 1 Wireframe of the program
Based on the design wireframe, I will divide my program into two parts. The first part is used to help users enter student data and perform system functions, while the second part displays a table with rows of data.
Chapter IV: Implementation
1. Program structure
The structure of my program is divided into 3 main parts: QLSVController, QLSVView, and QLSVModel. Moreover, a test package is built to test the functions of the program. They are presented in the below figure
2. Classes
There are 5 main classes in my program including QLSVController, QLSVModel, QLSVView, ThiSinh and Tinh. All classes will be presented as below: Figure 2 Structure of the program
The ThiSinh class includes 8 properties, a constructor and get and set methods for the properties. Attributes include ID, name, phone number, place of birth, Dob, grade of subject 1, grade of subject 2, and grade of subject 3. Figure 4 ThiSinh class (2)
Figure 5 ThiSinh class(3)
Methods that create buttons like delete,insert,update are created here. Figure 7 QLSVModel class
checkForExistence method to check if student already exists in the students array
2.3 QLSVView class
Figure 8 QLSVModel class (2)
Figure 10 view class (2)
Figure 11 view class (3)
Figure 13 view class (5)
Figure 14 view class (6)