KEMBAR78
SOFTWARE BUGS.pptx for computer science and more | PPTX
SOFTWARE BUGS
BY B.DHARSHITH,ANKIT,HEBRON,ASHER
INTRODUCTION ABOUT BUGS
• A software bug is a problem THAT causing a program to crash or
produce invalid output. The problem is caused by insufficient or
erroneous logic. A bug can be an error, mistake, defect or fault, which
may cause failure or deviation from expected results.
• Most bugs are due to human errors in source code or its design. A
program is said to be buggy when it contains a large number of bugs,
which affect program functionality and cause incorrect results.
SECURITY BUGS
logical bugs
UNIT LEVEL BUGS
FUNCTIONAL BUGS
TYPES OF BUGS:
SECURITY BUGS:-
 A security bug or security defect is a software bug that can be exploited
to gain unauthorized access or privileges on a computer system. Security
bugs introduce security vulnerabilities by compromising one or more of:
 Authentication of users and other entities
 Authorization of access rights and privileges
 Data confidentiality
 Data integrity
 Security bugs do not need be identified nor exploited to be qualified as
such and are assumed to be much more common than known vulnerabilities
in almost any system.
LOGICAL BUGS:-
 In computer programming, a logic error is a bug in a program that
causes it to operate incorrectly, but not to terminate abnormally (or
crash). A logic error produces unintended or undesired output or other
behavior , although it may not immediately be recognized as such.
 Logic errors occur in both compiled and interpreted languages. Unlike
a program with a syntax error, a program with a logic error is a
valid program in the language, though it does not behave as intended.
Often the only clue to the existence of logic errors is the production
of wrong solutions, though static analysis may sometimes spot them.
PERFORMANCE BUGS
 Software performance is an essential element in determining its usability
and greatly influences users’ perception of the product.
 It is mainly related to the stability, speed, or response time of software
resources. Any defect that undermines these features falls into the
performance bug category.
 This type of programming defect causes significant performance
degradation and leads to a frustrating user experience, not to mention
user abandonment and the potential loss of millions of dollars.
 Is the response delay ten times longer than described in the requirements?
We are probably facing a performance bug. A really BAD performance bug,
I’d say.
FUNCTIONAL BUGS
 Functional bugs are related to the functionality of the module of the
software Functional testing is performed to realize the appearance of
such defects.
 These bugs can manifest themselves in many ways, such as incorrect
calculations, incorrect data processing, an incorrect user interface, or
incorrect output.
 Whenever you perform a functional activity, and the website, app, or
software doesn’t react as you expected, it might be a functional issue.
 Limited information about our client’s requirements and a lack of
knowledge about their product implementations make it difficult to
resolve whether a followed behavior is intentional or actually a bug.
HISTORY OF BUGS
The term "bug" was used in an account by computer pioneer
Grace Hopper, who publicized the cause of a malfunction in
an early electromechanical computer. A typical version of
the story is:
In 1946, when Hopper was released from active duty, she
joined the Harvard Faculty at the Computation Laboratory
where she continued her work on the Mark II and Mark III.
Operators traced an error in the Mark II to a moth trapped
in a relay, coining the term bug. This bug was carefully
removed and taped to the log book. Stemming from the first
bug, today we call errors or glitches in a program a bug.
 WORST BUGS IN HISTORY
PayPal accidentally credits man $92 quadrillion:
• When Chris Reynolds opened his PayPal e-mail statement, the Pennsylvania PR executive’s account balance was $92,233,720,368,547,800.
• The amount is significant in the world of 64-bit numbers suggesting a programming error. The error was quickly recognized, and his account had returned to
zero by the time he had logged in.
• PayPal offered to give an unspecified amount of money to a cause of Reynolds’ choice.
The Explosion of the Ariane 5 Rocket:
• On June 4, 1996, an Ariane 5 rocket launched by the ESA (European Space Agency) exploded just forty seconds after its launch from Kourou in the French
Guiana. The rocket was on its inaugural voyage, after a decade of development costing $8 billion and the result of this bug was the loss of $370 million.
• The reason behind its failure was an integer Overflow, which is a widespread bug in computer programming. In this case, an attempt was made to set a 64-bit
number in 16-bit space.
CONCLUSION
• So, in this presentation , we learned the types of bugs in software
testing in brief. Identifying and addressing different types of bugs in
software is crucial to delivering high-quality software products that
meet the needs of end users. The various types of bugs, including
syntax errors, logical errors, and environmental errors, can
significantly impact the performance, reliability, and security of
software systems
QUIZ TIME ON SOFTWARE BUGS
QUESTION 1: THE TERM BUG
WAS FOUND BY __________
ANSWER: GRACE HOPPER
QUESTION 2: ________ IS A
SOFTWARE BUG THAT CAN BE
EXPLOITED TO GAIN
UNAUTHORIZED ACCESS OR
PRIVILEGES ON A OMPUTER
SYSTEM
ANSWER: SECURITY BUG
QUESTION 3: THE ARIANE 5
ROCKET LAUNCHED BY THE
[ESA] AND EXPLODED JUST
EXPLODED _______
SECONDS AFTER ITS LAUNCH
ANSWER : FOURTY
SECONDS
QUESTION 4:______ ANALYSIS
MAY SOMETIMES SPOT LOGICAL
BUGS
ANSWER: STATIC ANALYSIS
QUESTION 5: ______ IS PERFORMED TO
REALIZE SUCH DEFECTS IN SOFTWARE
ANSWER: FUNCTIONAL TESTING
THANK YOU
REGARDS DHARSHITH , ANKIT

