+ 2

What is debugging?

I couldn't understand this topic in python basics. Please help me out of this😅

26th May 2023, 3:51 AM
Death Beliver
Death Beliver - avatar
4 Answers
+ 7
Debugging concept is same in every language. Debugging means to identify and fix error. for example: num = int(input()) if num %2 == 0: print("odd number") else: print("even number") #try finding bug(logic error in this code) error is num%2 == 0 it should be num%2 != 0 (this same bug can be fixed in different way)
26th May 2023, 3:58 AM
Bishnu Chalise
Bishnu Chalise - avatar
+ 9
Death Beliver , Debugging is the process of identifying and resolving errors, or bugs, in a software system. It is an important aspect of software engineering because bugs can cause a software system to malfunction, and can lead to poor performance or incorrect results. Debugging can be a time-consuming and complex task, but it is essential for ensuring that a software system is functioning correctly. (source: geeksforgeeks) for more information follow this link: https://www.geeksforgeeks.org/software-engineering-debugging/
26th May 2023, 10:54 AM
Lothar
Lothar - avatar
+ 2
Debugging is a process of finding errors in your code and solve them. Sometimes, debugging is also, considered as optimising the code further, but that is wrong, as that process is called optimisation.
27th May 2023, 5:38 PM
Danish Zubair
Danish Zubair - avatar