Top Banner
OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University
42
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

OOADOOAD

Placement TrainingPlacement Training1Prepared by G.Naveen Sundar, Karunya University

Page 2: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

WHAT DO YOU MEAN BY ANALYSIS AND DESIGN?

2Prepared by G.Naveen Sundar, Karunya University

Page 3: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

Analysis:

Basically, it is the process of determining what

needs to be done before how it should be done. In

order to accomplish this, the developer refers the

existing systems and documents. So, simply it is an

art of discovery.

Design:

It is the process of adopting/choosing the one

among the many, which best accomplishes the users

needs. So, simply, it is compromising mechanism.

Analysis:

Basically, it is the process of determining what

needs to be done before how it should be done. In

order to accomplish this, the developer refers the

existing systems and documents. So, simply it is an

art of discovery.

Design:

It is the process of adopting/choosing the one

among the many, which best accomplishes the users

needs. So, simply, it is compromising mechanism.3Prepared by G.Naveen Sundar, Karunya University

Page 4: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

WHAT ARE THE STEPS INVOLVED IN DESIGNING?

4Prepared by G.Naveen Sundar, Karunya University

Page 5: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

Before getting into the design the designer should go through the SRS prepared by the System Analyst.

The main tasks of design are Architectural Design and Detailed Design. In Architectural Design we find what are the main

modules in the problem domain.

In Detailed Design we find what should be done within each module.

Before getting into the design the designer should go through the SRS prepared by the System Analyst.

The main tasks of design are Architectural Design and Detailed Design. In Architectural Design we find what are the main

modules in the problem domain.

In Detailed Design we find what should be done within each module. 5Prepared by G.Naveen Sundar, Karunya University

Page 6: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

What are the main underlying concepts of object orientation?

What are the main underlying concepts of object orientation?

6Prepared by G.Naveen Sundar, Karunya University

Page 7: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

Objects, messages, class,

inheritance and polymorphism are

the main concepts of object

orientation.

Objects, messages, class,

inheritance and polymorphism are

the main concepts of object

orientation.

7Prepared by G.Naveen Sundar, Karunya University

Page 8: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

What do u meant by "SBI" of an object?What do u meant by "SBI" of an object?

8Prepared by G.Naveen Sundar, Karunya University

Page 9: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

SBI stands for State, Behaviour and Identity.

State: 

It is just a value to the attribute of an object at a particular

time.

Behaviour: 

It describes the actions and their reactions of that object.

Identity: 

An object has an identity that characterizes its own existence.

The identity makes it possible to distinguish any object in an

unambiguous way, and independently from its state.

SBI stands for State, Behaviour and Identity.

State: 

It is just a value to the attribute of an object at a particular

time.

Behaviour: 

It describes the actions and their reactions of that object.

Identity: 

An object has an identity that characterizes its own existence.

The identity makes it possible to distinguish any object in an

unambiguous way, and independently from its state.

9Prepared by G.Naveen Sundar, Karunya University

Page 10: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Differentiate persistent & non-persistent objects?Differentiate persistent & non-persistent objects?

10Prepared by G.Naveen Sundar, Karunya University

Page 11: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

Persistent refers to an object's ability to

transcend time or space. A persistent object

stores/saves its state in a permanent

storage system with out losing the

information represented by the object. 

A non-persistent object is said to be

transient or ephemeral. By default objects

are considered as non-persistent.

Persistent refers to an object's ability to

transcend time or space. A persistent object

stores/saves its state in a permanent

storage system with out losing the

information represented by the object. 

A non-persistent object is said to be

transient or ephemeral. By default objects

are considered as non-persistent. 11Prepared by G.Naveen Sundar, Karunya University

Page 12: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

What do you meant by active and passive objects?What do you meant by active and passive objects?

12Prepared by G.Naveen Sundar, Karunya University

Page 13: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Active objects are one which instigate an

interaction which owns a thread and they are

responsible for handling control to other objects.

In simple words it can be referred as client.

Passive objects are one, which passively waits

