JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA OBJECT ORIENTED ANALYSIS AND DESIGN USING UML Previous Question Paper (June/July - 2018 - R15)
Note: This question paper contains two parts A and B. Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 10 marks and may have a, b, c as sub questions.
PART - A
Explain the conceptual model of the Unified Modeling Language.
Answer
The conceptual model of the Unified Modeling Language (UML) is built upon three main pillars: building blocks, rules, and common mechanisms. The building blocks consist of things (structural, behavioral, grouping, and annotational), relationships (dependency, association, generalization, and realization), and diagrams. The rules define how these blocks are combined to form well-formed models, covering aspects like visibility, scope, and integrity. The common mechanisms provide a consistent way to apply the language, including specifications, adornments, common divisions (like class vs. object), and extensibility mechanisms such as stereotypes, tagged values, and constraints.
Compare and contrast is-a relationship with has-a relationship with suitable examples.
Answer
An is-a relationship represents inheritance, where a subclass is a specialized version of a superclass. It implies that the subclass inherits all properties and behaviors of the parent. For example, a 'Car' is-a 'Vehicle'.
A has-a relationship represents composition or aggregation, where one class contains another as a part of its structure. It indicates ownership or association rather than identity. For example, a 'Car' has-a 'Engine'.
The key contrast is that 'is-a' defines an identity relationship (generalization), whereas 'has-a' defines a structural relationship (part-whole).
How is recursion represented in a sequence diagram? Give example.
Answer
Sign in to view the complete answer paper.
What are the characteristics of a well-structured state machine?
Answer
Sign in to view the complete answer paper.
What is Framework? Explain with an example.
Answer
Sign in to view the complete answer paper.
PART - B
State the advantages of object oriented modeling over structured approaches.
Answer
Sign in to view the complete answer paper.
What is modeling? What are the principles of modeling? Explain.
Answer
Sign in to view the complete answer paper.
With a neat diagram, explain the object oriented software development life cycle and its phases.
Answer
Sign in to view the complete answer paper.
Explain the various views considered in modeling a system’s architecture.
Answer
Sign in to view the complete answer paper.
What are the constraints applied to association relationships? Discuss.
Answer
Sign in to view the complete answer paper.
Discuss about the common properties, uses and contents of object diagrams.
Answer
Sign in to view the complete answer paper.
What are the visibility specifiers used for classes and packages? Explain.
Answer
Sign in to view the complete answer paper.
Explain in detail the steps to model structural relationships.
Answer
Sign in to view the complete answer paper.
Explain the various relationships possible among use cases and illustrate them with UML notation.
Answer
Sign in to view the complete answer paper.
Draw a use case diagram that depicts the library application.
Answer
Sign in to view the complete answer paper.
Discuss the semantic equivalence between different interaction diagrams.
Answer
Sign in to view the complete answer paper.
What is the purpose of Activity diagram? With suitable diagram, explain the notations used in Activity diagram.
Answer
Sign in to view the complete answer paper.
How to model family of signals and exceptions with UML diagrams? Demonstrate.
Answer
Sign in to view the complete answer paper.
What are the characteristics and common uses of component diagrams? Discuss.
Answer
Sign in to view the complete answer paper.
Define event and signal. What are the four kinds of events modeled by UML? Explain.
Answer
Sign in to view the complete answer paper.
What are the characteristics of a well-structured deployment diagram? Explain.
Answer
Sign in to view the complete answer paper.
What is design pattern? How to use design pattern effectively? Explain.
Answer
Sign in to view the complete answer paper.
With a neat sketch, explain about Artifact diagrams and its significance.
Answer
Sign in to view the complete answer paper.
Develop the following diagrams in the context of Unified Library Application.
Class diagram
Answer
Sign in to view the complete answer paper.
Sequence diagram
Answer
Sign in to view the complete answer paper.
Activity diagram
Answer
Sign in to view the complete answer paper.