Bugs
A bug is an error in code/program. When bugs came in a program then a program either failing, or shows a behavior that is different from what the programmer expects.
Types of Technicalities of Bugs
- Arithmetic: Calculation problem in the system known as arithmetic bugs.
- Interface: Communication problems in the system is known as Interface bugs. The Interface bugs can come from a piece of hardware or software
- Logic: Logic errors happen when the logic of the program causes the program to output the wrong information.
- Syntax: when wrong characters written in code is called Syntax bugs. Different programming languages have different Syntax, so using syntax from one could cause a bug in another.
- Teamwork: miscommunication between programmers leads teamwork bug.
The Debugging Process
To identify and fix bugs that exist in program/code is known as debugging process. Programmers will often do this by making use of a program called a debugger, which assists in the debugging process
Debugging process has into three steps:
1. Bug isolation: finding the module, function, or code/program lines or part in which the bug happens.
2. Root cause detection: determining the specific situation and triggers that activate the bug.
3. Bug fixing: To remove the bug or enactive bungs applying a bug correction package to the program.
0 Comments