Chapter 8 Errors Failures and Risk See Dilbert
Chapter 8: Errors, Failures, and Risk See Dilbert cartoons about errors, failures, and risk: http: //dilbert. com/strips/comic/2010 -05 -20/ http: //dilbert. com/strips/comic/2006 -12 -10/ Cpt. S 401, Fall 2010 11/2/10 1
Reminders • Video scene due tonight at 11: 59 – Post to You. Tube as “unlisted” – Submit. txt file to OSBLE with You. Tube link • Today’s reading quiz covers 8. 1 and 8. 2 Cpt. S 401, Fall 2010 11/2/10 2
Quiz Question 1 The cause of computer system failures can be attributed to A. faulty design B. sloppy implementation C. poor user interfaces D. All of the above E. None of the above Cpt. S 401, Fall 2010 11/2/10 3
Answer : E (See p. 405) • Computer software is inherently complex and will contain bugs – How much risk should we accept? – Are some risks just tradeoffs for the benefits that the software provides? • Three useful perspectives – Computer users, who need to understand limitations of technology – Computer professionals, who need become better at what they do – Educated members of society, who make personal, social, legal and political decisions based on risks of computers Cpt. S 401, Fall 2010 11/2/10 4
Quiz Question 2 The following is not a factor that contributes to the problems that computer databases cause for people: A. A large population B. Automated processing without human intervention C. Inaccurate biometric data D. Errors in data entry E. Lack of accountability for errors Cpt. S 401, Fall 2010 11/2/10 5
Answer: C Several Factors Contribute to Database Problems • A large population (many with similar names) • Automated processing can’t always recognize special cases or doesn’t use common sense • Overconfidence in accuracy of data • Human errors in data entry • Data are not updated or maintained • Humans aren’t accountable for problems (blame it on computer!) Cpt. S 401, Fall 2010 11/2/10 6
Quiz Question 3 In the context of Ch. 8, RSI stands for A. Redundant System Inputs B. Recalibrated System Integrity C. Repetitive Safety Isometrics D. Redundant Safety Information E. None of the above Cpt. S 401, Fall 2010 11/2/10 7
Answer: RSI = Repetitive Strain Injuries (E) (see gray box on p. 411) • Have you experienced pain from using a keyboard or mobile device for extended periods of time? A: Yes B: No • What can you do to prevent this? Cpt. S 401, Fall 2010 11/2/10 8
Quiz Question 4 A strategy mentioned by the book for making electronic voting machines less vulnerable to fraud and sabotage is A. requiring the machines to be housed in a locked cabinet B. requiring the software they use to be public C. keeping the software they use secret D. All of the above E. None of the above Cpt. S 401, Fall 2010 11/2/10 9
Answer: B (see p. 416) Electronic Voting has Pros and Cons • With your group discuss the pros and cons of electronic voting for about 90 seconds • Can you cite recent elections in which it worked or didn’t work? Cpt. S 401, Fall 2010 11/2/10 10
Quiz Question 5 The book discusses the failures of complex computer systems at three different airports. What was a common reason all three failed? A. They had not undergone sufficient testing B. They were unable to handle incorrect user input C. They were too complex to work properly D. None of the above Cpt. S 401, Fall 2010 11/2/10 11
Answer: A See pp. 418 -419 • What were three airports? • There was immense political pressure to deploy these systems quickly • Not enough time was allocated for thorough testing of the software, nor was adequate time allocated to properly train human workers in the use of the software • Cite examples of abandoned computer systems in which millions or even billions of dollars were invested. Cpt. S 401, Fall 2010 11/2/10 12
Quiz Question 6 systems are , thus requiring special adaptations to work with. A. Operating, difficult to program, antivirus software B. legacy, out-of-date, more modern systems C. safety-critical, highly complex, computer software D. Voting, proprietary, elections Cpt. S 401, Fall 2010 11/2/10 13
Answer: B (see p. 420) Legacy Systems Have Caused Many Problems • Large computer systems were originally used primarily in the banking and airline industries, and also by the government • It is difficult for these systems to go “off-line” so that they can be replaced by new systems • Hence, they often continue to be used, even though they are outdated, difficult to use, and difficult to maintain Cpt. S 401, Fall 2010 11/2/10 14
Quiz Question 7 In the first decade of the 21 st century, there was one fatal accident per commercial flights. This was than the rate of the previous decade. A. 10, 000; higher B. 100, 000; lower C. 1 million, higher D. 4 million, lower E. None of the above Cpt. S 401, Fall 2010 11/2/10 15
Answer: D Airline Travel is Astonishingly Safe! • Several computer-based innovations have contributed to airline travel’s improving safety record (60% safer than a decade ago) – Name two mentioned in the book • But: in times of crisis, should a pilot trust these systems or her own instincts? Cpt. S 401, Fall 2010 11/2/10 16
Quiz Question 8 The following is true of the Therac-25 case: A. It’s a shining example of a device that was built with safety in mind. B. It teaches dramatic lessons about the negative impacts of poorly-designed software on human life. C. It shows that the known problems of a device can be avoided by competent operators of the device. D. None of the above Cpt. S 401, Fall 2010 11/2/10 17
Question 8 Answer B. (See p. 425) Cpt. S 401, Fall 2010 11/2/10 18
Quiz Question 9 Why did the Therac-6 and Therac-20, both predecessors to the Therac-25, not have the same safety problems as the Therac-25? A. They were generally used by operators with more skill. B. They didn’t have as strong an electron beam. C. They were controlled by better-designed software. D. They had a hardware interlock mechanism that prevented the beam from firing in unsafe conditions. E. Non of the above Cpt. S 401, Fall 2010 11/2/10 19
Quiz Question 9 Answer D. See p. 426 Cpt. S 401, Fall 2010 11/2/10 20
Quiz Question 10 One of the software errors that caused the Therac-25 malfunctions was due to A. A variable being incremented instead of set to a fixed value. B. A loop iterating one too many times C. An erroneous conditional check D. All of the above E. None of the above Cpt. S 401, Fall 2010 11/2/10 21
Quiz Question 10 Answer A. (See p. 427) What was the other major software error? Cpt. S 401, Fall 2010 11/2/10 22
Discussion Exercise Assignments • 8. 36: – Hospital that used machine • Prosecuting attorney: Error 404, Discotech, Tier III, Pac 4, • Defense attorney: Breakfast Club, CAAK, Skynet, Prestige Worldwide – Company that made the machine • Prosecuting attorney: FAM, Pangea, CADD, Thizzle • Defense attorney: Brandon, Rock-It, Sponge Bob, SPAMD – Programmer who wrote the software • Prosecuting attorney: Batman Symbol, Skillz that Killz, Hide ‘Yo Kids • Defense attorney: Emoticons, Error 403 Forbidden, Sky. Blue, i. Team Cpt. S 401, Fall 2010 11/2/10 23
- Slides: 23