Can We Trust the Computer?

Slides:



Advertisements
Similar presentations
A Gift of Fire, 2edChapter 4: Can We Trust the Computer?1 PowerPoint ® Slides to Accompany A Gift of Fire : Social, Legal, and Ethical Issues for Computers.
Advertisements

Social Implications of a Computerized Society Computer Errors Instructor: Oliver Schulte Simon Fraser University.
CS 4001Mary Jean Harrold1 High Cost of Software Failure Denver Airport Baggage System (1995): $280M Ariane 5 Explosion (1996): $7B Mars Rover (2004): Unknown.
Learning Objectives LO1 Describe the current audit environment, including developments in regulatory oversight and provincial regulation of public accountants.
Slides prepared by Cyndi Chie and Sarah Frye. Fourth edition revisions by Sharon Gray. A Gift of Fire Fourth edition Sara Baase Chapter 8: Errors, Failures,
1 Basic Definitions: Testing What is software testing? Running a program In order to find faults a.k.a. defects a.k.a. errors a.k.a. flaws a.k.a. faults.
Reliability and Safety Lessons Learned. Ways to Prevent Problems Good computer systems Good computer systems Good training Good training Accountability.
A Gift of Fire Third edition Sara Baase
9.401 Auditing Chapter 1 Introduction. Definition of Auditing The accumulation and evaluation The accumulation and evaluation Of evidence about information.
A Gift of Fire Third edition Sara Baase
Software Engineering Code Of Ethics And Professional Practice
Accounting Information Systems: An Overview
©Ian Sommerville 2006Critical Systems Slide 1 Critical Systems Engineering l Processes and techniques for developing critical systems.
Lecture 1.
Economic Systems.
Software Dependability CIS 376 Bruce R. Maxim UM-Dearborn.
Ethics and Social Responsibility McGraw-Hill/Irwin Contemporary Management, 5/e Copyright © 2008 The McGraw-Hill Companies, Inc. All rights reserved.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 24 Slide 1 Critical Systems Validation 1.
Ethical and Social...J.M.Kizza 1 Module 8: Software Issues: Risks and Liabilities Definitions Causes of Software Failures Risks Consumer Protection Improving.
Chapter 1- Introduction
ENTREPRENEURS IN A MARKET ECONOMY
University of Palestine software engineering department Testing of Software Systems Fundamentals of testing instructor: Tasneem Darwish.
University of Palestine software engineering department Testing of Software Systems Fundamentals of testing instructor: Tasneem Darwish.
(Using Clip Art to Help Argue That) Certifying Software Professionals (is the Wave of the Future) Brian Demers February 24, 2000 CS 99 Prof. Kotz.
Chapter 8: Errors, Failures, and Risk
1 Can We Trust the Computer? What Can Go Wrong? Case Study: The Therac-25 Increasing Reliability and Safety Perspectives on Failures, Dependence, Risk,
Verification and Validation Overview References: Shach, Object Oriented and Classical Software Engineering Pressman, Software Engineering: a Practitioner’s.
Slides prepared by Cyndi Chie and Sarah Frye1 A Gift of Fire Third edition Sara Baase Chapter 8: Errors, Failures, and Risks.
Educating Engineers in Sustainability Dr. Carol Boyle International Centre for Sustainability Engineering and Research University of Auckland.
1 Software Testing and Quality Assurance Lecture 33 – Software Quality Assurance.
Chapter 1 Accounting Information Systems: An Overview Copyright © 2012 Pearson Education 1-1.
1 Bruce Bowhill University of Portsmouth ISBN: © 2008 John Wiley & Sons Ltd.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 3 Slide 1 Critical Systems 1.
CS 4001Mary Jean Harrold 1 Can We Trust the Computer?
Chapter 1 Accounting Information Systems: An Overview Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 1-1.
Chapter 1 Accounting Information Systems: An Overview Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 1-1.
Prime Responsibility for Radiation Safety
Environmental Management System Definitions
A Gift of Fire, 2edChapter 4: Can We Trust the Computer?1 Can We Trust the Computer?
Risk Management & Corporate Governance 1. What is Risk?  Risk arises from uncertainty; but all uncertainties do not carry risk.  Possibility of an unfavorable.
CS 4001D Spring 2004Mary Jean Harrold1 Class 9 ŸQuestions, comments ŸOn-line discussion ŸTerm paper proposal ŸTherac-25 paper ŸQuick Quiz at end ŸAssign.
Tim Walden Section: 004 NO!  Consumers have no legal alternative over defective software they buy off the shelf because of restrictions on liabilities.
[Hayes, Dassen, Schilder and Wallage, Principles of Auditing An Introduction to ISAs, edition 2.1] © Pearson Education Limited 2007 Slide 7.1 Internal.
Software Defects.
IT Risks and Controls Revised on Content Internal Control  What is internal control?  Objectives of internal controls  Types of internal controls.
Copyright © 2012 Pearson Education, Inc. All rights reserved. Chapter 4 The Ethics of Manufacturing and Marketing.
Chapter 1: Fundamental of Testing Systems Testing & Evaluation (MNN1063)
CS 4001Mary Jean Harrold1 Class 20 ŸSoftware safety ŸRest of semester Ÿ11/1 (Thursday) Term paper approach due Ÿ11/13 (Tuesday) Assignment 8 on software.
Chapter 1- Introduction Lecture 1. Topics covered  Professional software development  What is meant by software engineering.  Software engineering.
Software Engineering Lecture # 1.
Doc.JUDr.Soňa Skulová, Ph.D. Principles of Good Governance.
Chapter 8: Errors, Failures, and Risk Zach Archer Daniel O’Hara Eric Strittmatter.
Can We Trust the Computer? FIRE, Chapter 4. What Can Go Wrong? What are the risks and reasons for computer failures? How much risk must or should we accept?
The Individual, The Government, and Mixed Markets Limited Government.
FUNDAMENTALS OF COMPUTER SYSTEMS Lesson 1. Starter What is the difference between hardware and software?
CS220:INTRODUCTION TO SOFTWARE ENGINEERING CH1 : INTRODUCTION 1.
CompSci 280 S Introduction to Software Development

