Presentation is loading. Please wait.

Presentation is loading. Please wait.

CptS 401, Fall 2010 11/2/10 Chapter 8: Errors, Failures, and Risk See Dilbert cartoons about errors, failures, and risk:

Similar presentations


Presentation on theme: "CptS 401, Fall 2010 11/2/10 Chapter 8: Errors, Failures, and Risk See Dilbert cartoons about errors, failures, and risk:"— Presentation transcript:

1 CptS 401, Fall 2010 11/2/10 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/\ 1

2 CptS 401, Fall 2010 11/2/10 Reminders Video scene due tonight at 11:59 – Post to YouTube as “unlisted” – Submit.txt file to OSBLE with YouTube link Today’s reading quiz covers 8.1 and 8.2 2

3 CptS 401, Fall 2010 11/2/10 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 3

4 CptS 401, Fall 2010 11/2/10 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 4

5 CptS 401, Fall 2010 11/2/10 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 5

6 CptS 401, Fall 2010 11/2/10 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!) 6

7 CptS 401, Fall 2010 11/2/10 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 7

8 CptS 401, Fall 2010 11/2/10 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? 8

9 CptS 401, Fall 2010 11/2/10 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 9

10 CptS 401, Fall 2010 11/2/10 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? 10

11 CptS 401, Fall 2010 11/2/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 11

12 CptS 401, Fall 2010 11/2/10 Answer: A See pp. 418-419 What were the 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. 12

13 CptS 401, Fall 2010 11/2/10 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 13

14 CptS 401, Fall 2010 11/2/10 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 14

15 CptS 401, Fall 2010 11/2/10 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 15

16 CptS 401, Fall 2010 11/2/10 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? 16

17 CptS 401, Fall 2010 11/2/10 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 17

18 CptS 401, Fall 2010 11/2/10 Question 8 Answer B. (See p. 425) 18

19 CptS 401, Fall 2010 11/2/10 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 19

20 CptS 401, Fall 2010 11/2/10 Quiz Question 9 Answer D. See p. 426 20

21 CptS 401, Fall 2010 11/2/10 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 21

22 CptS 401, Fall 2010 11/2/10 Quiz Question 10 Answer A.(See p. 427) What was the other major software error? 22

23 CptS 401, Fall 2010 11/2/10 Discussion Exercise Assignments 8.36: – Hospital that used machine Prosecuting attorney: Error 404, Discotech, Tier III, Pac4, 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, SkyBlue, iTeam 23


Download ppt "CptS 401, Fall 2010 11/2/10 Chapter 8: Errors, Failures, and Risk See Dilbert cartoons about errors, failures, and risk:"

Similar presentations


Ads by Google