Cardiff Metropolitan University
Assignment Cover Sheet
Student Details ( Student should fill the content)
Name H.R.Virajee Hiranthika Kumaree Amarasinghe
Student ID KD/BCSSD/04/03
Scheduled unit details
Unit code CIS6003
Unit title Advanced Programming
Unit enrolment details Year 3
Study period 2016
Lecturer Prabu Premkumar
Mode of delivery Full Time
Assignment Details
Nature of the Assessment Course work
Topic of the Case Study A Student Accomodation System
Learning Outcomes covered 1,2,3
Word count 6663 (excluding assignment brief, References)
Due date / Time 29th January 2017
Extension granted? Yes No Extension Date
Is this a resubmission? Yes No Resubmission Date
Declaration
I certify that the attached material is my original work. No other person’s work or ideas have
been used without acknowledgement. Except where I have clearly stated that I have used
BSCSD04 1
,Advanced Programming Individual
some of this material elsewhere, I have not presented it for examination / assessment in any
other course or unit at this or any other institution
Name/Signature Virajee Date 04/02/2017
Submission
Return to:
Result
Marks by 1st Signature of the 1st Assessor Agreed
Assessor Mark
Marks by2nd Signature of the 2nd Assessor
Assessor
Comments on the Agreed Mark.
For Office use only (hard copy assignments)
Receipt date Received by
STUDENT NAME: STUDENT
NUMBER:
Module Number & Title: Semester:
Assignment Type & Title:
For student use: Critical feedback on the individual progression towards achieving the
assignment outcomes
BSCSD04 2
,Advanced Programming Individual
For the Assessors’ feedback
Indicate the Task number strength and Weaknesses and the marks for each task
Task Strengths (1st Assessor) Strengths (2nd Assessor)
No/Question
No
Task No / Weaknesses (1st Assessor) Weaknesses (2nd Assessor)
Question No
BSCSD04 3
,Advanced Programming Individual
Areas for future improvement
Comments by 1st Assessor Comments by 2nd Assessor
Marks
Task Marks by Marks Marks by IV IV comments (If Any)
/Question No 1st by 2nd (if any)
Assessor Assessor
Total Marks
Name and the Signature of the Date:
1st Assessor
Name & Signature of the
Date :
2ndAssessor :
Name & Signature of the IV:
Date :
(If any)
BSCSD04 4
,Advanced Programming Individual
Acknowledgement
Figure 1: image acknowledgement
BSCSD04 5
,Advanced Programming Individual
Executive Summary
Figure 2: executive summary
BSCSD04 6
,Advanced Programming Individual
Table of Contents
Acknowledgement ......................................................................................................... 5
Executive Summary ....................................................................................................... 6
Table of Contents ........................................................................................................... 7
Introduction .................................................................................................................. 17
Requirement Specification ........................................................................................... 18
Functional Requirement Specification ..................................................................... 18
Nonfunctional Requirement Specification ............................................................... 31
UML Diagrams ............................................................................................................ 32
Use Case Diagrams .................................................................................................. 32
Class Diagrams ........................................................................................................ 53
Relationship between Classes .............................................................................. 58
Sequence Diagrams .................................................................................................. 60
EER Diagram ............................................................................................................... 74
Final Normalized Tables .............................................................................................. 74
Comparison on Design Patterns ................................................................................... 78
Development ................................................................................................................ 90
More sophisticated UI .............................................................................................. 90
Validation................................................................................................................. 92
Try-Catch Block................................................................................................... 93
Mandatory field and data format validations ....................................................... 94
Client-side Validation .......................................................................................... 94
Reports ..................................................................................................................... 94
Property Availability Reports .............................................................................. 94
Occupied Details Report ...................................................................................... 96
Three-tiered Organization ........................................................................................ 96
BSCSD04 7
,Advanced Programming Individual
Sessions .................................................................................................................... 97
User Manual for Public Site......................................................................................... 98
Home Page ............................................................................................................... 98
User Registration ..................................................................................................... 98
Student Registration ............................................................................................. 99
Landlord Registration ........................................................................................ 105
Login ...................................................................................................................... 105
Login Page ......................................................................................................... 106
Reset Password ...................................................................................................... 107
Landlord Profile Page ............................................................................................ 108
Property Page ......................................................................................................... 109
Update, Delete And Find Property Page ................................................................ 112
“Display All Properties” Page ............................................................................... 113
“Upload Property Image” page .............................................................................. 114
Message Page ......................................................................................................... 114
“Search Payment” page.......................................................................................... 115
View Payment ........................................................................................................ 115
Student Profile Page............................................................................................... 116
Accommodation Page ............................................................................................ 117
View More Page .................................................................................................... 119
Rent Page ............................................................................................................... 119
Request View Page ................................................................................................ 120
User Manual for Admin Site ...................................................................................... 121
Payments Page ....................................................................................................... 121
Display All Payments Page .................................................................................... 122
Test Plan..................................................................................................................... 123
Selecting Best Approach ........................................................................................ 123
BSCSD04 8
,Advanced Programming Individual
Testing Methods..................................................................................................... 123
Types of Testing Techniques Used ........................................................................ 124
Analyzing Questionnaire Results....................................................................... 130
Test Cases .............................................................................................................. 133
Test Rationale ........................................................................................................ 162
Technical Document .................................................................................................. 163
GlassFish Server .................................................................................................... 163
Download GlassFish .......................................................................................... 163
Install GlassFish ................................................................................................. 163
Start GlassFish ................................................................................................... 163
Maintenance ........................................................................................................... 164
Ethical Considerations ............................................................................................... 165
The Tools and Functions for Software Carpentry and Codemanship ........................ 166
Conclusion ................................................................................................................. 170
Are all the requirements covered? ......................................................................... 170
Problems which had to be faced ............................................................................ 170
Strengths of System ............................................................................................... 170
Weaknesses of System ........................................................................................... 172
Future Recommendations ...................................................................................... 173
Analyzing Gantt Charts.............................................................................................. 173
References .................................................................................................................. 175
Appendix .................................................................................................................... 179
BSCSD04 9
, Advanced Programming Individual
Table of Figures
Figure 1: Table-Functional Requirement Specification-1 ........................................... 18
Figure 2: Table-Functional Requirement Specification-2 ........................................... 19
Figure 3: Table-Functional Requirement Specification-3 ........................................... 20
Figure 4: Table-Functional Requirement Specification-4 ........................................... 21
Figure 5: Table-Functional Requirement Specification-5 ........................................... 22
Figure 6: Table-Functional Requirement Specification-6 ........................................... 23
Figure 7: Table-Functional Requirement Specification-7 ........................................... 24
Figure 8: Table-Functional Requirement Specification-8 ........................................... 25
Figure 9: Table-Functional Requirement Specification-9 ........................................... 26
Figure 10: Table-Functional Requirement Specification-10 ....................................... 26
Figure 11: Table-Functional Requirement Specification-11 ....................................... 27
Figure 12: Table-Functional Requirement Specification-12 ....................................... 27
Figure 13: Table-Functional Requirement Specification-13 ....................................... 28
Figure 14: Table-Functional Requirement Specification-14 ....................................... 28
Figure 15: Table-Functional Requirement Specification-15 ....................................... 29
Figure 16: Table-Functional Requirement Specification-16 ....................................... 30
Figure 17: Table-Functional Requirement Specification-17 ....................................... 30
Figure 18: Use case diagram-Student Accommodation System .................................. 32
Figure 19: Table-Explanation on actors of Student Accommodation System ............. 33
Figure 20: Table-Explanation on use cases of Student Accommodation System-1 .... 34
Figure 21: Table-Explanation on use cases of Student Accommodation System-2 .... 34
Figure 22: Table-Explanation on use cases of Student Accommodation System-3 .... 34
Figure 23: Use case diagram-Manage landlord data.................................................... 35
Figure 24: Table-Explanation on actors of manage landlord data ............................... 35
Figure 25: Table-Explanation on use case of managing landlord data ........................ 36
Figure 26: Use case diagram for Managing Property Data.......................................... 37
Figure 27: Table-Explanation on actors of managing property data -1 ....................... 37
Figure 28: Table-Explanation on actors of managing property data -2 ....................... 38
Figure 29: Table-Explanation on actors of managing property data -3 ....................... 38
Figure 30: Table-Explanation on use case of managing property data ........................ 39
Figure 31: Use case diagram for managing student data ............................................. 39
Figure 32: Table-Explanation on actors of managing student data ............................. 40
BSCSD04 10