Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
2 views

Object_Oriented_Software_Engineering_Solved_Full

The document covers key concepts in Object Oriented Software Engineering, including definitions of realization, interfaces, and generalization, as well as the purpose of object diagrams and visibility modes in UML. It discusses the advantages and disadvantages of the prototyping model, the Coad and Yourdon method, and various UML relationships. Additionally, it outlines the phases of the Unified Process and provides insights into object-oriented analysis and design components.

Uploaded by

anuragbhilare8
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Object_Oriented_Software_Engineering_Solved_Full

The document covers key concepts in Object Oriented Software Engineering, including definitions of realization, interfaces, and generalization, as well as the purpose of object diagrams and visibility modes in UML. It discusses the advantages and disadvantages of the prototyping model, the Coad and Yourdon method, and various UML relationships. Additionally, it outlines the phases of the Unified Process and provides insights into object-oriented analysis and design components.

Uploaded by

anuragbhilare8
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Object Oriented Software Engineering - Solved Paper

Q1 a) What is realization?

Realization is a relationship in UML that represents the implementation of an interface by a class. It shows

that a class promises to perform the behavior defined by the interface.

Q1 b) What is interface?

An interface is a collection of abstract methods that define a contract for classes to implement. It contains

method signatures without implementations.

Q1 c) What is the use of section 4 in SRS format?

Section 4 in SRS (Software Requirements Specification) typically contains external interface requirements

which describe how the software will interact with hardware, other software, or users.

Q1 d) Define forking.

Forking in software or UML generally refers to the division of a single flow into multiple concurrent flows,

especially in activity diagrams.

Q1 e) List any two advantages and disadvantages of prototyping model.

Advantages:

1. Early user feedback

2. Improved requirement understanding

Disadvantages:

1. Incomplete solution

2. Frequent changes can lead to poor design


Object Oriented Software Engineering - Solved Paper

Q1 f) Define Generalization.

Generalization is a mechanism for combining similar classes into a single, more general class. It represents

an inheritance relationship in object-oriented design.

Q1 g) Write down the purpose of the object diagram.

The purpose of an object diagram is to show a snapshot of the system at a particular point in time. It displays

instances of classes and their relationships.

Q2 a) Explain visibility modes along with well labelled diagram.

Visibility modes in UML determine how the attributes and methods of a class can be accessed.

1. **Public (+)**: Accessible from any other class.

2. **Private (-)**: Accessible only within the class.

3. **Protected (#)**: Accessible within the class and its subclasses.

A UML class diagram can be used to illustrate this.

Q2 b) Draw component diagram for online shopping.

The component diagram for an online shopping system includes components like User Interface, Shopping

Cart, Product Catalog, Payment Gateway, and Database. Arrows show dependencies between them.

Q2 c) Describe the Coad and Yourdon method in detail.

The Coad and Yourdon method is a structured technique for object-oriented analysis. It focuses on:

1. **Subjects**: Logical partitions.

2. **Classes and Objects**: Identified through noun analysis.


Object Oriented Software Engineering - Solved Paper

3. **Structures**: Generalization-specialization hierarchy.

4. **Behaviors**: Dynamic behavior modeling.

5. **Attributes and Services**: Data and operations.

Q3 a) What is package? Explain it with import and export stereotypes.

A package is a grouping of related UML elements like classes or use cases. It helps organize a model.

- **Import**: One package uses elements of another.

- **Export**: Makes contents available to other packages.

Q3 b) Define Relationship. Explain different kinds of relationship.

Relationships in UML connect model elements.

Types:

- Association

- Aggregation

- Composition

- Dependency

- Generalization

Q3 c) Define UML. What are the goals of UML?

UML (Unified Modeling Language) is a standard modeling language.

Goals:

- Visualize system

- Specify structure and behavior

- Document design
Object Oriented Software Engineering - Solved Paper

Q3 d) Define UP phases with the help of diagram.

The Unified Process includes:

1. **Inception**: Define scope

2. **Elaboration**: Analyze needs

3. **Construction**: Code and test

4. **Transition**: Deliver product

Q3 e) Explain generic components of the object oriented design model.

Components:

- Classes

- Relationships

- Diagrams (Class, Sequence, etc.)

- Design patterns

- Interfaces

Q4 a) Draw a collaboration diagram for ATM system.

A collaboration diagram shows interactions between ATM, User, Bank Server, and Account components.

Q4 b) What is meant by Object Oriented Analysis?

OOA is the process of analyzing a system by modeling it as a group of interacting objects. It focuses on what

the system does, not how.

Q4 c) Define sequence diagram. Explain sequence diagram notations.

A sequence diagram shows object interactions over time using lifelines, messages, activation bars, and
Object Oriented Software Engineering - Solved Paper

return arrows.

Q4 d) Write short note on Type and Roles.

- **Type** defines what an object is.

- **Role** defines what an object does in a particular context.

Q4 e) Define the following terms:i) Link ii) State iii) Branching iv) Note

- **Link**: A connection between objects.

- **State**: A condition of an object.

- **Branching**: Decision point.

- **Note**: Comment or explanation.

You might also like