AP® Computer Science Principles

Free Version

Upgrade subject to access all content

Easy

Help Debugging

APCSP-JAOBUA

Samantha cannot figure out why her program isn’t working. She emails the file to her friend Ben and asks him if he can find what’s wrong.

Which of the following would be most helpful for Ben as he tries to debug Samantha’s code?

A

A brief description of what the program will be used for.

B

A list of things Samantha thinks might be the problem.

C

A list of things Samantha has tried to get the code to work.

D

A list of example inputs along with the desired outputs.