AP Computer Science Principlesmediummcq1 pt

Why should a programmer test with edge cases?

A.bugs often appear at boundaries
B.edge cases never occur in real use
C.edge cases are easier than normal ones
D.it makes the code shorter

Explanation

Core Concept

Boundary conditions are error-prone.

Correct Answer

Abugs often appear at boundaries

More Unit 1: Creative Development practice questions

Try a random question →

Practice more AP Computer Science Principles questions with full explanations

Practice Unit 1: Creative Development Questions →