Common Programming Bugs and Code Sizes in the Tech World

Slide Note
Embed
Share

Explore common programming bugs such as division by zero incidents on USS Yorktown and code errors leading to capacity overloads on Ariane 5. Understand the concept of bugs, their impact on end users, and the staggering code sizes of various systems like pacemakers, Hubble, and Facebook.


Uploaded on Oct 11, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. C021TV-I3-S3 0

  2. 1I.3 Programming 1. Machine code 2. Higher level language and compilation 3. Bugs 4. Humans and languages

  3. 2 USS Yorktown In1996, the USS Yorktown tests the Navy's Smart Ship program. During manoeuvers, a crew member enters zero as a value. a division by zero follows stranding the entire ship! Cf https://en.wikipedia.org/wiki/USS_Yorktown_(CG-48) Test entry values!

  4. 3 Ariane 5 First Ariane 5 flight in 1996: The code from Ariane 4 was entered directly. But the acceleration values exceed the maximum values anticipated! capacity overload autodestruction Cf https://fr.wikipedia.org/wiki/Vol_501_d% 27Ariane_5 Take maximum values into account to avoid capacity overloads (charts values or sizes)

  5. What is a bug ? That s when the end user does not get what he wants! 4

  6. What is a bug ? That s when the end user does not get what he wants! Because of a programming error Case oversight typography Capacity overload Illicit memory access . . . Because of a communication error Between the programmer and the user Between the programmer and the programmer! 4

  7. Code size Cf http: //www.informationisbeautiful.net/visualizations/million-lines-of-code/ 5

  8. Code size Pacemaker 105LOC Cf http: //www.informationisbeautiful.net/visualizations/million-lines-of-code/ 5

  9. Code size Pacemaker 105LOC Hubble 2M LOC Cf http: //www.informationisbeautiful.net/visualizations/million-lines-of-code/ 5

  10. Code size WoW (server) Boeing 785 5M LOC Pacemaker 105LOC Hubble 2M LOC Cf http: //www.informationisbeautiful.net/visualizations/million-lines-of-code/ 5

  11. Code size WoW (server) Boeing 785 5M LOC Facebook 60M LOC Pacemaker 105LOC Hubble 2M LOC Cf http: //www.informationisbeautiful.net/visualizations/million-lines-of-code/ 5

Related


More Related Content