Which of the following is a true statement about correctness?(1 point)

Responses

Correctness can be shown without identifying specifications.
Correctness can be shown without identifying specifications.

Correctness cannot be shown through mathematical proof.
Correctness cannot be shown through mathematical proof.

Correctness can be shown by testing many possible input values.
Correctness can be shown by testing many possible input values.

Correctness can be shown through formal logic.

1 answer

The true statement about correctness is:

Correctness can be shown through formal logic.

This option reflects the fact that formal methods, including mathematical proof and formal logic, can be used to demonstrate the correctness of algorithms or systems with respect to their specifications. The other options provided are not accurate regarding correctness.