SOFTWARE BUGS.pptx for computer science and more

  • 1.
  • 3.
    INTRODUCTION ABOUT BUGS •A software bug is a problem THAT causing a program to crash or produce invalid output. The problem is caused by insufficient or erroneous logic. A bug can be an error, mistake, defect or fault, which may cause failure or deviation from expected results. • Most bugs are due to human errors in source code or its design. A program is said to be buggy when it contains a large number of bugs, which affect program functionality and cause incorrect results.
  • 4.
    SECURITY BUGS logical bugs UNITLEVEL BUGS FUNCTIONAL BUGS TYPES OF BUGS:
  • 5.
    SECURITY BUGS:-  Asecurity bug or security defect is a software bug that can be exploited to gain unauthorized access or privileges on a computer system. Security bugs introduce security vulnerabilities by compromising one or more of:  Authentication of users and other entities  Authorization of access rights and privileges  Data confidentiality  Data integrity  Security bugs do not need be identified nor exploited to be qualified as such and are assumed to be much more common than known vulnerabilities in almost any system.
  • 6.
    LOGICAL BUGS:-  Incomputer programming, a logic error is a bug in a program that causes it to operate incorrectly, but not to terminate abnormally (or crash). A logic error produces unintended or undesired output or other behavior , although it may not immediately be recognized as such.  Logic errors occur in both compiled and interpreted languages. Unlike a program with a syntax error, a program with a logic error is a valid program in the language, though it does not behave as intended. Often the only clue to the existence of logic errors is the production of wrong solutions, though static analysis may sometimes spot them.
  • 7.
    PERFORMANCE BUGS  Softwareperformance is an essential element in determining its usability and greatly influences users’ perception of the product.  It is mainly related to the stability, speed, or response time of software resources. Any defect that undermines these features falls into the performance bug category.  This type of programming defect causes significant performance degradation and leads to a frustrating user experience, not to mention user abandonment and the potential loss of millions of dollars.  Is the response delay ten times longer than described in the requirements? We are probably facing a performance bug. A really BAD performance bug, I’d say.
  • 8.
    FUNCTIONAL BUGS  Functionalbugs are related to the functionality of the module of the software Functional testing is performed to realize the appearance of such defects.  These bugs can manifest themselves in many ways, such as incorrect calculations, incorrect data processing, an incorrect user interface, or incorrect output.  Whenever you perform a functional activity, and the website, app, or software doesn’t react as you expected, it might be a functional issue.  Limited information about our client’s requirements and a lack of knowledge about their product implementations make it difficult to resolve whether a followed behavior is intentional or actually a bug.
  • 9.
    HISTORY OF BUGS Theterm "bug" was used in an account by computer pioneer Grace Hopper, who publicized the cause of a malfunction in an early electromechanical computer. A typical version of the story is: In 1946, when Hopper was released from active duty, she joined the Harvard Faculty at the Computation Laboratory where she continued her work on the Mark II and Mark III. Operators traced an error in the Mark II to a moth trapped in a relay, coining the term bug. This bug was carefully removed and taped to the log book. Stemming from the first bug, today we call errors or glitches in a program a bug.
  • 10.
     WORST BUGSIN HISTORY PayPal accidentally credits man $92 quadrillion: • When Chris Reynolds opened his PayPal e-mail statement, the Pennsylvania PR executive’s account balance was $92,233,720,368,547,800. • The amount is significant in the world of 64-bit numbers suggesting a programming error. The error was quickly recognized, and his account had returned to zero by the time he had logged in. • PayPal offered to give an unspecified amount of money to a cause of Reynolds’ choice. The Explosion of the Ariane 5 Rocket: • On June 4, 1996, an Ariane 5 rocket launched by the ESA (European Space Agency) exploded just forty seconds after its launch from Kourou in the French Guiana. The rocket was on its inaugural voyage, after a decade of development costing $8 billion and the result of this bug was the loss of $370 million. • The reason behind its failure was an integer Overflow, which is a widespread bug in computer programming. In this case, an attempt was made to set a 64-bit number in 16-bit space.
  • 11.
    CONCLUSION • So, inthis presentation , we learned the types of bugs in software testing in brief. Identifying and addressing different types of bugs in software is crucial to delivering high-quality software products that meet the needs of end users. The various types of bugs, including syntax errors, logical errors, and environmental errors, can significantly impact the performance, reliability, and security of software systems
  • 12.
    QUIZ TIME ONSOFTWARE BUGS QUESTION 1: THE TERM BUG WAS FOUND BY __________
  • 13.
  • 14.
    QUESTION 2: ________IS A SOFTWARE BUG THAT CAN BE EXPLOITED TO GAIN UNAUTHORIZED ACCESS OR PRIVILEGES ON A OMPUTER SYSTEM
  • 15.
  • 16.
    QUESTION 3: THEARIANE 5 ROCKET LAUNCHED BY THE [ESA] AND EXPLODED JUST EXPLODED _______ SECONDS AFTER ITS LAUNCH
  • 17.
  • 18.
    QUESTION 4:______ ANALYSIS MAYSOMETIMES SPOT LOGICAL BUGS
  • 19.
  • 20.
    QUESTION 5: ______IS PERFORMED TO REALIZE SUCH DEFECTS IN SOFTWARE
  • 21.
  • 22.