Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer All the Questions & Draw UML diagrams for the given Application-Scenarios A. Consider the following Scenario for Online-Reservation system for Railway-Company : Railway Reservation

Answer All the Questions & Draw UML diagrams for the given Application-Scenarios
A. Consider the following Scenario for Online-Reservation system for Railway-Company :
Railway Reservation System is a system used for booking tickets over internet.
Any Customer Can book tickets for different trains. Customer can book a ticket
only if the tickets are available. Customer searches for the availability of tickets
then if the tickets are available he books the tickets by initially filling details in a
form. Tickets can be booked in two ways by i-ticket or by e-ticket booking.
In case of i-ticket booking, customer can book the tickets online and the tickets are
couriered to Particular customer at their address. But in case of e-ticket booking
and cancelling tickets are booked and cancelled online sitting at the home and
customer himself has to take print of the ticket but in both the cases amount for
tickets are deducted from customers account.
For cancellation of ticket, the customer has to go at the reservation office then fill a
cancellation form and ask the clerk to cancel the ticket then the refund is
transferred to customer account. After booking the ticket, the customer has to
checkout by paying fare amount to clerk.
1) Draw a use-case diagram for describing the functional requirements of the above system.
2) Draw Class-diagram show the Class attributes, operations, Generalization, Association, Multiplicity and Object Diagram
3) Draw Object Diagram for the above Scenario.
B. For the given below Elevator System Scenario draw the following UML diagrams:
4) Collaboration diagram including constraint tools
5) Activity diagram including Vertical swimlane, fork, join, merge,decision tools
A product is to be installed to control elevators in a building with m floors. The problem concerns the logic required to move elevators between floors according to the following constraints:
Each elevator has a set of m buttons, one for each floor. These illuminate when pressed and cause the elevator to visit the corresponding floor. The illumination is canceled when the elevator visits the corresponding floor.
Each floor, except the first floor and top floor has two buttons, one to request and up-elevator and one to request a down-elevator. These buttons illuminate when pressed. The illumination is canceled when an elevator visits the floor and then moves in the desired direction.
When an elevator has no requests, it remains at its current floor with its doors closed.
The basic course of Action for elevator scenario:
Passenger presses floor button (that is the button on the wall).
Elevator system detects floor button pressed.
Elevator moves to the floor.
Elevator doors open.
Passenger gets in and presses elevator button (that is the button in the cabin panel).
Elevator doors close.
Elevator moves to required floor.
Elevator doors open.
Passenger gets out.
Elevator doors close.
Software Engineering -1 (371- CS)

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

Recommended Textbook for

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions

Question

Discuss the techniques of sales forecasting.

Answered: 1 week ago

Question

Write short notes on Marketing mix.

Answered: 1 week ago

Question

What is DDL?

Answered: 1 week ago