4.8k views
3 votes
General Instructions

Debugging is an incredible skill and one that needs constant development. The better you are at debugging, the better the programmer you will be. Please follow the below listed instructions.

Create a simple program that has a Loop.

Once your code is working, write 5 bugs or errors in your code. These errors can by syntax, run-time or logical.

Please provide a brief description of what your program is supposed to and attach your Python file as well as provide the code.

Your program can have a combination of syntax or language errors and logic errors. There should be no more than 5 errors in your program.

User Chelo
by
6.9k points

1 Answer

4 votes

Final answer:

The student's test program generates the same error as another program, but only encountered the error twice out of 50 runs. This may not be a significant improvement to convince management.

Step-by-step explanation:

The program that the student is referring to is a test program Y, which is designed to generate the same error as another program, test program X. The student ran test program Y 50 times and encountered the error twice. Based on this, the student believes they can convince the management to use their test program instead of the original one. However, generating the same error only twice out of 50 runs may not be a significant improvement, and the student may need to gather more data or provide additional evidence to convince the management.

User Shwetal
by
7.8k points