Friday, July 27, 2007

Common types of computer bugs with pseudocode example

  1. Divide by zero:   B=0 ; A=A/B;
  2. NULL pointer dereference:
  3. Infinite loops: For i=10 to 1 step 1
  4. Arithmetic overflow or underflow:
  5. Exceeding array bounds: Define A[10] ....B=11; A[B]=1;
  6. Using an uninitialized variable :
  7. Accessing memory not owned (Access violation)
  8. Memory leak or Handle leak :
  9. Stack overflow or underflow :
  10. Buffer overflow :
  11. Deadlock :
  12. Off by one error :
  13. Race condition :
  14. Loss of precision in type conversion :
Source: Wiki

3 comments:

Anonymous said...

I got this web site from my buddy who shared with me
concerning this web site and now this time I am visiting this site and reading
very informative articles or reviews at this time.
Feel free to surf my blog - green coffee bean dr oz

Anonymous said...

Hey! Would you mind if I share your blog with my zynga group?
There's a lot of folks that I think would really enjoy your content. Please let me know. Thanks
Also visit my weblog ; lanautica.com

Anonymous said...

Nice response in return of this query with firm arguments and telling the whole thing concerning that.


Here is my weblog: green coffee bean wholesalers