_______ is a process of searching bugs in a software.
- AOption (a)
Compiling
- BOption (b)
Testing
- COption (c)
Execution
- DOption (d)
Debugging
View answer & explanationHide answer & explanation
Correct answer
Debugging
Why this answer is correct
The correct answer is Debugging.
- Debugging is the process of detecting and removing of existing and potential errors (also called as ‘bugs’) in a software code that can cause it to behave unexpectedly or crash.
- To prevent incorrect operation of a software or system, debugging is used to find and resolve bugs or defects.
- When various subsystems or modules are tightly coupled, debugging becomes harder as any change in one module may cause more bugs to appear in another.
Key Points
- The process of debugging is as follows:
- Reproduce the problem.
- Describe the bug. Try to get as much input from the user to get the exact reason.
- Capture the program snapshot when the bug appears. Try to get all the variable values and states of the program at that time.
- Analyze the snapshot based on the state and action. Based on that try to find the cause of the bug.
- Fix the existing bug, but also check that any new bug does not occur.
Additional Information
- NOTE:
- Compiling a program means to translate it into a more useful language. The compiler scans the entire program and translates the whole of it into machine code at once.
- In computer hardware and software development, testing is used at key checkpoints in the overall process to determine whether objectives are being met. For example, in software development, product objectives are sometimes tested by product user representatives.
- Execution is a process of running a computer software program, script, or command. For example, each time you open your Internet browser, you are executing the program.
