true

Take BTech Tuition from the Best Tutors

• Affordable fees
• 1-1 or Group class
• Flexible Timings
• Verified Tutors

Search in

# Program Analysis

Harish Kumar
31/12/2016 0 0

Persons working in the field of computer science analyze programs for correctness and to understand their efficiency for solving problems. Testing is the most obvious way to analyze correctness; although it does not prove correctness, it can certainly disprove it! Data for testing must be selected to reflect a range of typical cases, including boundary cases and erroneous cases, which should be handled with error messages or exceptions. Debugging refers to the discovery and correction of errors in a program. These errors can be found through testing or careful analysis. Students should be able to handle all three categories of errors: runtime, compiler, and logic errors. Debugging techniques include hand-tracing of code, adding extra output statements to trace the execution of a program, and using a debugger to trace execution and display selected values as it runs and when it crashes. Students should be encouraged to experiment with available debugging facilities, but they should also be able to rely on more primitive debugging methods, which will serve them in whatever environment they encounter in the future.

0 Dislike

## Other Lessons for You

Volume and Surface Forces
Generally speaking, fluids are acted upon by two distinct types of force. The first type is long range in nature—that is, such that it decreases relatively slowly with increasing Mathematical Models...

How To Overcome Exam Pressure?
Exam pressure is something that everyone faces atleast once in their lifetime. It is a psychological fact that generates a fear in us at the time of any exam or any other opportunity. Most of us finds...
A

Ankit Khurana

Tips while solving LPP using Simplex Method
1. Delta j under unit column are always zero. 2. Calculate z while doing row operations. 3 in regular simplex method, in initial table delta j are the negative of Cj. So there is no need to calculate...

Oscillator
An oscillator is a circuit that creates a waveform output from a direct current input. The two main types of oscillator are harmonic and relaxation. The harmonic oscillators have smooth curved waveforms,...

What is Problem Based Learning?
As Davis and Harden (1999) have indicated there is still some confusion about what PBL really is. It is best thought of as an educational approach where students are encouraged to take an active role in...

### Looking for BTech Tuition ?

Learn from Best Tutors on UrbanPro.

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

### Looking for BTech Tuition Classes?

The best tutors for BTech Tuition Classes are on UrbanPro

• Select the best Tutor
• Book & Attend a Free Demo
• Pay and start Learning

### Take BTech Tuition with the Best Tutors

The best Tutors for BTech Tuition Classes are on UrbanPro