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

University of Sargodha
M.Sc. 3rd Term Exam 2017
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 answers of the following in 2–3 lines each. (16*2)
i. What are four major milestones in RUP model are achieved with passage of time interval?
ii. What factors are estimated in inception phase?
iii. How an object can be represented?
iv. What is object oriented design?
v. Differentiate object, dynamic and functional modeling?
vi. State any two benefits of using Unified Modelling Language?
vii. What are control nodes in activity diagram?
viii. Give an example to elaborate the feature of fork and join in an activity diagram.
ix. What is the role of trigger in a state machine diagram?
x. In how many components does each class is divided in a class diagram?
xi. What are the possible visibilities for a class attribute?
xii. Elaborate the concept of generalization and specification by help of class diagram?
xiii. What does an execution occurrence depict in a sequence diagram?
xiv. What does a keyword Include and extend means in the UCD?
xv. On which basis elements of a software are gathered in a package.
xvi. Differentiate between Functional and Non-Functional requirements?
Subjective Part (3*16)
Q.2. Write a detail Note on elements of an activity Diagram? Discuss its each elements in detail with help of diagram? (16)
Consider a book store in a shopping mall. The customer selects the books from racks to purchase. Prepare a sequence diagram for bookstore checkout system. The customer brings selected books to cashier. The cashier scans each item with checkout system to prepare an order. The cashier requests to customer for payment. The customer gives credit card to cashier. The verifier and checkout system scans the card. The verifier accepts the card, and payment is accepted. Customer signs the credit card slip. The purchased books are handed over to customer?
Q.3. Construct a class diagram of above Case study, Class diagram should depict all possible association, aggregation & composition? (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.
Q.4. Write all functional & Non-functional requirements of above scenario? Also Draw UseCase diagram (16)
Q.5. What are design patterns? Discuss any five design patterns? (16)
Construct a design element for Point of Sale terminal management system that can be used for buying and selling of goods in the retail shop.
When the customer arrives at the post check point with the items to purchase. The cashier records each item, price and adds the item information to the running sales transaction. The description and price of the current item are displayed. On completion of the item entry the cashier informs the sales total and tax to the customer. The customer chooses payment type (cash, cheque, credit or debit). After the payment is made the system generates a receipt and automatically updates the inventory. The cashier gives the receipt to the customer.
Q.6. Draw Sequence and State Machine diagram of above Case study? (8+8)