Regression Testing with its types
Testing and Debugging PPT By :Dr. R. Mall.
Chapter 1- Introduction
A Gift of Fire Third edition Sara Baase
PowerPoint® Slides to Accompany
Week 13: Errors, Failures, and Risks
Reliability and Safety
Computer in Safety-Critical Systems
Internal Control Internal control is the process designed and affected by owners, management, and other personnel. It is implemented to address business.
A Gift of Fire Third edition Sara Baase
Presentation transcript:

Can We Trust the Computer? Mary Jean Harrold

Quick Quiz Name List and briefly describe two cases, discussed in the chapter (other than the Therac case), where insufficient testing was a factor in an error or failure. List and briefly describe one case, discussed in the chapter (other than the Therac case), where lack of accounting for environmental factors contributed to an error or failure. Describe one principle of human-interface design that is particularly important in safety-critical systems. List and briefly describe two of the many responsibilities of technical professionals in developing software. Mary Jean Harrold

High Cost of Software Failure Denver Airport Baggage System (1995): $280M Ariane 5 Explosion (1996): $7B Northeast Blackout (2003): $7M-$10M Mars Rover (2004): Unknown cost Software bugs are costing the U.S. economy an estimated $59.5 billion each year. Improvements in testing, debugging, and maintenance could reduce this cost by about a third, or $22.5 billion. (from NIST Estimated Planning Report 02-3) Mary Jean Harrold

What Roles Do We Play? Computer user Computer professional understand limitations of computers, need for proper training and responsible use recognize that, as in other areas, there are good products and bad products Computer professional studying computer failures helps us become better professionals (e.g., systems designer, programmers, technical support professional, etc.). even if not in these fields, will benefit from understanding sources and consequences of failures Educated member of society many personal decisions or social, legal, and political decisions may depend on our understanding of risks of computer system failures could face issues of computing technology on a jury, lobbying for legislation, or deciding whether to use an experimental medical device Mary Jean Harrold