for the message to be processed. It waits for

another object that requires its services. In

simple words it can be referred as server. 

Active objects are one which instigate an

interaction which owns a thread and they are

responsible for handling control to other objects.

In simple words it can be referred as client.

Passive objects are one, which passively waits

for the message to be processed. It waits for

another object that requires its services. In

simple words it can be referred as server. 13Prepared by G.Naveen Sundar, Karunya University

Page 14: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

What is meant by software development method?What is meant by software development method?

14Prepared by G.Naveen Sundar, Karunya University

Page 15: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

Software development method describes

how to model and build software systems

in a reliable and reproducible way.

To put it simple, methods that are used

to represent ones' thinking using

graphical notations. 

Software development method describes

how to model and build software systems

in a reliable and reproducible way.

To put it simple, methods that are used

to represent ones' thinking using

graphical notations. 

15Prepared by G.Naveen Sundar, Karunya University

Page 16: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

What are models and meta models?What are models and meta models?

16Prepared by G.Naveen Sundar, Karunya University

Page 17: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

Model:

It is a complete description of something

(i.e. system).

Meta model:

It describes the model elements, syntax and

semantics of the notation that allows their

manipulation.

Model:

It is a complete description of something

(i.e. system).

Meta model:

It describes the model elements, syntax and

semantics of the notation that allows their

manipulation.

17Prepared by G.Naveen Sundar, Karunya University

Page 18: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

What do you meant by static and dynamic modeling?

What do you meant by static and dynamic modeling?

18Prepared by G.Naveen Sundar, Karunya University

Page 19: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

Static modeling is used to specify structure of the

objects that exist in the problem domain. These

are expressed using class, object and USECASE

diagrams.

But Dynamic modeling refers representing the

object interactions during runtime. It is

represented by sequence, activity, collaboration

and state chart diagrams.

Static modeling is used to specify structure of the

objects that exist in the problem domain. These

are expressed using class, object and USECASE

diagrams.

But Dynamic modeling refers representing the

object interactions during runtime. It is

represented by sequence, activity, collaboration

and state chart diagrams. 19Prepared by G.Naveen Sundar, Karunya University

Page 20: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

What is an USECASE? Why it is needed?What is an USECASE? Why it is needed?

20Prepared by G.Naveen Sundar, Karunya University

Page 21: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

Use Case is a interaction between

actor(USER) and System

(application), for single system

there many use cases  depends on

Requirements. 

Use Case is a interaction between

actor(USER) and System

(application), for single system

there many use cases  depends on

Requirements. 

21Prepared by G.Naveen Sundar, Karunya University

Page 22: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Who is an actor ? Who is an actor ?

22Prepared by G.Naveen Sundar, Karunya University

Page 23: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

An Actor is something or someone who

interact with the system under

development. An actor can be a Human,

device or an external system. An actor

can be a giver / receiver  of information

or both. 

An Actor is something or someone who

interact with the system under

development. An actor can be a Human,

device or an external system. An actor

can be a giver / receiver  of information

or both. 

23Prepared by G.Naveen Sundar, Karunya University

Page 24: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

What factors you will consider before starting UML designs?

What factors you will consider before starting UML designs?

24Prepared by G.Naveen Sundar, Karunya University

Page 25: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

1)Functional Requirements.

2)Entities possible in proposed Application.

3)Activities and processes possible in Application.

4)Possible states of objects of entities in propose 

application.

5)Relationship of objects or entities in proposed 

application. 

1)Functional Requirements.

2)Entities possible in proposed Application.

3)Activities and processes possible in Application.

4)Possible states of objects of entities in propose 

application.

5)Relationship of objects or entities in proposed 

application. 

25Prepared by G.Naveen Sundar, Karunya University

Page 26: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

How to define the models in the UML diagrams?How to define the models in the UML diagrams?

26Prepared by G.Naveen Sundar, Karunya University

Page 27: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

A model is a simplification of reality. A

model provides the blueprint of a system.

Models helps us to visualize a system as it

