It’s a study case. Basically reading and answering question. Containing construction of UML diagrams

UNIVERSITY OF GUYANAFACULTY of NATURAL SCIENCES
TEST 1 OF 2023-24
SUMMER EDITION
CODE AND NAME OF COURSE:
CSE3203 Object Oriented Software
Analysis, Design and Development
DATE AND TIME:
15th July, 2024 13:00 hrs
DURATION:
TAKE-HOME TEST
EXAMINER: Internal:
Ms. Sandra Khan
INSTRUCTIONS TO CANDIDATES:




THIS PAPER HAS 4 SECTIONS AND 4 PAGES.
ANSWER ALL QUESTIONS.
READ EACH QUESTION CAREFULLY BEFORE ANSWERING.
ALL ANSWERS MUST BE SUBMITTED ON MOODLE IN ONE PDF FILE.
• STATE THE NAME(s) OF THE CASE TOOL(s) USED TO CREATE DIAGRAMS
• TOTAL MARKS: (15%)
Case Study: On the Spot Courier Services
PART A
As an employee of a large international courier and shipping service, Bill Wiley met almost every day with
many companies that shipped and received packages. He was frequently asked if his company could deliver
local packages on the same day. Over several months, he observed that there appeared to be a substantial
need for courier services in the city in which he lived. He decided that he would form his own courier
delivery company called On the Spot to fill this need.
Bill began by listing his mobile telephone number in the Yellow Pages. He also sent letters to all those
companies that had requested same-day courier service that his prior company had not been able to serve. He
hoped that, through good service and word-of-mouth advertising, his business would grow. He also began
other advertising and marketing activities to promote his services.
At first, Bill received delivery requests on his business mobile phone. However, it was not long before his
customers were asking if he had a Web site where they could place orders for shipments. He knew that if he
could get a Web presence he could increase his exposure and help his business grow.
After he had been in business only a few short months, Bill discovered he needed to have additional help. He
hired another person to help with the delivery and pickup of packages. It was good to see the business grow,
but another person added to the complexity of coordinating pickups and deliveries. With the addition of a new
person, he could no longer “warehouse” the packages out of his delivery van. He now needed a central
warehouse where he could organize and distribute packages for delivery. He thought that if his business grew
Page 1 of 4
enough to add one more delivery person he would also need someone at the warehouse to coordinate the
arrival and distribution of all the packages.
QUESTIONS
1.
Who are the stakeholders for On the Spot?
[4 marks]
2.
If you were commissioned to build a system for Bill, how would you determine the
requirements? Be specific in your answer. Make a list of the questions you need
answered.
[6 marks]
3.
What are the primary functional requirements for the system as described so far in the
case?
[12 marks]
PART B
The details of the package pickup and delivery process for On the Spot courier service are described here.
When Bill got an order, at first, only on his phone, he recorded when he received the call and when the
shipment would be ready for pickup. Sometimes, customers wanted immediate pickup; sometimes, they were
calling to schedule a later time in the day for pickup.
Once he arrived at the pickup location, Bill collected the packages. It was not uncommon for the customer to
have several packages for delivery. In addition to the name and address of the delivery location, he also
recorded the time of pickup. He noted the desired delivery time, the location of the delivery, and the weight of
the package to determine the courier cost. When he picked up the package, he printed out a label with his
portable printer that he kept in the delivery van.
At first, Bill required customers to pay at the time of pickup, but he soon discovered that there were some
regular customers who preferred to receive a monthly bill for all their shipments. He wanted to be able to
accommodate those customers. Bills were due and payable upon receipt. To help keep track of all the
packages, Bill decided that he needed to scan each package as it was sorted in the warehouse. This would
enable him to keep good control of his packages and avoid loss or delays.
The delivery of a package was fairly simple. Upon delivery, he would record information about when the
delivery was made and who received it. Because some of the packages were valuable, it was necessary in
those instances to have someone sign for the package.
QUESTIONS
1. Using the full Case Study, identify all the actors that will be using the system. [4 marks]
2. Using the event decomposition technique for each event you identify, name the event,
state the type of event, and name the resulting use case. Draw a use case diagram for
these use cases. For each use case, develop a corresponding detailed Use Case
Description.
[20 marks]
PART C
On the Spot courier services grew and changed over the years. At first, Bill received requests for
package pickups on his mobile phone, recorded that information in a log, and would then drive around to
retrieve all the packages later in the day. However, he soon discovered that with another driver, it was difficult
to coordinate pickups between the two of them from his van. It was not long before he reorganized his business
and turned the warehouse employee into a driver. Then, he stayed in the warehouse himself, and his two
employees made all the pickups and deliveries. This worked well because he could control and coordinate him
to receive pickup requests working at a desk rather than trying to do it while driving a delivery van.
Page 2 of 4
As he thought about how his business was growing and the services he provided to his customers, Bill
began to itemize the kinds of information he would need to maintain.
Of course, he needed to maintain information about his customers. Some of his customers were
businesses; some were individuals. He needed to have basicaddress and contact information for every customer.
Also, for his corporate customers, he needed to identify a primary contact person. It was mostly his corporate
customers who wanted to receive monthly statements listing all their shipments during the month and the total
cost. Bill needed to distinguish which customers paid cash and which wanted monthly statements. In fact, for
those that paid monthly, he needed to keep a running account of such things as when they were last billed,
when they paid, and any outstanding balances. Finally, when payments were received, either for individual
shipments or from monthly invoices, he needed to record information about the payment: type of payment,
date, and amount. Although this was not a sophisticated billing and payment system, Bill thought it would
suffice for his needs.
Next, he started thinking about his packages and shipments. At the time that a request for a pickup came
in, he needed to keep track of it as some type of delivery request or delivery order. At that point in time, Bill
mostly needed to know who the customer was, where the pickup location was, and what date and time the
package(s) would be ready for pickup. He also recorded the date and time that he received the order. A delivery
order was considered “open” until the delivery van arrived at the pickup location and the packages were all
retrieved. At that point, the delivery order was satisfied.
Once the packages were retrieved, each package needed to be uniquely identified. Bill needed to know
when it was picked up and which delivery person picked it up. Other important information was the “deliver
to” entity name and the address. He also needed to identify the type of delivery. Some packages were high
priority, requiring same-day delivery. Others were overnight. Of course, the weight and cost were recorded so
the customer could either pay or have it added to the monthly invoice.
In the courier and delivery business, one of the most important information requirements is the date and
time stamp. For each package, it is important to know when it was picked up, when it arrived at the warehouse,
when it went back out on the delivery run, and when it was delivered. When possible, it is also important to
have names associated with each of these events.
QUESTIONS
1. Using the noun technique, read through the full case study and identify all the nouns that
may be important for this system.
2. Once you have identified all the nouns, identify which are classes and which are
attributes of these primary classes. Begin constructing a class diagram based on the
classes and attributes you have identified.
3. Now that you have identified the classes, determine what the relationships should be
among the classes. Add multiplicity constraints, being especially cognizant of zero-tomany versus one-to-many differences.
4. Finalize the class diagram, including all your classes, attributes, primary keys,
relationships, and multiplicity constraints.
[15 marks]
PART D
As On the Spot Courier Services continues to grow, Bill discovers that he can provide much better services
to his customers if he utilizes some of the technology that is currently available. For example, it will allow
him to maintain frequent communication with his delivery trucks, which could save transportation and
labour costs by making the pickup and delivery operations more efficient. This would allow him to serve his
customers better. Of course, a more sophisticated system will be needed, but Bill’s development consultant
has assured him that a straightforward and not too-complex solution can be developed.
Here is how Bill wants his business to operate. Each truck will have a morning and afternoon delivery
and pickup run. Each driver will have a portable digital device with a touch screen. The driver will be able
to view his or her scheduled pickups and deliveries for that run. (Note: This process will require a new use
case—something the Agile development methodology predicted would happen.) However, because the trucks
will maintain frequent contact with the home office via telephony Internet access, the pickup/delivery schedule
Page 3 of 4
can be updated in real time—even during a run. Rather than maintain constant contact, Bill decides that it will
be sufficient if the digital device synchronizes with the home office whenever a pickup or delivery is made. At
those points in time, the route schedule can be updated with appropriate information.
Previously, customers were able to either call On the Spot and request a package pickup or visit the company’s
Web site to schedule a pickup. Once customers logged in, they could go to a Web page that allowed them to
enter information about each package, including “deliver to” addresses, size and weight category information,
and type of service requested. On the Spot provided “three hour,” “same day,” and “overnight” services. To
facilitate customer self-service, On the Spot didn’t require exact weights and sizes, but there were predefined
size and weight categories from which the customer could choose.
Once the customer entered the information for all the packages, the system would calculate the cost and
then print mailing labels and receipts. Depending on the type of service requested and the proximity of a
delivery truck, the system would schedule an immediate pickup or one for later that day. It would display
this information so the customer would immediately know when to expect the pickup.
Picking up packages was a fairly straightforward process. But there was some variation in what would happen
depending on what information was in the system and whether the packages were already labeled. Upon
arriving at the scheduled pickup location, the driver would have the system display any package information
available for this customer. If the system already had information on the packages, the driver would simply
verify that the correct information was already in the system for the packages. The driver could also make such
changes as correcting the address, deleting packages, or adding new packages. If this were a cash customer, the
driver would collect any money and enter that into the system. Using a portable printer from the van, the driver
could print a receipt for the customer as necessary. If there were new packages that weren’t in the system, the
driver would enter the required information and also print mailing labels with his portable printer.
One other service that customers required was to be able to track the delivery status of their packages. The
system needed to track the status of a package from the first time it “knew” about the package until it was
delivered. Such statuses as “ready for pickup,” “picked up,” “arrived at warehouse,” “out for delivery,” and
“delivered” were important. Usually, a package would follow through all the statuses, but due to the
sophistication of the scheduling and delivery algorithm, a package would sometimes be picked up and delivered
on the same delivery run. Bill also decided to add a status of “cancelled” for those packages that were
scheduled to be picked up but ended up not being sent.
QUESTIONS
1. Based on this description, develop the following for the use case Request a package pickup and for
the Web customer scenario:
i. A fully developed use case description
[2 marks]
ii. An activity diagram
[2 marks]
iii. An SSD
[2 marks]
2. Based on the same description, develop the following for the use case Pickup a package:
i. A fully developed use case description
[2 marks]
ii. An activity diagram
[2 marks]
iii. System sequence diagram
[2 marks]
3. Develop a state machine diagram describing all the possible status conditions for a Package object.
[2 marks]
End of Test
Page 4 of 4

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper
Are you stuck with your online class?
Get help from our team of writers!

Order your essay today and save 20% with the discount code RAPID