Precondition defines the circumstances for a particular operation is valid

Q.  Which condition defines the circumstances for a particular operation is valid?
- Published on 22 Jul 15

a. Postcondition
b. Precondition
c. Invariant
d. None of the above

ANSWER: Precondition
 

    Discussion

  • Nirja Shah   -Posted on 19 Oct 15
    Operation
    - It is an action that takes place in a system and reads or writes data to a state

    Precondition
    - It defines the circumstances in which a particular operation is valid

    Postcondition
    - It defines what happens when an operation has completed its action

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)