Identifying Bugs/Output of a Program in Problets
Study the code in the left panel.
If the code has bugs:
Identify the bugs and submit your answer.
- Click on the Errors tab.
- Identify each bug in the code.
- Select the line number where the bug exists.

- Select the object to which the bug applies.

- Click on 'Select Error' to select the error for the object on the line.

- Repeat the above procedure for all the bugs in the code.
- If your answer is surrounded in green, it is
correct. If it is surrounded in red, it is
incorrect.

- You can review and delete any error before submitting your answer.

- After identifying all the bugs, click on the Submit Answer button.

If the code has no bugs, but has output:
If the code has outputs, identify all its outputs and submit your answer.
- Click on the Output tab.
- Enter the output, one line of code at a time.
- Enter the output text in the box.

- Select the line number of the code that generated the
output.
If the code has only one output statement,
the line number is already selected for you.

- Repeat the above procedure for all the lines of code that produce output.
- Be sure to identify the outputs in the order in
which the code is executed.
- If your answer is surrounded in green, it is
correct. If it is surrounded in red, it is
incorrect.

- You can review and edit or delete any output before submitting your answer.
- To modify the output text, delete and re-type in the box.

- To change the line number, re-select from the drop-down box.

- To delete an entire output, click on the Delete
button.

- After identifying all the outputs, click on the Submit button.
- When submitting your answer, leave the last output blank.

- If an output is incomplete, you will be asked to complete or
delete it before submitting.
For example, 2nd output below is incomplete since it has no
output text.
Before submitting the answer, you must either enter the output
text for 2nd output or delete it.

If the code has no bugs, and no output:
If the code does not
produce any output,
click on the No Output button.