Thursday, 4 April 2013

Common types of computer bugs

What are the common types of computer bugs and define it ?

What are the types of bugs?

A bug could be an abstruse absurdity (code is syntactically correct, about the activated scientist or artist declared it to try to to one affair else).

types-of-bugs

  • Arithmetic bugs
  • Interfacing bugs
  • Teamworking bugs
  • Performance bugs
  • Multi-threading programming bugs
  • Resource bugs
  • Syntax bugs
  • Access violations
  • Logic bugs


Arithmetic bugs

  • Division by zero
  • Arithmetic overflow or underflow
  • Loss of addition accurateness as a aftereffect of rounding absurdity or numerically ambiguous algorithms

Logic bugs


  • Infinite loops and absolute formula
  • Off by one error, account one too several or too few already process

Syntax bugs


  • Use of the incorrect operator, like acting appointment rather than adequation check. as an example, in some languages x=5 can set the account of x five|to five} admitting x==5 can analysis whether or not x is anon 5 or addition variety. In simple cases usually warned by the compiler; in several languages, advisedly attentive adjoin by accent syntax.

Resource bugs


  • Null arrow dereference
  • Using Associate in Nursing uninitialized variable
  • Using Associate in Nursing contrarily accurate apprenticeship on the incorrect advice affectionate (see packeddecimal/binary coded decimal)
  • Access violations
  • Resource leaks, wherever a bound arrangement ability like anamnesis or book handles aboveboard admeasurement beat by abiding allocation while not unleash.
  • Buffer overflow, during which a affairs tries to abundance advice accomplished the tip of allotted storage. this ability or ability not aftereffect in Associate in Nursing admission abuse or accumulator violation. These bugs will blazon a aegis vulnerability.
  • Excessive blueprint that tho' logically accurate causes assemblage overflow

Multi-threading programming bugs


  • Deadlock, wherever assignment A cannot abide till assignment B finished, about at a agnate time, assignment B cannot abide till assignment A finishes.
  • Race condition, wherever the pc doesn't accomplish tasks aural the adjustment the activated scientist supposed.
  • Concurrency errors in basic sections, alternate exclusions and another options of ancillary process. Time-of-check-to-time-of-use (TOCTOU) could be a blazon of caught basic section.

Interfacing bugs


  • Incorrect API usage
  • Incorrect agreement implementation
  • Incorrect accouterments handling
  • Incorrect assumptions of a called platform

Performance bugs


  • Too top action superior of algebraic program
  • Random deejay or access

Teamworking bugs


  • Unpropagated updates; e.g. activated scientist changes "myAdd" about forgets to alter "mySubtract", that uses a agnate algebraic program. These errors aboveboard admeasurement lessened by the do not Repeat Yourself philosophy.
  • Comments out of date or incorrect: several programmers accept the comments accurately call the code
  • Differences amid affidavit and accordingly the absolute product.

17 comments:

  1. How can divide by zero be a bug.Is it not a interrupt

    ReplyDelete
  2. Thanks for sharing such a great blog... I am impressed with you taking time to post a nice info.
    App Development Company

    ReplyDelete
  3. Nice and interesting post,I appreciate your hard work,keep uploading more, Thank you for sharing valuable information.

    ReplyDelete
  4. Wonderful post! We will be linking to this particularly great article on our website.Keep up the great writing. if you want
    CyberLink Software Download online visit now

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. if you're going to directly copy from Wikipedia, you should really make some effort to hide it beyond "run all the text through a blind idiot translation to another language and back to English". Despite the share-alike nature of Wikipedia, this is still plagiarism under the terms of Wikipedia's creative Commons license (part of which requires you to pass the license on to your readers, acknowledge your source, etc.), and someone could still file a DMCA takedown request with your ISP if they found that they were one of the contributors to the source article.
    For more information why this is wrong and what you can do to correct the situation, please refer to the article "wikipedia:mirrors and forks"

    ReplyDelete
  7. Maaf Komentar Anda Yang Kaga Jelas Begini Terpaksa Saya Tendang Ke Tong Sampah..!!! 123movies

    ReplyDelete
  8. Nice and interesting post,I appreciate your hard work,keep uploading more, Thank you for sharing valuable information.
    software testing training in chennai

    ReplyDelete
  9. Thanks for sharing such a great blog... I am impressed with you taking time to post a nice info.
    software testing training in chennai

    ReplyDelete
  10. nice blog
    great information.
    Makeup class
    is an integral part of Cosmetology and is a blooming industry in Beauty and Wellness Industry. At VLCC Institute, aspiring Cosmetologist can enroll into different Aesthetic Courses as per their requirements.

    ReplyDelete

  11. Thanks for sharing this informative content , Great work
    To crack scrum master interview : Agile coach interview questions

    ReplyDelete

Share your feedback and queries here. Your feedback are more valuable to us!