Evaluation of Programming

Virginia SOL CM.EP.2

Identify errors and debug a program using various techniques.

What students need to be able to do

  • Differentiate among syntax errors, runtime errors, and logic errors.
  • Debug a program by interpreting syntax and runtime error messages.
  • Debug a program by placing controlled breaks.
  • Debug a program by outputting intermediate results.
  • Debug a program by disabling a section of code by converting it into a comment.
  • Debug a program by tracing code to identify logic errors.
  • Debug a program using debugging tools available in the programming environment.