Blog
Object Oriented Analysis and Design BSCS Term 5th Past paper 2017 UOS

University of Sargodha
BS 5th Term Examination 2017
Subject: Computer Science
Paper: Object Oriented Analysis & Design (SE-3311)
Time Allowed: 2:30 Hours
Maximum Marks: 80
Objective Part (Compulsory)
Q: 1 Write short answer of following questions in 2-3 lines only. (16*2)
i. What activities are performed in 1st phase of RUP model?
ii. What is an object?
iii. Define Inheritance and encapsulation?
iv. What is object oriented analysis?
v. For What UML stands, what is the latest version of UML is used?
vi. What are control nodes in activity diagram?
vii. What a state describe in a state machine diagram?
viii. What does an attribute describe about a class?
ix. What is aggregation?
x. List any three functional requirements for online shopping website?
xi. Name any three behavioral diagrams?
xii. What is the importance of Use Case diagram?
xiii. Elaborate 1…1 relationship within objects among two classes, via diagram?
xiv. How many types of requirements can be collected for a software?
xv. What is cohesion?
xvi. What is swimlane?
Subjective Part (3*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: 2 Develop a Class diagram and sequence diagram of above scenario? (16)
Q: 3 Write a note on importance of Object oriented Theory? Differentiate between object, functional and dynamic modelling? (16)
Q: 4 What are design Patterns, explain any five design patterns with help of diagram? (16)
Q: 5 Write any four feature for a Desktop Hospital management system? Draw Usecase diagram and write description table for each usecase? (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 handovers the receipt to the customer.
Q: 6
(a) Draw Activity diagram of Sales transaction? (08)
(b) Draw State Chart Diagram of above given scenario? (08)