Limited access

Upgrade to access all content for this subject

Molly asks Sean to help her debug her code. She tells him that the code is supposed to take a list of names and return the alphabetically sorted list with any duplicate names in bold.

Why will this information help Sean debug Molly’s code?

A

Knowing what the program is supposed to do will help Sean determine what strategies Molly will have to use to get her code to work.

B

Knowing what the program is supposed to do will help Sean determine what algorithms Molly will need to make the code work.

C

Knowing what the program is supposed to do will help Sean determine what is wrong with the code.

D

Knowing what the program is supposed to do will not help Sean; it’s better for him to have “fresh eyes” when looking at the code.

Select an assignment template