‘Total No. of Questions : 12] [Total No. of Pages :3
P1222
[3564] - 335
B.E. (IT)
OBJECT ORIENTED MODELING & DESIGN
(2003 Course)
Time : 3 Hours} (Max. Marks:100
Instructions to the candidates:
1) Answer three questions from each section.
2) Answers to the two sections should be written in separate books.
3) Neat diagrams must be drawn wherever necessary.
SECTION - 1
QI) a) What is OMG? What are its objectives? Explain the new features in
UML 2.0. [8]
b) What are the salient features of RUP? How is it different from the
waterfall model? [3]
OR
Q2) a) What is CORBA standard? How do remote invocations work in
CORBA? : [8]
b) Explain following OO concepts - coupling, aggregation, cohesion,
persistence. [3]
03) a) Explain following UML standard stereotypes - <>,
<>, <> , <>. [3]
b) Explain following concepts with reference to a deployment diagram -
node, artifact, <>, communication. [8]
OR
Q4), a) How are derived attributes, pre / post conditions and class invariants
expressed in OCL? Explain with an example. {8]
b) What are UML profiles? What is forward engineering ofa class in C++
from a class diagram? [8]
PTO.Q5) a)
b)
06) a)
b)
Q7) a)
b)
8) a)
Q9) a)
b)
[3564]-335 2
Explain different types of class relationships in a class diagram. You
have to design a system for a doctor’s clinic. Identify the system
requirements and model them in a Use Case Diagram. 19]
Show with examples timing constraints in a sequence diagram. How is
CRC method useful to identify potential classes in a class diagram?|9]
OR
Draw a design level class diagram for a - Student Admission System.
State clearly the scope and assumptions made. 19]
With reference to composite structure diagram explain with example
following elements - part, port, connector, collaboration, structured
classifier. : 19]
SECTI 1
Consider a Use Case in Library System namely “Return a book in a
library” The member, book, issue and return records will have to be
updated appropriately. Please identify correct objects and messages
and draw a SEQUENCE diagram for this scenario or use case. [8]
Give notation for following concepts in a sequence diagram. Explain
these with help of a hypothetical online computer store application.
i) Altii) return values iii) full notation for a message iv) destroy an
object. [8]
OR
Draw a communication diagram for ‘Schedule a seminar’ in a hypothetical
college system for TE seminar management. Make suitable assumptions
about the scope, possible classes in your system. [8]
Compare following : [8]
i) sequence and communication diagram.
ii) synchronous and asynchronous messages.
Explain following concepts from activity diagrams. [8]
i) action pins ii) parameter nodes iii) partitions iv) forks.
Identify all the academic activities that you do in a semester from its
start till it ends. e.g. admissions, attending classes; labs, exams,
gathering any many more. Draw an activity diagram showing these
activities with swim lanes, forks and joins. 18]
ORQ10) a)
b)
Q11) a)
b)
Q12) a)
A FSM toaster has two slots. Each can hold a slice of bread to be
toasted. If only one slice is to be toasted, it must be placed in slot 1.
The user places the bread in the slots and then depresses the lever. The
bread descends into the toaster. Heating filaments toast the bread. When
the toast is complete, the carrier pops up, and the toast is made
available to the user. How do we know when the toast is done? There
is a color selector knob on the toaster. A sensor in slot 1 measures the
color of the toast. When the toast has acquired the color that the knob
is set to, the toast is complete. Alternatively, a timer will terminate the
toasting if the toast takes “too long” to reach the appropriate color.
Alternatively, if the color changes too fast, then the toasting is aborted.
This protects us from starting fires when someone puts a piece of
paper in the slot.
Toasting best occurs at a particular temperature. If too hot, the surface
of the bread scorches but the inside remains too soft. If too cold, the
toasting takes too long and the bread dries out too much. Thus, the
temperature has to be carefully regulated. Moreover, as the color of the
bread changes, the optimum toasting temperature rises due to decreased
reflectivity of the bread. Thus, the temperature is a function of color.
Draw a state transition diagram for this FSM toaster. [8]
- Explain with notations following concepts. * [8]
Self transition, entry / exit actions , transition to a composite state,
history state.
A bank wants to build a loan management system. Identify various
subsystems and depict the entire architecture of the system in a
package diagram. 19]
An academic institution has developed a campus wide network and
has implemented an ERP software. The students section, library,
accounts section, stores , principal’s office are all connected. All the
modules are centrally served thru a server in form of a web application.
‘The database server is located in the systems department and the
application server is located at the computer center. Identify the different
software components required, make assumptions about their
environment and depict all this in a deployment diagram. 19]
OR
What stereotypes are used in a component diagram.? Explain
following concepts relevant to a component diagram - interfaces, ports,
component dependencies. 19]
Write a note on modeling architecture in UML. 19]
OsGn
[3564]-335 9