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
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
 
What are the Design Patterns you know. Protech1
Suppose a class acts an Actor in the problem domain, how to represent it in the static model?  2
Is class an Object? Is object a class?  10
Why is planning too much up front a mistake in an OOSAD project? Infosys3
USECASE is an implementation independent notation. How will the designer give the implementation details of a particular USECASE to the programmer?  2
Comment: C++ "includes" behavior and java "imports"  1
What is the use of Operator Overloading? Protech1
How to resolve many to many relationship? Protech3
Explian following terms: Constraint Rules, Design by contract. Protech1
What is association? Protech2
What is an USECASE? Why it is needed?  7
How to use CRC Cards for Class Design? Protech2
How do you represent static members and abstract classes in Class Diagram? Protech1
Is class an Object? Is object a class? Protech3
Difference Between Attribute and Association. Protech2
In winform my controls [taskbar and progressbar] become inactive when heavy processing is going in background, how to avoid this via multithreading Hexaware1
Difference: 'uses', 'extends', 'includes' Protech4
What do you meant by "SBI" of an object?  2
What is Object Constraint Language (OCL)? Protech1
What is inheritance? Protech3
 
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