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                      
tip   SiteMap shows list of All Categories in this site.
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
 Software Design AllOther interview questions  Software Design AllOther Interview Questions
Question
Explian following terms: Constraint Rules, Design by 
contract.
 Question Submitted By :: Siva
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Explian following terms: Constraint Rules, Design by contract.
Answer
# 1
Design by contract :Design by contract, DBC or Programming 
by contract is an approach to designing computer software. 
It prescribes that software designers should define precise 
verifiable interface specifications for software components 
based upon the theory of abstract data types and the 
conceptual metaphor of a business contract.Because "Design 
by Contract" is a trademark of Eiffel Software, the 
maintainers of Eiffel, many developers will refer to it 
only as programming by contract or contract-first 
development. The principal idea of Design by Contract (DBC) 
is that a class and its clients have a contract with each 
other: The client must guarantee certain conditions before 
calling a method specialized on the class (the 
preconditions), the class guarantees certain properties 
after the call (the postconditions). If the pre- and 
postconditions are included in a form that the compiler can 
check, then any violation of the contract between caller 
and class can be detected immediately.
 
Is This Answer Correct ?    0 Yes 0 No
Debalina
 

 
 
 
Other OOAD Interview Questions
 
  Question Asked @ Answers
 
Is class an Object? Is object a class? Protech2
How to resolve many to many relationship? Protech3
Every object has : state, behavior and identity - explain Protech2
How to use CRC Cards for Class Design? Protech2
Why does the function arguments are called as "signatures"?  1
What do you meant by static and dynamic modeling?  3
what are the main underlying concepts of object orientation?  2
What is a Persistent, Transient Object? Protech2
Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)? Protech2
Suppose a class acts an Actor in the problem domain, how to represent it in the static model?  1
Why is planning too much up front a mistake in an OOSAD project? Infosys2
Difference: 'uses', 'extends', 'includes' Protech2
Where shall I go for Package Diagram? Protech1
USECASE is an implementation independent notation. How will the designer give the implementation details of a particular USECASE to the programmer?  1
Differentiate between Aggregation and containment?  1
Difference: Sequence Diagrams, Collaboration Diagrams ? Protech1
What are the Design Patterns you know. Protech1
Difference between Composition and Aggregation Protech1
What are the good practices to use while designing for reuse? Protech1
What is SRD(System Requirement document), FSD (Functional Specification Document), RSD (Requiremnet specific document)? If these are different document wat are there contents? HP1
 
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