Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 14 - No. 8)
What is the purpose of using boundary data when testing an algorithm?
To test the algorithm with valid input data.
To test the algorithm with invalid data.
To test the algorithm at its operational limits (minimum and maximum values).
To check the algorithm's performance.
Explanation
Boundary data are designed to test the maximum and minimum values of input to ensure the code functions at the limits.
Comments (0)
