Department of Computer Science and Engineering
Indian Institute of Technology Roorkee
CSN-291 OOAD, Time- 1 hour (For all activities)
Quiz- Nov., 2020
Instructions:
1. All questions are compulsory.
2. Quality of answer will be important consideration during evaluation.
3. Write your answers on sheets and upload scan copies of all pages as pdf file in
assignment section. Time of 1 hour is for all activities including download, scan and
upload time.
Question-1
Given the problem specification as below:
Train Management System is a committed and profoundly configurable framework for
railways, which can be effectively accessed by clients. It encourages the clients to book
trips without visiting station booking counters. Any client can get to this framework
from any area whenever. In such a framework, a traveler ought to have the option to
see the accessibility of train details, according to their prerequisite. They can book trains
on the web and can likewise cancel the reservation. The administrator deals with the
traveler booking framework and updates the reservation status.
(a) Prepare a sequence diagram document for the problem specified. The sequence
diagram should contain the following information:
(i) Sequence diagram for ticket reservation use case (10 Marks)
(ii) Sequence diagram for ticket cancellation use case (10 Marks)
(b) Prepare a collaboration diagram document for the problem specified. The collaboration
diagram document should contain the following information:
i) Collaboration diagram for ticket reservation use case (10 Marks)
ii) Collaboration diagram for ticket cancellation use case (10 Marks)
Question-2: (2*5 = 10 Marks)
i. Choose most appropriate answer. Which of the following diagram shows ‘what all the
users can do with the system?”
(a) Class diagram
(b) Use-case diagram
(c) Sequence diagram
(d) None of the above
ii. Draw notations for following with reference to use case UML diagrams.
a) A use case process
b) System boundary
c) User role
d) External system