A N N A U N I V E R S I T Y :: C H E N N A l
B . E (FT) E N D S E M E S T E R EXAMINATIONS - N O V / D E C 2023
Computer Science and Engineering
Fiftli S e m e s t e r
CS6110 O B J E C T ORIENTED ANALYSIS AND DESIGN
(Regulation 2 0 1 8 - R U S A )
Time: 3 Hours M a x . M a r k s : 100
Q. Answer All Questions
No CO BL
P A R T - A ( 1 Q ^ 2 = 2Q m^Hs)
What are the benefits of object-oriented development over structure development'? 1 1
2. How does the inception phase contribute to the overall success o f a software development 1 2
project?
3.. Difference between the "extend" and "include" relationships in use case diagrams. 2 2
4. Write the key differences between composition and aggregation in object-oriented design. 2 2
5. Given a scenario involving dynamic interactions between objects, demonstrate how a sequence 2 3
diagram would be more suitable than a collaboration diagram.
6. How the parallel activities are represented in an activity diagram? 2 2
7. State the principles of model-view separation in software design. 2 1
8. W h y design patterns are used in software development? 4 2
9. Name the object-oriented methodologies used in software development. 3 1
10. Is software testing a crucial phase in the software development life cycle? Justify your answer. 5 2
PAPT-e(8;c9 = ?4 m ^ r K ? )
(Answer any 8 questions)
II. Draw the use case diagram and use case text for the following Scenario 1 : 2 4
A hotel wants to develop a system to manage their take-away service. T h e system should maintain
the menu of the day. From the customer end, the system should be able to assign tokens for the
registered orders and display the bill amount. The order should be confirmed after receiving the
payment and send a notification to the customer and the hotel manager. Appending the order
should be disabled after payment. From the hotel manager's end, order-wise and item-wise lists
should be displayed. Orders with 3 or less than 3 items can be given higher priority. T h e
availabilily o f a food item should be updated to the manager and the customer (during ordering).
When the order is ready, a notification should be sent to the customer for collecting their order.
12. Consider a libraiy management system where users can borrow and return books. Identity and 2 3
define the conceptual classes involved in this system. Provide a detailed explanation of the
attributes and behaviors associated with each class. Discuss how these classes contribute to the
overall design and functionality of the librar>' management system.
13. Consider a system designed to manage different types of vehicles. Initially, the system is designed 2 4
to handle only cars. Through the process of extension retlnement, the system is extended to
accommodate other types of vehicles, such as motorcycles and bicycles.
(i) Identify the base class and the extended classes in this scenario.
(ii) E x p l a i n the concept of extension refinement and how it is applied to incorporate new
: types of vehicles into the system. Provide specific examples o f attributes or behaviors
that may be added or modified during the refinement process.
(iii) Discuss the advantages and potential challenges of using extension refinement in this
context.
14. Create a clear and accurate System Sequence Diagram Ibr the given S c e n a r i o 1 (Refer Q. No: 2 4
11). Represent the interactions between actors and the system components involved in the hotel
management system.
15. Create an activity diagram with swimlanes for a simplified online order processing system. The 2 4
system involves the activities of a Customer, Order Processing Team, and Inventory Team.
Explain the key activities within each swimlane, detailing the tasks performed by the Customer,
Order Processing Team, and Inventory Team. Also, identify decision points in the process and
explain how the flow of activities is determined based on certain conditions.
16. Consider a vending machine that dispenses beverages. Design a state diagram to model the 2 4
behavior of the vending machine when a customer interacts with it. Identify and explain the key
states in the state diagram, such as "Idle," "Selection," "Payment," "Dispensing," and any other
relevant states. Explain the transitions between states, detailing the events or conditions that trigger
each transition. Consider events like coin insertion, product selection, and dispensing completion.
17. Discuss and illustrate the guidelines for organizing packages in an object-oriented system. Use a 2 3
practical scenario of a library management system to demonstrate the application of these
guidelines.
18. Differentiate between component and deployment diagram. Provide an illustrative example using 3 2
a simplified e-commerce system to demon,strate the application of both concepts.
19. Apply the G R A S P design principles of Low Coupling, High Cohesion, and Polymorphism to 4
design a simplified library management system. Explain the application of each principle,
providing a clear rationale and impact on the overall system design.
20. Design a simplified online shopping system and apply three different GoF creational design 4
patterns. Provide a detailed explanation of each pattern's application, including its intent,
participants, collaborations, and real-world scenarios where the pattern is beneficial.
21. Given a class diagram for a simplified e-commerce system, map the design elements to 3 3
corresponding code segments in a programming language of your choice. Explain the mapping
process and discuss the considerations for translating design concepts into executable code.
22. Discuss and elaborate on various software quality assurance activities within the software 5 2
development life cycle.
P A R T - C ( 2 x 8 = 16Mark?)
23. Design a class diagram for a simplified university registration system. Explain the concepts and 2 3
principles that guide the design of class diagram. Discuss key terms such as classes, associations,
attributes, and multiplicity. Elaborate on how these elements contribute to modeling the structure
of a system. •
24. Apply the G R A S P design patterns to design a simplified library management system. Explain the
raiioriale behind Information Expert, Creator and CcntroHer pattern, and its impact on the overall
system design. Illustrate how each pattern is used to assign responsibilities to classes.
4
<
3