help regarding "debugging" - educational help

-L-

Member
Jun 16, 2008
20
0
0
a) What is normally meant by the term 'debugging'?

b) How is debugging approached in a simple programming environment where the programmer has only the standard output facilities of the programming language to use for this purpose?

c) What extra facilities to assist in debugging might be provided in a more extensive development environment?

please friends can you help me? :) i want to answer these question and handover the answer paper to my lecturer on tomorrow evening , still we did not entered to this chapter yet in our class , but i want to give a try , information and the knowledge what i have is not enough , please help me if you can :)
 

sri_lion

Member
Sep 14, 2006
12,908
102
0
Kuala Lumpur
Welcome to EK!

Although its good that you are interested in knowing these areas, please dont make EK a place to get your home work done by others!

There's GOOGLE!!! Its a great tool for research!! Research first.... get your basic knowledge and tell the forum what you've found and what you dont understand.. then maybe someone can clarify that for you!!!
 

x-pert

Member
Jun 13, 2006
20,952
77
0
de bugging = getting rid of bugs in the source.

approach is black box testing with a simple sets of data.

extra facilities maybe some tools. Try Googling mate. Short of time :)
 

-L-

Member
Jun 16, 2008
20
0
0
thank you very much for the replies :) i do not want to "done my homework by a forum member" and ofcourse this is not a homework, what i am trying to do is try to answer some questions related to the chapter yet to start :) i googled and fixed the part a), but i do not understand the other two questions because i am not familiar with these terms.If anybody can bit explain it in a simple manner or give some simple examples to a bigginer, much appriciated as a student :)
 

x-pert

Member
Jun 13, 2006
20,952
77
0
b) How is debugging approached in a simple programming environment where the programmer has only the standard output facilities of the programming language to use for this purpose?

If the programmer has only the standard output facility, then he can't go through coding line by line rught?

So all he can do is just use a simple set oftest data and check whether he gets the expected output.

e.g. If the program is suppose to add 2 numbers and show the result, then the programmer can input several numbers and check whether the expected is happening or not.

That is called black box testing in simple terms. (for more Google black box testing)


c) What extra facilities to assist in debugging might be provided in a more extensive development environment?

Well on the the other hand, in a more extensive environment, he can access the source code and do white box testing. (again google please bro)

Or else he can use some automated tools to check whether the program is running perfectly.

White box testing, regression testing etc. can do.

And he can access all the versions of the software to trace the route cause of the 'bug' There are tools like CVS for that.
Those are the things I can think of on top of my head for the moment...