Skip to Main Content
Python Programming: A modular approach
book

Python Programming: A modular approach

by Kumar Naveen, Taneja Sheetal
January 2017
Intermediate to advanced content levelIntermediate to advanced
606 pages
14h 1m
English
Pearson Education India
Content preview from Python Programming: A modular approach

CHAPTER 4

DEBUGGING

CHAPTER OUTLINE

4.1 Testing

4.2 Debugging

When a program fails to yield the desirable result, we say that it contains a bug. The bug could be an error such as division by zero, invalid type conversion, using a variable not defined, wrong initialization, or some other unintended operation being performed. The process of discovering the bugs and making the program bug-free is called debugging. In this chapter, we discuss some debugging techniques.

 

debugging: making the program error free

4.1 TESTING

Program testing aims to expose the presence of bugs in the programs. To find the bugs in a program, we test it on various inputs. We correct the errors found in this process and feel confident that the program will run smoothly. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Modular Programming with Python

Modular Programming with Python

Erik Westra
Python Programming Blueprints

Python Programming Blueprints

Daniel Furtado, Marcus Pennington

Publisher Resources

ISBN: 9789352866038