UrbanPro
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
Follow 0

Please Enter a comment

Submit

Other Lessons for You

Dot product of vectors
Dot product of two vectors gives back a number ( scalar ) If "a and b" are two vectors, then their cross product ( a • b ) = | a | | b | cos θ | a | & | b | are the magnitude of vectors...

Integration by substitution.
Let's solve an example using 'u' substitution method. ∫ sin² x cos x dx ------------------------A As we can see " cos x " along with " sin x " and we don't have any ready made formula for the...

Tips For Writing The Examination And How To Score High Marks In The Examination
1. Write the question number on left hand side of the answer booklet very clearly, generally a large one focused to the evaluater, from the question paper.You can start writing the answer for any of the...

Simple Algorithms - Fibonacci, Finding GCD & Finding LCM.
import java.util.Scanner; //0,1,1,2,3,5,8,13,21,34... //fun(n)=fun(n-1)+fun(n-2) where n>=2 /*fib(9)=fib(8)+fib(7) =fib(7)+fib(6)+fib(6)+fib(5) =fib(6)+fib(5)+fib(5)+fib(4)+fib(5)+fib(4)+fib(4)+fib(3) */ public...

Google Street View Cars Are Mapping Methane Leaks
Natural gas pipeline leaks that pose a safety hazard are quickly addressed. But what about leaks too small to pose a threat? These mall leaks are often overlooked and they collectively release tons of...
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

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more