Please help on this paper: Using the simplified OOD methodology: Write down a de
ID: 664275 • Letter: P
Question
Please help on this paper:
Using the simplified OOD methodology:
Write down a detailed description of the problem.
Identify all the (relevant) nouns and verbs.
From the list of nouns, select the objects. Identify the data components of each object.
From the list of verbs, select the operations.
Write a short paper in response to the following prompt:
Your local police department wants to design new software to keep track of people, property, and criminal activity. List at least three classes you think should be in the design. For each class, identify some data members and methods.
Thank you
Explanation / Answer
Problem:local police department wants to design new software to keep track of people, property, and criminal activity
Step 1:Activity Description
Police Department wants to make a software that will keep track of all citizens in their areas. The people have unique IDs which can be tracked. They have observers and cameras which send reports on people at regular intervals. Also, the property office has an officer who informs the police about all new deals.
Step 2: Identify all nouns and verbs. Here nouns represents name of actor and verb represents usecases.
Nouns:
Police
People ---> Object1
Property ---> Object 2
Criminal Activity ----> Object 3 (possibly attribute of Object 1 and 2)
Verbs:
Track ---> Function of the classes
Lets create 3 basic classes:
1. Class InformationCollection
a. This class gathers all information sent by the classes which track people and property
b. This class also flags criminal activity
Data Members:
a. Report: obtained from People and Property class
Methods:
a. getData: Retrieve information from People and Property class
b. isCriminal: Check if report indicates criminal activty or not
2. Class People
//Each person is an instance of this class
Data Members:
a. ID
b. First name
c. last name
c. Address
d. ActivityList
Methods:
a. sendCaseReport
b. actionTrack
3. Class Property
Data Members:
a. propertyAddress
b. BuyerID
c. SellID
d. DealAmount
e. DealDate
Methods:
a. SendInfo
b. track
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.