Answered step by step
Verified Expert Solution
Question
1 Approved Answer
It is very common for a real - world organisation to keep track of a collection of things that are important to it . For
It is very common for a realworld organisation to keep track of a collection of things that are important to it For example, a birdwatching club keeps track of birds they have seen.
The software that supports this scenario is based on two classes. The first class models the society or club and the second class models the things they keep track of the objects of interest.
Objects of interest like any other objects have attributes representing data about those objects, modelled by fields.
The society object maintains a map consisting of objects of interest as keys and an associated list of information as values.
For example, a bird watching club might have as keys in the map, all the bird species that members had sighted, and as values lists of the dates of the sightings. Birds would need a species field.
These classes form a kind of simple database. To prevent the contents of this database being lost when the program stops running, we make it persistent, by providing methods that can write the data out to a file, and then read it back in again at a future time. You will learn how to do this when you reach Chapter and do not need to consider the details at this stage.
Your task for TMA
You will need to choose a scenario that interests you for a club or society that needs to keep track of some objects of interest to it together with data about those objects.
Your scenario should not be too similar to any example that appears in the module materials.
aWrite a few sentences giving a general overview of the scenario, its setting and why it interests you.
marks
bDescribe details of your scenario to your tutor using the following template that you can copy and paste to your Solution Document, completing the parts in italics.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started