NETWORK PROGRAMMING
The project: Gather and check information on personal financial data for a loan application, including these fields:
• First name
• Last name
• Street address
• Apartment number
• Telephone number, including area code (xxx-xxx-xxxx)
• IC number
• Total amount to be borrowed
• Length of the loan in months
The form should also have a drop-down table giving 5 rates with "points." (A point is an up-front charge, taken as a percentage of the total loan.) For our purposes, use the following:
Points Annual Percentage Rate
0 6.75
0.5 6.62
1 6.5
1.5 6.38
2.0 6.25
Print a loan table with amount left at the end of each year.
Error Checking
The primary purpose of this exercise is to treat the data after it is passed, specifically
• When submitted, all values in the form should be first trimmed of leading and embedded extra white spaces.
• All required fields (i.e., all except the apartment number) should be checked to see whether they contain anything.
• Use regular expressions and any other string functions to make sure of the following:
o the telephone and social security numbers are an appropriate pattern
o first and last names are capitalized with other letters lower case (If they weren't entered this way, change the strings before displaying them).
If there are missing fields or if the telephone or IC numbers are not the right pattern (xxxxxx-xx-xxxx), create a string to report all errors.
Form Feedback
Depending on whether you have detected errors, you will either present a page to confirm that the data are correct (and ready for entry into a database or for some secondary use) or present a page with a list of errors (your string, from above) and the form with correct fields filled and incorrect fields blank.
Grading: This assignment is worth 20 marks.
REPORT
• Cover Page
• Table of contents
• Introduction
• Program Design
• The code
• Testing
• Output screen shots
• A conclusion with your reflection on the whole process
MARKING SCHEME
Readability/Introduction: 10%
• Program easy to read
• Well documented
• Clear and straight forward.
Design: 20%
• A well designed form to collect all required data
• Program logic
• Design flow
Coding: 40%
• Code produces correct results.
• A results function to check and manipulate form data
• Trim all values passed
• Checking for missing fields
• Use regular expressions to check pattern of IC numbers and telephone
• Create text string listing errors
• Confirmation that the form was filled correctly
• Function that list of errors and re-populated form for corrections
Test plan and Input/output : 20%.
• Test cases
• Test data
• Expected and actual output
• Comments
Conclusion: 10%
• A conclusion with your reflection on the whole process
Can help... I am an Expert... Lets Start!
Please start a Discussion with me and we can get started from there...
Please check the past projects I have handled and check my reviews for what employers have to say about my work... Can start right now...
We are Mumbai based, Technology Consulting company offering spectrum of IT solutions & services. We provide expert Software development services in web technologies.
Presently we are supporting our clients in USA, Middle East and India.
We can easily ramp up or ramp down the team.
We look forward to work with you on this requirement.