Pune University BE CSE Object Oriented Modelling and Design Question Papers
B.E. (Computer Engineering) OBJECT ORIENTED MODELING & DESIGN
(2008 Pattern) (Sem. – I)
Time: 3 Hours] [Max. Marks :100
Instructions to the candidates:
1) Answer 3 questions from Section -1 and 3 questions from Section – II.
2) Answers to the two sections should be written in separate answer books.
3) Neat diagrams must be drawn wherever necessary.
4) Figures to the right indicate full marks.
5) Assume suitable data, if necessary.
SECTION – I
Q1) a) Explain the 4+1 view architecture with corresponding UML diagrams associated with each view. 
b) Define the following UML concepts with an example. 
i) Constraints. ii) Association.
i) Behavioral thing. iv) Collaboration.
Q2) a) What do you mean by MDA? How UML supports the concept of MDA? 
b) Give the OCL expression syntax with an example. 
c) What is the importance of modeling in software development? 
Q3) a) Explain the requirements metamodel with a neat diagram. 
b) Write the specification of the scenario ‘searching a book’ with alternate flows, in the library management system, using the usecase template. 
c) How do you model an exception in an activity diagram? 
Q4) a) Write the scope of the system for ‘Online Book shopping’ system and draw the usecase diagram. 
b) What are the types of analysis classes? Explain with an example each. 
c) How do you refine usecases into sub usecases? 
Q5) a) Draw the class diagram for a banking system with two classes, Account and Customer. Customer can open a saving or a current account and can do ‘deposit’ and ‘withdraw’ transactions. Identify suitable attributes and operations for the classes. 
b) Explain any 3 dependency stereotypes used in a class diagram. 
c) What is a package? How do you model a subsystem using a package?
Q6) a) A ‘personal diary’ mobile application manages the daily to-do tasks, appointments and contacts for a user. Give design model for this system with the class diagram by making suitable assumptions about the scope of the system. 
b) What is an object diagram? Give the application of object diagram with a suitable example. 
c) Give the types of inheritance with UML diagram. 
SECTION – II
Q7) a) What is an interaction? Draw the sequence diagram for the ‘Issue book’ sequence for a Library Management System showing the actor and sequence of messages. 
b) Explain the timing diagram with its importance in an embedded application. 
c) Differentiate between sequence and communication diagram. 
Q8) a) Draw the state diagram with composite states for ATM card reading and authentication system. 
b) Draw the sequence diagram for ‘Login with username and password’ showing alternate sequences. 
c) What is the purpose and need of interaction overview diagram? 
Q9) a) What is a component? What are the different types of components?
How do you model the source code using components? 
b) Give the different types of systems which can be modeled using deployment diagram? Draw the deployment diagram for an email system. 
Q10)a) What do you mean by two tier and three tier architecture? Draw the deployment diagram for a 2 tier web application. 
b) Explain the following in brief in the context of component diagram. 
i) provided and required interfaces.
ii) ports and connectors.
Q11)a) What is a design pattern? How do you categorize design pattern? Give an example for each category. 
b) Explain the solution of facade pattern using UML diagram. 
c) What do you understand by forward and reverse engineering? 
Q12)a) Explain the iterator pattern with intent, application and solution.  b) Why there is a loss of information in reverse engineering? How do you forward and reverse engineer a class diagram? 
❖ ❖ ❖