ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Software Design  >>  OOAD
 
 


 

 
 Design Patterns interview questions  Design Patterns Interview Questions
 UML interview questions  UML Interview Questions
 OOAD interview questions  OOAD Interview Questions
 Software Design Tools interview questions  Software Design Tools Interview Questions
 Requirements Management interview questions  Requirements Management Interview Questions
 Project Planning interview questions  Project Planning Interview Questions
 Project Management interview questions  Project Management Interview Questions
 Technical Writer interview questions  Technical Writer Interview Questions
 Software Design AllOther interview questions  Software Design AllOther Interview Questions
Question
Difference: 'uses', 'extends', 'includes'
 Question Submitted By :: Siva
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Difference: 'uses', 'extends', 'includes'
Answer
# 1
If one usecase must use another usecase, then use include
relationship. If one use case may use another usecase, then
use extends relationship. uses relationship is defined in
UML 1.1.
 
Is This Answer Correct ?    5 Yes 13 No
Naveen Sisupalan
 
  Re: Difference: 'uses', 'extends', 'includes'
Answer
# 2
Includes:

if(TRUE)

   include the use case

Extends:

if(condition)

   extend the use case

It's a matter of unconditional VS. conditional insertion

(Source : Uml 2002--The Unified Modeling Language
 By Jean-Marc Jézéquel, Heinrich Hussmann, Stephen Cook)

Uses:

Defined in UML 1.1
 
Is This Answer Correct ?    5 Yes 5 No
Clark
 
 
 
  Re: Difference: 'uses', 'extends', 'includes'
Answer
# 3
The <<include>> relationship means that the flow of that 
use case is always included.
But a <<extend>> relationship means that the flow of the 
extending use case is only
included under specific conditions, which must be specified 
as the extension point of the
use case being extended.
 
Is This Answer Correct ?    4 Yes 0 No
Prakatheesh
 
  Re: Difference: 'uses', 'extends', 'includes'
Answer
# 4
"X uses Y" indicates that the task "X" has a subtask "Y"; 
that is, in the process of completing task "X", task "Y" 
will be completed at least once. 

"X extends Y" indecates that "X" is a task of the same type 
as "Y", but "X" is a special, more specific case of 
doing "Y". That is, doing X is a lot like doing Y, but X 
has a few extra processes to it that go above and beyond 
the things that must be done in order to complete Y.
 
Is This Answer Correct ?    4 Yes 0 No
Prasad
 

 
 
 
Other OOAD Interview Questions
 
  Question Asked @ Answers
 
What are the tools you used for OOAD? Protech3
Difference between Composition and Aggregation Protech2
Suppose a class acts an Actor in the problem domain, how to represent it in the static model?  2
What are the Design Patterns you know. Protech1
Difference: 'uses', 'extends', 'includes' Protech4
When do you prefer to use composition than aggregation? Protech1
What is a Persistent, Transient Object? Protech2
Explian following terms: Constraint Rules, Design by contract. Protech1
In winform my controls [taskbar and progressbar] become inactive when heavy processing is going in background, how to avoid this via multithreading Hexaware1
Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)?  1
Why does the function arguments are called as "signatures"?  1
What is SRD(System Requirement document), FSD (Functional Specification Document), RSD (Requiremnet specific document)? If these are different document wat are there contents? HP1
What do you meant by "SBI" of an object?  2
Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)? Protech4
Difference: Activity Diagram and Sequence Diagram Protech2
What are associative classes? Protech2
Is class an Object? Is object a class?  10
Why is planning too much up front a mistake in an OOSAD project? Infosys3
Differentiate between Aggregation and containment?  1
Explain Class Diagram in Detail. Protech2
 
For more OOAD Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com