PROG191-Assignment- Java Programming, Assignments for Java Programming
PROG191-Assignment- Java
Programming
Ja va Progra mming
Gr eenwich Univ ersity
52 pag .
Docum ent sh ar ed on w w w .do csity.com
Dow nload ed by : kar eey (w inniew a ngar i432@gmai l.com )
, ASSIGNMENT 1 FRONT SHEET
Qualification BTEC Level 5 HND Diploma in Computing
Unit number and title
Submission date March 9th ,2022 Date Received 1st submission
Re-submission Date Date Received 2nd submission
Student Name Nguyen Duc Quang Student ID GCH200720
Class GCH0908 Assessor name Dinh Duc Manh
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 Quang
Grading grid
Grade (0-10)
T r a n g 1 | 52
Do cument shar ed o n www .do csity.co m
Dow nload ed by : kar eey (w inniew a ngar i432@gmai l.com )
,❒ Summative Feedback: ❒ Resubmission Feedback:
Grade: Assessor Signature: Date:
IV Signature:
T r a n g 2 | 52
Do cument shar ed o n www .do csity.co m
Dow nload ed by : kar eey (w inniew a ngar i432@gmai l.com )
, Table of contents:
I. Introduction ...................................................................................................................................................................4
II. Requirement: ................................................................................................................................................................ 4
III. UI design ........................................................................................................................................................................5
IV. Implementation
1. Explain program structure: ........................................................................................................................................... 6
2. Explain classes ............................................................................................................................................................... 9
3. Explain important algorithms ...................................................................................................................................... 15
4. Explain how to handle errors: .......................................................................................................................................31
V. Test:
1. Junit Test ....................................................................................................................................................................... 34
2. Test Case ........................................................................................................................................................................ 40
VI. Result:............................................................................................................................................................................. 41
VII. Conclusion ..................................................................................................................................................................... 52
T r a n g 3 | 52
Do cument shar ed o n www .do csity.co m
Dow nload ed by : kar eey (w inniew a ngar i432@gmai l.com )
PROG191-Assignment- Java
Programming
Ja va Progra mming
Gr eenwich Univ ersity
52 pag .
Docum ent sh ar ed on w w w .do csity.com
Dow nload ed by : kar eey (w inniew a ngar i432@gmai l.com )
, ASSIGNMENT 1 FRONT SHEET
Qualification BTEC Level 5 HND Diploma in Computing
Unit number and title
Submission date March 9th ,2022 Date Received 1st submission
Re-submission Date Date Received 2nd submission
Student Name Nguyen Duc Quang Student ID GCH200720
Class GCH0908 Assessor name Dinh Duc Manh
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 Quang
Grading grid
Grade (0-10)
T r a n g 1 | 52
Do cument shar ed o n www .do csity.co m
Dow nload ed by : kar eey (w inniew a ngar i432@gmai l.com )
,❒ Summative Feedback: ❒ Resubmission Feedback:
Grade: Assessor Signature: Date:
IV Signature:
T r a n g 2 | 52
Do cument shar ed o n www .do csity.co m
Dow nload ed by : kar eey (w inniew a ngar i432@gmai l.com )
, Table of contents:
I. Introduction ...................................................................................................................................................................4
II. Requirement: ................................................................................................................................................................ 4
III. UI design ........................................................................................................................................................................5
IV. Implementation
1. Explain program structure: ........................................................................................................................................... 6
2. Explain classes ............................................................................................................................................................... 9
3. Explain important algorithms ...................................................................................................................................... 15
4. Explain how to handle errors: .......................................................................................................................................31
V. Test:
1. Junit Test ....................................................................................................................................................................... 34
2. Test Case ........................................................................................................................................................................ 40
VI. Result:............................................................................................................................................................................. 41
VII. Conclusion ..................................................................................................................................................................... 52
T r a n g 3 | 52
Do cument shar ed o n www .do csity.co m
Dow nload ed by : kar eey (w inniew a ngar i432@gmai l.com )