Blog
Object Oriented Analysis and Design BSSE Term 4th Past paper 2016 UOS

University of Sargodha
BS 4th Term Examination 2016
Subject: Software Engineering
Paper: Object Oriented Analysis & Design (SE:3311)
Time Allowed: 2:30 Hours
Maximum Marks: 80
Objective Part (Compulsory)
Q:1 Write short answers of the following in 2-3 lines each on your answer sheet. (2*16)
i. What is an object to class?
ii. Define Information and encapsulation?
iii. What activities are completed before transition phase of RUP model?
iv. Write any two benefits of Design Patterns?
v. What is difference between generalization and specialization?
vi. What is the purpose of package diagrams?
vii. Name any two interaction diagrams
viii. Difference between activities and artifacts via example? (hint: in context of RUP)
ix. What is the role of trigger in a state machine diagram?
x. What does an execution occurrence depict in a sequence diagram?
xi. What does a keyword Include and extend means?
xii. Differentiate object, dynamic and functional modeling?
xiii. Differentiate between merge and decision node?
xiv. What is cohesion?
xv. List any two Structural Diagrams?
xvi. Differentiate between Analysis and Design?
Subjective Part (3*16)
Q.2 Write a detail note on RUP model? How can you differ RUP model from other SDLC models? (12+4)
Q.3 What is a Package diagram and its benefits/Purpose? Draw a package diagram for the ATM Machine software? (08+08)
Q.4 What are design Patterns, explain any five design patterns of GRASP with help of diagram?
Q.5
(a) Create a Use Case Diagram for the following Vending Machine? (08)
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.
(b) Prepare an activity diagram for computing a restaurant bill? (08)
There should be a charge for each delivered item. The total amount should be subject to tax and service charge of 18% for groups of six or more. Any coupons charge submitted by the customer is subtracted from bill.
Q.6 Draw Class diagram of the following scenario? (16)
Consider the air transportation system. Many flights land and depart from city’s airport. Some of the big cities may have more than one airports. Every flight belongs to specific airline. The planes may have many flights to different airports. Each plane is identified with serial number and model. E.g. hypersonic. There are specific pilots for each airline and they fly many flights. Each flight is identified by flight number and date on which flight is scheduled. The passenger reserves a seat for a flight. The seat is identified by a location.