= Correctness (computer science)
{wiki=Correctness_(computer_science)}
In computer science, "correctness" generally refers to the property of a program, algorithm, or system that indicates it behaves as intended, satisfying its specification under all defined conditions. Here are some key aspects related to correctness: 1. **Functional Correctness**: This means that the program produces the correct output for every possible valid input. For example, a sorting algorithm is functionally correct if it returns a sorted list for any given input list.
Back to article page