is or as we want it to be. Models permit us

to specify the structure or behaviour of a

system. Model gives us a template that

guides us in constructing a system. Model

documents the decisions we have made.

A model is a simplification of reality. A

model provides the blueprint of a system.

Models helps us to visualize a system as it

is or as we want it to be. Models permit us

to specify the structure or behaviour of a

system. Model gives us a template that

guides us in constructing a system. Model

documents the decisions we have made. 27Prepared by G.Naveen Sundar, Karunya University

Page 28: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Define Aggregation Relation ship with example?Define Aggregation Relation ship with example?

28Prepared by G.Naveen Sundar, Karunya University

Page 29: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

Aggregation is the relationship between

the whole and a part. We can add/subtract

some properties in the part (slave) side. It

won’t affect the whole part.

Best example is Car, which contains the

wheels and some extra parts. Even though

the parts are not there we can call it as car.

Aggregation is the relationship between

the whole and a part. We can add/subtract

some properties in the part (slave) side. It

won’t affect the whole part.

Best example is Car, which contains the

wheels and some extra parts. Even though

the parts are not there we can call it as car.29Prepared by G.Naveen Sundar, Karunya University

Page 30: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Define Containment Relation ship with example?

Define Containment Relation ship with example?

30Prepared by G.Naveen Sundar, Karunya University

Page 31: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

containment relationship is the whole part is affected when the part within that got affected.

The human body is an apt example for this relationship. When the whole body dies the parts (heart, lungs etc) also dies.

containment relationship is the whole part is affected when the part within that got affected.

The human body is an apt example for this relationship. When the whole body dies the parts (heart, lungs etc) also dies.

31Prepared by G.Naveen Sundar, Karunya University

Page 32: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Explain two external responsibilities of a project manager.

Explain two external responsibilities of a project manager.

32Prepared by G.Naveen Sundar, Karunya University

Page 33: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

Establish working relationships with users

to secure the requirements 

Establish working relationships with the

sponsor to secure senior management

support

Identify needs and secure resources

Report on project status and progress

Establish working relationships with users

to secure the requirements 

Establish working relationships with the

sponsor to secure senior management

support

Identify needs and secure resources

Report on project status and progress33Prepared by G.Naveen Sundar, Karunya University

Page 34: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

What is meant by realization ?What is meant by realization ?

34Prepared by G.Naveen Sundar, Karunya University

Page 35: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

Realization is a kind of relationship that

exist between classes in class diagram

which is used to denote that an interface

is realized or implemented by a class.

Also this 

is used to relate two use cases. 

Realization is a kind of relationship that

exist between classes in class diagram

which is used to denote that an interface

is realized or implemented by a class.

Also this 

is used to relate two use cases. 

35Prepared by G.Naveen Sundar, Karunya University

Page 36: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

What are the four phases of the Unified Process ?What are the four phases of the Unified Process ?

36Prepared by G.Naveen Sundar, Karunya University

Page 37: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

Inception Phase 

Elaboration Phase

Construction Phase 

Transition Phase

Inception Phase 

Elaboration Phase

Construction Phase 

Transition Phase

37Prepared by G.Naveen Sundar, Karunya University

Page 38: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Difference between OOA and OODDifference between OOA and OOD

38Prepared by G.Naveen Sundar, Karunya University

Page 39: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

OOA focuses on what the system does,

OOD on how the system does it.

OOA focuses on what the system does,

OOD on how the system does it.

39Prepared by G.Naveen Sundar, Karunya University

Page 40: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Is class an Object? Is object a class?Is class an Object? Is object a class?

40Prepared by G.Naveen Sundar, Karunya University

Page 41: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Answer:Answer:

A class is just a template that is used to create the  objects and to define its behaviours.

But object is an instance of a class. 

A class is just a template that is used to create the  objects and to define its behaviours.

But object is an instance of a class. 

41Prepared by G.Naveen Sundar, Karunya University

Page 42: OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.

Thank youThank you

42Prepared by G.Naveen Sundar, Karunya University