NIT5150 Advanced Object-Oriented Programming Project

Verified

Added on  2025/07/14

|12
|727
|321
AI Summary
Desklib provides solved assignments and past papers to help students succeed.
Document Page
NIT5150 Advanced Object-Oriented
Programming
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Table of Contents
Introduction................................................................................................................................2
User Manual...............................................................................................................................3
Test Cases...................................................................................................................................3
Program Screenshots..................................................................................................................4
Member Class.........................................................................................................................4
Sport Membership Class........................................................................................................5
Output Screens of Program........................................................................................................9
Conclusion................................................................................................................................10
1 | P a g e
Document Page
Introduction
The application designed for calculating and displaying the sport membership fees of the
customers. It is designed in the C# with the use of loops, operators, if-else statements,
functions and exception handling. In this report, the user manual will be provided to the users
which provide the instructions of using application.
2 | P a g e
Document Page
User Manual
For using this designed application based on getting the sports membership for the customer
with special discounts or offers. Here are some steps that will be helpful for getting the
guidance of designed application, such as:
- The first user has to enter their name
- Then, enter total month counts for getting a membership.
- Then, select an option for special offers such as “Yes” is for getting special offer and the
“No” for without special offers.
- After that, it will display the total membership charges which are calculated.
- At last, it will display the summary of membership fees (Perkins, et al., 2018).
Test Cases
S.
No.
Test Case Expected
Output
Actual Output Final
Results
1. Wrong input in months
required
It will be
exception
handling and
message will be
provided
“Months for
stay is 1 to 60”.
Error Message will
be print.
Pass
2. User entering name It will print the
name of user.
User’s name will
be displayed.
Pass
3. A user entering total
membership months
It will print the
numeric values
of months
The total
membership
months required by
the user will be
displayed.
Pass
4. User selecting “Yes” option
for getting offers.
It will display
the total amount
to be paid after
reducing the
discount
percentage.
It will display the
total amount paid
after reducing the
discount
percentage.
Pass
5. User selecting “No” option
for getting membership
without offers
It will display
the total basic
amount to be
paid (Wang, et
al., 2015).
It will display the
total basic amount
to be paid.
Pass
3 | P a g e
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Program Screenshots
Member Class
Figure 1: Member Class Coding
In the above figure, it displays the Member class where it used for getting and setting the
details of the customers. It covers all the requirements that were provided in the brief for
calculating the total fees charged by the customers. It calculates the fees for getting the Sport
Membership.
4 | P a g e
Document Page
Sports Membership Class
Figure 2: Sports Membership class Coding 1
5 | P a g e
Document Page
Figure 3: Sports Membership class Coding 2
6 | P a g e
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Figure 4: Sports Membership class Coding 3
7 | P a g e
Document Page
Figure 5: Sports Membership class Coding 4
In the above all 4 figures, it states the coding or the back-end part of Sports Membership
class. It shows the overall control structure for calculating the sport membership fees for each
and every customer. It will provide the space to the customers for entering the details in the
system and getting the actual fees charged for sports membership.
8 | P a g e
Document Page
Output Screens of Program
Figure 6: Calculated Membership Details
It is the console page where the user or the member have to enter their name, membership
total months and the offer selection option by “Yes” and “No” which is required for further
purpose.
Figure 7: Summary of Membership Fees
The above screen shows a summary of the membership fees provided to each customer. Here
it indicates the maximum and minimum amount paid by the customer for getting sports
membership.
9 | P a g e
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Conclusion
In the whole scenario of the report, the complete program of the application is designed in the
C# platform. Above, screenshots of the code are provided with proper explanation. For using
the application, the user manual is also provided with the test case used while testing the
application.
10 | P a g e
Document Page
References
Perkins, B., Hammer, J. V., & Reid, J. D. (2018). C# 7 Programming with Visual Studio®
2017.
Wang, C., Pastore, F., Goknil, A., Briand, L., & Iqbal, Z. (2015, July). Automatic generation
of system test cases from use case specifications. In Proceedings of the 2015 International
Symposium on Software Testing and Analysis (pp. 385-396). ACM.
11 | P a g e
chevron_up_icon
1 out of 12
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]