Lect 1 Intro
Lect 1 Intro
Instructor: Mehwish
OUTLINE
• Course outline
• Software
• Testing
• Software Testing
• Bug vs Error vs Fault
• Sources of problem
• Adverse Effects of Faulty Software
COURSE OUTLINE
Introduction
Software Testing
Software
• Defect • Failure
• Fault • Inconsistency
• Problem • Product
• Error Anomaly
• Incident • Product
• Incidence
Anomaly
• Feature
• Variance
Defective Software
• Evolution:
– Careless redevelopment or maintenance,
– introduction of new flaws in attempts to fix old flaws,
– incremental escalation to inordinate complexity.
Adverse Effects of
Faulty Software
• Communications:
– Loss or corruption of communication media,
– non delivery of data.
• Space Applications:
– Lost lives,
– launch delays.
• Safety-critical Applications:
– Death,
– injuries.
• Electric Power:
– Death,
– injuries,
– power outages,
– long-term health hazards (radiation).
Adverse Effects of Faulty
Software (Cont’d)
• Money Management:
– Fraud,
– violation of privacy,
– shutdown of stock exchanges and banks, negative
interest rates.
• Control of Elections:
– Wrong results (intentional or non-intentional).
• Control of Jails:
– Technology-aided escape attempts and successes,
– accidental release of inmates,
– failures in software controlled locks.
• Law Enforcement:
– False arrests and imprisonments.
Example
Bank Generosity (Cont’d)
• A Norwegian bank ATM consistently dispersed 10
times the amount required.
• Many people joyously joined the queues as the word
spread.
• A software flaw caused a UK bank to duplicate every
transfer payment request for half an hour. The bank
lost 2 billion British pounds!
• The bank eventually recovered the funds but lost half
a million pounds in potential interest.
Discussion …