
- Software Testing Dictionary
- Home
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Pre-Condition
What is Pre-Condition?
Pre-condition is a statement or set of statements that outline a condition that should be true when an action is called. The precondition statement indicates what must be true before the function is called.
Example:
To identify the square root of a number, the precondition is that the number should be greater than zero. Upon executing the pre condition, the square root of the number is displayed on the console.
Advertisements