Question

In: Computer Science

For this question, you are given a negotiated statement of requirements and asked to produce a...

For this question, you are given a negotiated statement of requirements and asked to produce a structural model.

Here is the negotiated statement of requirements (NSR) for the PickMeNow System (PMNS):

PickMeNow is a new taxi company which has started its operations recently. In order to meet the on-demand transportation needs of its customers, PickMeNow has decided to invest in an IT solution to connect its customers and drivers.

Drivers and customers are required to register with PickMeNow by providing a name, contact number and an email address. PickMeNow assigns an identification number to each registered driver and customer. In addition, each driver is required to provide the details of his bank account (account number and bank name) and vehicle details as described below. Drivers can transfer the amount in his PickMeNow account to his bank account.

PickMeNow provides three types of vehicle to its customers: cars, vans and mini buses. For each vehicle, it is required to capture its licence plate number, brand and model. When a customer makes a booking for a mini bus, he has to make an upfront deposit amount. The deposit will be returned to the customer if the booking is not cancelled by the customer. For vans, there is a booking fee on top of the trip fare. If a customer cancels a booking for a mini bus, the deposit is forfeited if the cancellation is received 3 days before the date of the ride.

When a customer submits a booking to PickMeNow, he needs to specify the date and time, vehicle type, the pick-up point and destination of the trip. PickMeNow would generate a booking id, calculate the fare and broadcast this trip to all available drivers who are free to accept the booking. The customer would then choose a driver from the list of drivers who had accepted the booking. The chosen driver would then proceed to provide the taxi service to the customer.

The data to be kept for each ride includes a reference number, driver and customer details (identification number and name), fare, pick-up point, destination, distance, date, start time and end time of the ride. At the end of each ride, the driver’s account will be credited with the amount of the fare minus any fee due to PickMeNow.

After completing a ride, customers can accumulate points. After completing rides worth a total of $400, the customer will become a Premium customer. Only Premium customers can redeem their points to pay their bill. Points may be used to offset a customer’s bill and if there are insufficient points, the rest of the bill must be paid using a credit card.

Develop a structural model for the system design, by submitting your answers to the following:

(a) Identify the classes, their attributes and any hierarchical relationship(s), omitting the foreign key associations that would be required for the application. Submit the class description as your answer.

(b) Appraise the associations among the classes and hierarchical relationship(s) that would be required for the application. Construct the class-association diagram in UML as your answer. Any derived association should be labelled, but you need not give the derivation.

Solutions

Expert Solution

PLEASE GIVE AN UPVOTE AND COMMENT FOR ANY QUERIES


Related Solutions

For this question, you are given a negotiated statement of requirements and asked to produce a...
For this question, you are given a negotiated statement of requirements and asked to produce a structural model. Here is the negotiated statement of requirements (NSR) for the PickMeNow System (PMNS): PickMeNow is a new taxi company which has started its operations recently. In order to meet the on-demand transportation needs of its customers, PickMeNow has decided to invest in an IT solution to connect its customers and drivers. Drivers and customers are required to register with PickMeNow by providing...
You are asked to produce a stealth liposome with the ability to carry cDNA into the...
You are asked to produce a stealth liposome with the ability to carry cDNA into the nucleus of a targeted cell carrying a specific type of receptor on its membrane. How would you design it?
To collect information on the functional requirements you are asked to develop 15 sample questions to discover the requirements, you are going to interview buyers and sellers.
SCENARIOTextbooks R Us is a small business that was set up 20 years ago to facilitate the physical sale of second-hand textbooks for University students. They would now like to change their business model to an e-business model where they only sell their books online. Its business will run entirely on the Internet and students will be able to sell and purchase books via their website. This will allow the business to increase their market as they will not be...
You are asked to write a simple C++ phonebook application program. Here are the requirements for...
You are asked to write a simple C++ phonebook application program. Here are the requirements for the application. read the contact information from a given input file (phonebook.txt) into a dynamically created array of Contact objects. Each line of the input line includes name and phone information of a contact. Assume that each name has a single part Allow to perform operations on array of data such as search for a person, create a new contact or delete an existing...
Give an example of a relation that fits the given requirements. If you think that there...
Give an example of a relation that fits the given requirements. If you think that there is no such relation, you must explain why. In each case, you may not use any of the relations that appears earlier in this problem set. Unless told otherwise, you may use any of the following ways of defining a relation: set-list notation, set-builder notation, or a directed graph. (a) A relation on {a,b,c,d} that is not reflexive, not antireflexive, and not transitive. You...
(PYTHON) Q2 Strings, a more complex program from requirements In part A you are asked to...
(PYTHON) Q2 Strings, a more complex program from requirements In part A you are asked to write the pseudocode for the program. In part B you are asked to write the syntax of the code for the program you outlined in the pseudocode. Q2 Part A - Pseduocode Create the Pseudocode for the program outlined in Q5. Make sure that your program includes all the requirements outlined. This cell is markdown, you do NOT need to use markdown to format...
Instructions: Using the following data, complete the requirements given below. When you are given amounts to...
Instructions: Using the following data, complete the requirements given below. When you are given amounts to assume as the answers to previous requirements, be careful to use such assumed amounts rather than your answers (in order to minimize carry-through errors). The Finishing Department of Curtis Corporation reports the following for January 2011: Production: All materials are added at the beginning of the process. Beginning work in process 20,000 units, 60% complete. Units started into production 240,000 units. Ending work in...
When a nucleus of a given isotope decays, it Question options: cannot produce a daughter with...
When a nucleus of a given isotope decays, it Question options: cannot produce a daughter with a lower mass number. cannot produce a daughter with the same mass number. always produces a daughter with a lower mass number. always produces a daughter with a higher mass number. cannot produce a daughter with a higher mass number.
A survey of 3000 women and 1000 men asked the question, “Given the relative advantages in...
A survey of 3000 women and 1000 men asked the question, “Given the relative advantages in today’s society, is it better to be a man or a woman?” The results are below. Do the results indicate that opinion and gender are related? Remember the applets will only accept one word labels. Opinion Men Women Better to be a Man 501 1470 Better to be a Woman 78 241 No difference 392 1228 Don’t Know 29 61
Proocess Costing Instructions: Using the following data, complete the requirements given below. When you are given...
Proocess Costing Instructions: Using the following data, complete the requirements given below. When you are given amounts to assume as the answers to previous requirements, be careful to use such assumed amounts rather than your answers (in order to minimize carry-through errors). The Finishing Department of Curtis Corporation reports the following for January 2011: Production: All materials are added at the beginning of the process. Beginning work in process 20,000 units, 60% complete. Units started into production 240,000 units. Ending...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT