Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1 : Consider the following code / pseudocode . Draw a sequence diagram that represents this code, you should include all / any non

Part 1: Consider the following code/pseudocode. Draw a sequence diagram that represents this
code, you should include all/any non-boundary objects (i.e., classes) involved in the
code. Note: screenshots from other websites/tools will not be accepted (0 mark)
Part 2: Consider the following problem description. Your task is to create a Use Case UML
diagram to illustrate the functional requirements of the described system.
Consider an online reservation system for a bus company. The company operates several buses,
each identified by a unique plate number and an assigned bus number. These buses follow a
predefined schedule, making stops at specified bus stations, with each bus undertaking only one
trip per day. Each trip includes a driver and a hostess, and for longer journeys, there are
scheduled breaks at service and rest areas. The trips are categorized into two types: normal trips,
which stop at intermediate stations, and express trips, which travel directly to the destination
without stopping.
Customers can reserve seats through the bus company's website, with the option to pay for the
seat online. If the seat is paid for, it cannot be cancelled by either the customer or the bus
company. If the seat is not paid for, the bus company reserves the right to cancel the reservation
if the customer does not show up at least one hour before the trip. Cancelled reservations free up
the seat, making it available for other customers. Both customers and company staff must
authenticate themselves to perform any operations within the system.
image text in transcribed

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

Students also viewed these Databases questions

Question

What is the relation of physical mathematics with examples?

Answered: 1 week ago

Question

What are oxidation and reduction reactions? Explain with examples

Answered: 1 week ago