Object Oriented Analysis and Design MSC IT Term 3rd Past paper 2016 UOS

University of Sargodha
M.Sc. 3rd Term Exam 2016
Subject: I.T
Paper: Object Oriented Analysis & Design (SE-3311)
Time Allowed: 2:30 Hour
Maximum Marks: 80
Objective Part (Compulsory)
Q.1 Write short answer of following questions in 2–4 lines only. (16*2)
i. Difference between activities and artifacts via example? (hint: in context of RUP)
ii. In which phase of RUP formally testing phase will be started?
iii. What is instantiation, inheritance and polymorphism?
iv. What is object oriented analysis?
v. What are UML diagrams also name their types?
vi. State three basic element of activity diagram?
vii. In how many components does each class is divided in a class diagram
viii. Define multiplicity with example?
ix. Differentiate between aggregation and composition.
x. What are two types of interaction diagrams
xi. What does an execution occurrence depict in a sequence diagram
xii. Differentiate between aggregation and composition?
xiii. Name at least four artifacts achieved in 2nd phase of RUP?
xiv. Define association with example of an instance in a class
xv. What are Pre-conditions & Post-conditions? (hint: in context of UseCase)
xvi. What is the purpose of package diagrams?
Subjective Part (3*16)
Q.2. How RUP model is different from other SDLC models? Elaborate RUP in detail? (16)
Q.3. Consider a vending machine processes:
- Buy a beverage: The vending machine delivers a beverage after a customer selects and pays for it.
- Perform Scheduled Maintenance: The repair technician performs the periodic service on the vending machine necessary to keep it in good working condition.
- Make repairs: The repair technician performs the unexpected service on the vending machine necessary to repair a problem in its operation.
- Load Items: A stock clerk adds items into the vending machine to add its stock of beverages.
(a) Create a Use Case Diagram for this Vending Machine, also use Include and extend keywords, where applicable? (08)
The vending machine delivers a beverage after a customer selects and pays for it. The machine starts in the waiting state in which it displays the message “Enter coins”. When the customer inserts coins into the machine, the machine enters into “Ready” state. When the customer pushes the ok button, the machine goes in “Dispense” state. In this state, the machine dispenses the corresponding item. The machine goes in “Out of Stock” state if item is not loaded.
(b) Draw the state transition diagram for above description (08)
The Retail Store Management System is a system designed for managing i.e. For ordering, arranging and selling goods. The Retailer checks for the availability of goods in the store. If the stock of goods is less then retailer places order for goods. While ordering the goods, goods are received at store, the retailer then arrange them by product or by Price, then retailer makes payment. If the stock of goods is available then he will arrange goods for selling. The retailer then sales the goods directly to the customer. The customer buys the items from retailer. The retailer prepares bill for goods purchased by the customer, he receives amount by credit or by cash from customer. The supplier supplies the goods to the store in the system.
The overall system is used to manage the goods in the store.
Q.4. Draw Activity And Sequence diagram for managing goods, after reading above case study? (16)
Q.5. Draw a detail case diagram of above illustrated Retail Store Management System? (16)
Q.6. Write a detail note on GOF? (16)