Você está na página 1de 3

VASAVI COLLEGE OF ENGINEERING

Department of Information Technology


MODEL QUESTION PAPER
Sub: OBJECT ORIENTED SYSTEM DEVELOPMENT
Time:3hours
marks:70
Answer Any five of the following:
Q.1Compare and Contrast the feature list and Use Cases. [6] .
Q.2. What do you understand by Contracts in Unified Process? What are three kinds of Post
Conditions might be written in Contracts. Give one example of each. [6] .
Q.3. Discuss how Unified Process Model is Incremental and Iterative. State the work artifacts
for the Elaboration Phase. [6]
Q.4. Suppose we have a system to manage secure lockers, say at a railway station. There are
two types of locker: those operated using a fifty pence coin and those operated using a
pass-card. Customers can use coins to operate the lockers or can buy a pre-paid pass-card
from the manager. In both cases the system keeps no record of the customer. Customers
may also obtain a pass-card from a manager without pre-paying. In this case they get a
monthly bill, which is paid in arrears. Pass-cards contain a smart chip for security reasons
and are marked valid for a number of locker usages depending on the amount paid. To be
billed monthly, customers obtain a pass-card by filling in an application form and giving it
to the manager who supplies the card. After this, locker charges are made to their account
and they receive a monthly bill and make the payment to the manager. Customers with a
Pass-card use the lockers with a pass-card slot. The system automatically looks after the
payment process. Every locker begins its life in an unlocked state. It may be locked by
turning and removing a numbered key after a fifty pence coin has been inserted. There are
two ways the locker can become unlocked. The normal method is that someone turns the
correct key. However all lockers have a maximum-use period of 24 hours and if this time is
elapsed, the locker opens automatically. The system also incorporates an alarm system
that sounds if a locked locker is opened without a valid key.

4.1. Draw a UML use case diagram for the problem statement. Provide a text based
description for the normal scenario for each use case. If the problem statement has
missing information then you may act as the client of the system and fill in the
gaps, clearly stating where you have done so and why. [10]

4.2. Draw a Domain Model Diagram for this system showing all associations (including
inheritance and aggregation, if any). [8]
4.3. Draw System Sequence Diagram for two main Use Cases and identify main events[4]
Q.5. A social network service focuses on building online communities of people who share
interests and/or activities, or who are interested in exploring the interests and activities of
others. Facebook support groups that people can join. Each group has a title, administrative
members, a group type (open/ closed), and a list of related groups. If somebody writes on the
wall page of the group, the information is broadcasted to all the members and it is visualized
in the news feeds of the members. Users should be able to join a group as well as leave a
group if they get bored. Once a user has joined a group it will automatically receive any
updates that are published on the wall.

Q.5 (a). Which design pattern is the most appropriate to handle this basic functionality of
such a Facebook group? Give proper explanation. [5]

Q.5 (b). Show appropriate class diagram(s) and enough code fragments to illustrate your use
of the pattern to solve the problem. [15]
Q.6. Suppose we would like to extend the functionality of Facebook group mentioned in Q.2
above by adding the possibility that besides normal users a group page can also be a member
of another group. For example it should be possible that the group page of the XYZ car
lovers joins the Design Patterns group. As a consequence all the members of the XYZ
group become automatically members of the Design Patterns group.

Q.6 (a). Which design pattern is most appropriate to accommodate this change? How can the
solution proposed in the Q.2 above shall be extended? [5]

Q.6 (b). Show appropriate class diagram(s) and enough code fragments to illustrate your use
of the pattern to solve the problem.

Q.7Give the activity diagram that describes the overall activity in the given domain.

Q.8. Consider processing an order at Amazon.com. When you place an order, Amazon must
notify you that your order has been received, schedule the order for shipping, if the
item is not available it must be back-ordered, prepare the order for shipping, ship the
order, notify you that the order has been shipped (or back-ordered), and bill your credit
card. In addition, you can cancel the order, or modify the information on it before it has
shipped. Draw a UML statechart diagram showing the Order classs states and the
events that cause the order to change from one state to the next

Você também pode gostar