Tamara is writing code as part of a large project. She has just compiled her code and run it, but the result is not exactly as expected. Which of the following strategies would be efficient ways to "debug" her code so that it works as intended?

 Tamara is writing code as part of a large project. She has just compiled her code and run it, but the result is not exactly as expected. Which of the following strategies would be efficient ways to "debug" her code so that it works as intended?

Try changing some of the inputs to see under what circumstances the program is not working and what type of error may be occurring.


Add statements to display the state of the program at various points to try and identify where the error might have occurred.



Answers First: Get answers or Ask questions on subjects like Education, Technology, Social, LifeStyle and more.




  • Please comment if you find a different answer.


Related Posts

Post a Comment