What Can Go Wrong? What are risks for computer failures? Causes: Database accuracy: similar names, all automatic, overconfidence in data, errors in data entry, failure to update and correct, lack of accountability Inadequate or no testing after changes, upgrades No backup for intervention No accounting for environment factors Third-party software Reuse of existing software Insufficient time for development and testing Changes in specifications Mary Jean Harrold

What Can Go Wrong? What are reasons for computer failures? Causes: Database accuracy: similar names, all automatic, overconfidence in data, errors in data entry, failure to update and correct, lack of accountability Inadequate or no testing after changes, upgrades No backup for intervention No accounting for environment factors Third-party software Reuse of existing software Insufficient time for development and testing Changes in specifications Mary Jean Harrold

What Can Go Wrong? How much risk must or should we accept? Mary Jean Harrold

Categories of Computer Errors and Failures Computer problems can be organized in many different ways. GF uses the following categories: Problems for individuals System failures that affect large numbers of people Problems in safety-critical applications that could injure or kill people Mary Jean Harrold

Professional Responsibilities What are they? Mary Jean Harrold

Professional Techniques Software engineering has grown up around the principles of developing safe, efficient, and reliable software systems Software engineers working on safety-critical applications need special training (Leveson—we can learn from engineers’ experience in building safe electromechanical systems) Most software is not safe enough for safety-critical applications Accidents not prevented from technological fixes alone (no complete automated system will work) For safety-critical systems, expert control of development and operation is necessary Mary Jean Harrold

Redundancy and Self-Checking Critical applications should be redundant e.g., Space shuttle used four identical but independent computer systems—checked against each other most network infrastructures highly redundant. Complex systems can collect information on their own activity for use in diagnosing and correcting errors (instrument to monitor the application.) but sometimes the collection of systems themselves can fail Mary Jean Harrold

Testing What is the purpose of testing? Mary Jean Harrold

Testing Adequate and well-planned testing is essential. Test suites should be developed that exercise a program in all likely ways it will be used (and even unusual ways) but this is impossible. Thus, even if well tested, unforeseen set of circumstances could cause a failure. Testing only guarantees correctness for those inputs, environments, etc. executed. What other ways can be used to gain confidence in a system? Mary Jean Harrold

A Deeper Problem…. Deeper problem of “under engineered systems” Such systems are so complex, use such new techniques, or are operating in such new ways that significant risk is inevitable—e.g., space shuttle Systems are experimental systems. Although good management and design practices must be followed with these systems, risk cannot be eliminated. Mary Jean Harrold

Law and Regulation Criminal and civil penalties are always available for computing systems that fail and cause harm. But this is after the fact. Retail sellers of computing hardware usually provide warranties. However, software is usually sold “as-is.” What should the law be? Should companies be required by law to pay for bugs (and in what way?) or should they be protected? Safety-critical applications are a special case. Perhaps they need FDA-like regulation? Do any of them have FDA-like regulation? Mary Jean Harrold

Professional Licensing Software development professionals could be licensed (like engineers or architects). Licensing typically involves specific training, passing of competency exams, ethical requirements, and continuing education. But sometimes licensing is used to protect the status-quo rather than to provide better and more ethical service. Economic analysis shows that one effect of licensing is to reduce the number of practitioners in a field and keep prices and income higher than they would otherwise be. What is the current status of software-engineering licensing? Mary Jean Harrold

Discussion Are we too dependent on computers? How does modeling help improve reliability? What are the problems and risks in modeling? Who are the “good guys”—those people or organizations that make systems safer or reduce negative consequences of errors? When testing usually produces no failures, managers want to reduce the testing performed. Do you agree or disagree with this approach? Mary Jean Harrold

Discussion How many of you have tried hand gliding or bungee jumping? How many of you would ride on a computer controlled train that had no human driver? How many of you would ride on a computer controlled train that had no human, on-board pilot? How many of you would be among the first to get a computer chip implanted in your brain to aid in memory or computation? Mary Jean Harrold

Discussion Which models do you think would produce accurate results? Less reliable? Why? Models that predict the position of the moon in relation to the earth 30 years from now Models that predict the speed of a new racing boat hull design under specified wind conditions. Models that predict the effect of an income tax change on government revenue. Mary Jean Harrold