AP® Computer Science A

Free Version

Upgrade subject to access all content

Easy

Lack of Testing Code

APCSA-NNEDPX

A programmer creates a new utility method to determine the dimensions of a room. The code compiles successfully, but the programmer doesn’t test this code before it is implemented in the system for others to use.

All of the following results could occur EXCEPT:

A

The method works as intended.

B

The method contains logic errors in some cases.

C

The method does not perform its intended function.

D

The method throws an exception (error) message.

E

The method contains syntax errors.