Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Purpose: The purpose of this assignment is to assess your progress towards attainment of a selection of the learning objectives as covered up to week

Purpose: The purpose of this assignment is to assess your progress towards attainment of a selection of the learning objectives as covered up to week 11. This assessment contributes to learning outcomes a, b, candd.
On successful completion of this assignment, you should have demonstrated that you can:
Write a program consisting of multiple objects which interact with each other by following appropriate design practices
Write a program that provides the requested functionality for the system
Implement classes which have generalization relationships with other classes
Utilise polymorphism and abstraction techniques
Utilise appropriate collection classes from Javas Collections API in appropriate ways/places Read data from and write data to text files
Handle exceptions by constructing try ... catch blocks for appropriate circumstances
Design a text-based user interface
Value: 40%
Due Date: Draft in Week 8 and Final in Week 11
Submission: Submit the completed program, weekly activity log and report on Moodle
Assessment topic: Health Club Membership Management System (HCMM)
In this assignment, you will create a Java software package to process the records in a membership managementsystemaccordingtothegiveninstructions/commands. JavasoftwareMUSTprovideALLthe following functionalities:
Task details:
Read from TWO inputs files: member file and instruction file
When the HCMM system starts up, it assumes that the system has the members information as given in the membersFile, and it manages the records according to the instructions in the instructionFile.
membersFile contains a list of members with basic information in a predefined format.
instructionFile lists instructions/commands to be performed in order on members. The
instructions/commands can be: "add", "delete", " query " and "save".
Add valid membership info into the system
HCMM system must check whether this is an existing member:
o if there is already a record with the same name and mobile in the system, the existing
record should be updated/merged with the new valid input information; o otherwisesystemaddsanewmemberwithvalidinfotothesystem.
For instance, the instruction:
add name James Bloggs; birthday 20/12/1978; pass Gold; mobile 04111111; fee $60
is supposed to add/update a member with name "James Bloggs", birthday 20/12/1978, membership pass type "Gold", membership fee $60, and the specified mobile information. Note the use of a semicolon (";") to separate the fields.
ICT711 PROGRAMMING AND ALGORITHMS T322 31/10/2022 16:26 PAGE 11 OF 18 *AUSTRALIAN INSTITUTE OF BUSINESS AND MANAGEMENT PTY LTD ABN: 72 132 629 979 CRICOS 03171A
(Group work 25%; Individual contribution 15%)
ICT711
Delete the member and associated information from the system by name and mobile
For instance, the instruction:
delete James Bloggs; 04112541
indicates deleting the member whose name is James Bloggs and mobile is 04112541 from the system.
Query the statistics using the following instructions and Save the query results to the reportFile.
Query results from different queries should be appended and separated by dash lines.
a) Query the membership records of a given pass type and calculate the total membership fees. For queries with more than one member in query results, sort the results in ascending order of name. When there is more than one member with the same name, sort the results in ascending order of mobile numbers. The format of the query instruction is listed below:
o query pass Silver
b) Query the age-based fee income distribution and save the query results to the reportFile. The format of the instruction is listed below:
o query age fee
the results should be appended to reportFile with format as below: ----query age fee----
Total Club Member size: 50
Age based fee income distribution
(0,8]: $30.00 (8,18]: $120.50 (18,65]: $900.00 (65,-): $50.50 Unknown: $0.00 ----------------------
Save the resulting data collection to output file(s)
Write the resulting data collection of the instructions of add, delete and sort into the specified resultFile.
Write the query results into another specified reportFile. When there are more than one
query commands, append the latest results to the end of the reportFile. Separate the results of different query instructions using dash lines with query instructions.
question: This is my group project and i need to make report on these attached picture
image text in transcribed save fuction
image text in transcribed UML diagram
can i get a report on these two attached picture
Thank you
Sir/Mam
3.5. Save function Figure 9 Save function in HCMM.java file The above figure shows the codes where the function to save has been established in the HCMM.java file. Figure 10 Save function in Instruction.java file The above figure shows the codes where the function to save has been established in the Instruction.java file. \begin{tabular}{|l|} \hline \multicolumn{1}{|c|}{ Member } \\ \hline - name: String \\ - birthday: String \\ - pass: String \\ - fee: String \\ - mobile: int \\ - age: int \\ \hline + Member(String, String, String, int, String, int) \\ + getName0: String \\ + setName(String): void \\ + getDOB0: String \\ + setDOB(String): void \\ + getPass0: String \\ + setPass(String): void \\ + getMobile(): int \\ + setMobile(int): void \\ + getFee0:: String \\ + setFee(String): void \\ + getAge0: int \\ + setAge(int): void \\ \hline \end{tabular}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 2 Lnai 9285

Authors: Annalisa Appice ,Pedro Pereira Rodrigues ,Vitor Santos Costa ,Joao Gama ,Alipio Jorge ,Carlos Soares

1st Edition

3319235249, 978-3319235240

More Books

Students also viewed these Databases questions