Programming Blunders: Clever and Lethal.

Uploaded on:
Category: Fashion / Beauty
Teacher, Branch of PC Sciences Purdue College West Lafayette, IN 47907 Programming Blunders: Clever and Deadly Aditya P. Mathur Sci 110 Respects Course Monday Oct 18, 2004 Last overhaul: October 18, 2004 Mistakes and people " To blunder is human ; to pardon, divine ."
Slide 1

Educator, Department of Computer Sciences Purdue University West Lafayette, IN 47907 Software Errors: Funny and Fatal Aditya P. Mathur Sci 110 Honors Seminar Monday Oct 18, 2004 Last overhaul: October 18, 2004

Slide 2

Errors and people “ To fail is human ; to overlook, divine .” “ …but to truly mess up obliges a PC.. ” “ From fledgling to the best, from the unpracticed to the accomplished, from youthful to old, all originators/software engineers make errors.” Errors

Slide 3

Error: A definition “ botch, lapse, flaw ” “ a wrong activity inferable from terrible judgment or lack of awareness or carelessness; "he made an awful mistake"; "she rushed to call attention to my errors"; "I could comprehend his English despite his syntactic faults" Errors

Slide 4

Fault shows up in the system. Flaw stays undetected amid testing. The system falls flat amid execution i.e. it carries on out of the blue. Slip, flaw, disappointment Analyst/Designer/Programmer commits an error. Mistakes

Slide 5

Correct operation Error uncovering area Incorrect operation Errors and Input Set of inputs, otherwise called the Input space Errors

Slide 6

Ideal Reality Finding and altering blunders Goal of testing and investigating: Reduce the arrangement of disappointment making inputs invalid. Mistakes

Slide 7

Impact of Errors Funny: Will probably produce chuckling. Burden: May oblige machine reboot. Fiasco: May bring about loss of property. Deadly: May bring about death. Blunders

Slide 8

Funny: La Tosca (Giacomo Puccini) “The musical drama Tosca appeared a little more than one hundred years prior, at the Teatro Constanzi in Rome on January 14, 1900. Not long after its debut, it got to be a standout amongst the most famous musical shows in the collection, and it remains so to this day.” Errors

Slide 9

Funny: Candle Blowing “It was the candelabra that assumed an unmistakable part in a San Diego execution of Tosca in 1956. The script got for Tosca to victory the four candles in the candelabra before significantly setting a light on either side of Scarpia and a cross on his bosom and leaving the stage. With present day insulating the flame danger is typically viewed as sufficiently little to allow the utilization of genuine candles.” Errors

Slide 10

Funny: Blow request confuse “In San Diego, in any case, the candles were electric, as well as the request of their going out was settled on a PC tape alongside all whatever remains of the lighting signs. The tape complied with the stage director\'s sign and snuffed the candles precisely as Tosca blew them out - aside from that on this event the writing computer programs wasn\'t right and it blew them out in an alternate request from hers.” Errors

Slide 11

Funny: Oops! She blew to one side, the light on the forgot went, she blew the back one, the one in front went out! To further befuddle the circumstance, as she started E avanti a lui tremava tutta Roma (And before him all Rome trembled), the electronic bleep for the drapery arrived too early and the window ornament close with angry rate before she had wrapped up. Mistakes

Slide 12

Disaster: Rocket Launch French rocket Ariane 501 was planned to dispatch on the morning of June 4, 1996, from the dispatch site in Kourou, French Guiana. Disappointment of the dispatch because of the un-kept an eye on rocket blasting following 42 seconds from the dispatch\'s season. Blunders

Slide 13

Disaster: The lapse An interior programming special case was brought about amid execution of an information change from a 64-bit skimming point number to a 16-bit marked whole number worth. The gliding\'s estimation point number was more noteworthy than what could be spoken to by a 16-bit marked whole number (e.g. 43,445). The information change guidelines were not shielded from creating operand mistakes. Lapses

Slide 14

Disaster: Inadequate testing “The direction framework for Ariane 5 was an overhaul from Ariane 4. However, Ariane 5 had an alternate direction which pushed one of the numerical parameters out of bounds.” “ This would have been gotten in testing, yet just if the testing detail were legitimately moved up to work for Araine 5. That didn\'t happen in spite of the fact that the particulars and improvement procedures are at the same level as NASA employments. They still failed.” Errors

Slide 15

Fatal: Therac-25 “The Therac-25 was a modernized radiation treatment machine.” “The Therac-20, a forerunner of the Therac-25, utilized autonomous defensive circuits and mechanical interlocks to ensure against overdose. The Therac-25 depended all the more intensely on software.” Errors

Slide 16

Fatal: No equipment interlocks “The Therac-25 bolstered a multitasking domain, and the product permitted simultaneous access to shared information. This shaky usage brought about system disappointment under certain (race) conditions.” Errors

Slide 17

Fatal: Overdose and Deaths “The machine greatly overdosed patients no less than six times between June 1985 and January 1987. Each overdose was a few times the ordinary remedial measurements and brought about the quiet\'s serious damage or even death.” Errors

Slide 18

Inconveniences: Minor and Major Paychecks printed with $0! On July 1-2, 1991, PC programming falls in phone exchanging stations disturbed administration in Washington DC, Pittsburgh, Los Angeles and San Francisco. The Mars Climate Orbiter smashed in September 1999 as a result of a "silly mistake": wrong units in a system. A feline was enrolled as a voter to show hazards (no pawtograph needed). Blunders

Slide 19

References The accompanying locales point to numerous “horror stories” identified with programming mistakes. Nany Leveson (Safety master):

View more...