Bug is a difference between the actual & expected results
Expected result -> way that the application should behave ( i.e based on the Customer requirements) when some action/event is performed on it
It's before the execution
Actual result -> The results displayed after some actions performed on the application
It's after the execution
If the expected & Actual results doesn't matches then it is called as a Bug
I,e difference between what the application is intended to do before & after the execution
Effects of Bug:
Bugs can have a wide variety of effects, with varying levels of inconvenience to the user of the program.
Some bugs have only a subtle effect on the program's functionality, and may thus lie undetected for a long time.More serious bugs may cause the program to crash or freeze leading to a denial of service
Others qualify as security bugs and might for example enable a malicious user to bypass access controls in order to obtain unauthorized privileges.
Regards,
Pavankumar Nandagiri.......