Difference: 'uses', 'extends', 'includes'

Answers were Sorted based on User's Feedback



Difference: 'uses', 'extends', 'includes'..

Answer / kumar rohit

First of all I like to mention that "extends" & "includes"
are use case relationships, and "uses" relationship is now
excluded in UML 2.0 standard.

Differences b/w includes & extends:
1> The included use case is always used to augment the
executing use case while the extension use case might be
used to augment the executing use case.
2> The executing use case decides when to call the included
use case. The included use case is unaware of the base use
case while The extension use case decides when it will
insert itself into the execution of the base use case. The
base use case is unaware of the extension.
3> The relationship arrow is drawn from the executing use
case to the included use case. The base of the arrow
indicates that the base use case directs the included use
case to execute while the relationship arrow is drawn from
the extension use case to the executing use case. The base
of the arrow indicates that the extension use case is
making the decision whether to interrupt the executing use
case.

Is This Answer Correct ?    6 Yes 2 No

Difference: 'uses', 'extends', 'includes'..

Answer / satish

Uses : When you are using the functionality for any actor
i.e. nothing but the use case

extend: When use case is alloted to the actor as per client
requirement then programmer will extend the functionality
as per the program needs.

includes : It is same as extends, here to fulfill the
requirement of client, uses cases of actor has been
designed but for program working it is necessary to extend
or includes the functionality
For ex:
Suppose teacher is assigning and viewing grades of
students. As programmer point of view for viewing grade it
is neccessary to save (extending functionality) to view.

Is This Answer Correct ?    7 Yes 7 No

Difference: 'uses', 'extends', 'includes'..

Answer / indra

include:
This relationship occurs when you have a chunk of
behaviour that is similar across more than one use case.
extends:
This is similar to generalization but with more rules
to it.

Is This Answer Correct ?    4 Yes 6 No

Post New Answer

More UML Interview Questions

What are class diagrams in UML?

0 Answers  


How do you represent static members and abstract classes in Class Diagram?

2 Answers  


What are the roles played by wrappers in uml?

0 Answers  


UML: IS it a process, method or notation?

3 Answers   Protech,


State some of the criticisms present with UML?

0 Answers  


What is object diagram in UML?

0 Answers  


How does the rule chaining concept works in uml?

0 Answers  


What are the different steps involved in object oriented analysis?

0 Answers  


how to define the models in the uml diagrams?

2 Answers  


What is collaboration diagram in UML?

0 Answers  


How does elaborating software requirements lead to inconsisteencies!

0 Answers   UCSI,


What is profile diagram in UML?

0 Answers  


Categories