SlideShare a Scribd company logo
1
Chapter 1: Introduction to
Software Engineering
Chapter 1 in Software Engineering Book
2
Overview
 Learning Objectives.
What is software engineering?
 Why is software engineering important?
3
By the end of this chapter, you will...
Understand what software engineering is.
 Understand why software engineering is important.
 Know answers to key questions related to the software
engineering discipline.
4
Activity
Think about all the devices and systems
that you encounter in your everyday life
which have software controlling them…
List as many as you can
Virtually all countries
depend on complex
computer-based
systems.
5
Why is Software Engineering important?
Complex systems need a disciplined approach for designing,
developing and managing them.
6
Software Development Crises
Projects were:
β€’ Late.
β€’ Over budget.
β€’ Unreliable.
β€’ Difficult to maintain.
β€’ Performed poorly.
7
Software errors….the cost
Errors in computer software can have
devastating effects.
8
Software Crisis
Example 1: 2009,Computer glitch delays flights
Saturday 3rd October 2009-London, England (CNN)
β€’ Dozens of flights from the UK were delayed Saturday after
a glitch in an air traffic control system in Scotland, but the
problem was fixed a few hours later.
β€’ The agency said it reverted to backup equipment as
engineering worked on the system.
β€’ The problem did not create a safety issue but could cause
delays in flights.
β€’ Read more at:
http://edition.cnn.com/2009/WORLD/europe/10/03/uk.fl
ights.delayed
9
Software Crisis
Example 2: Ariane 5 Explosion
β€’ European Space Agency spent 10 years and $7
billion to produce Ariane 5.
β€’ Crash after 36.7 seconds.
β€’ Caused by an overflow error. Trying to store a 64-bit
number into a 16-bit space.
β€’ Watch the video:
http://www.youtube.com/watch?v=z-r9cYp3tTE
10
Software Crisis
Example 3: 1992, London Ambulance Service
β€’ Considered the largest ambulance service in the
world.
β€’ Overloaded problem.
β€’ It was unable to keep track of the ambulances
and their statuses. Sending multiple units to some
locations and no units to other locations.
β€’ Generates many exceptions messages.
β€’ 46 deaths.
11
Therefore…
A well-disciplined approach to software
development and management is
necessary. This is called engineering.
12
Software Engineering
 The term software engineering first appeared in the 1968 NATO
Software Engineering Conference and was meant to provoke
thought regarding what was then called the β€œsoftware crisis”..
 β€œ.. An engineering discipline that is concerned with all aspects of
software production from the early stages of system specification
to maintaining the system after it has gone into use.” Sommerville,
pg.7
Software
Programs
Documentation
Data
13
What is Software?
System
Documentation
User
Documentation
14
Types of Software
β€’ Generic products.
β€’ Stand-alone systems that are marketed and sold to any customer who wishes to buy
them.
β€’ Examples – PC software such as graphics programs, project management tools;
CAD software; software for specific markets such as appointments systems for
dentists.
β€’ The specification of what the software should do is owned by the software developer
and decisions on software change are made by the developer.
β€’ Customized or bespoke products.
β€’ Software that is commissioned by a specific customer to meet their own needs.
β€’ Examples – embedded control systems, air traffic control software, traffic monitoring
systems.
β€’ The specification of what the software should do is owned by the customer for the
software and they make decisions on software changes that are required.
15
Software Engineering vs. Computer Science
β€œComputer science is no more about computers than
astronomy is about telescopes.” Edsger Dijkstra
Computer Science
β€’ Theory.
β€’ Fundamentals.
Software Engineering
β€’ Practicalities of software
design, development and
delivery.
16
Software Engineering vs. Systems Engineering
Systems Engineering:
 Interdisciplinary engineering field (computer, software, and process eng.).
 Focuses on how complex engineering projects should be designed and managed.
Systems Engineering
β€’ All aspects of computer-
based systems
development: HW + SW +
Process.
β€’ Older than SWE.
Software Engineering
β€’ Deals with the design,
development and delivery
of SW.
β€’ Is part of Systems
Engineering.
17
Question Answer
What is software? Computer programs and associated documentation. Software
products may be developed for a particular customer or may
be developed for a general market.
What are the attributes of good software? Good software should deliver the required functionality and
performance to the user and should be maintainable,
dependable and usable.
What is software engineering? Software engineering is an engineering discipline that is
concerned with all aspects of software production.
What are the fundamental software
engineering activities?
Software specification, software development, software
validation and software evolution.
What is the difference between software
engineering and computer science?
Computer science focuses on theory and fundamentals;
software engineering is concerned with the practicalities of
developing and delivering useful software.
What is the difference between software
engineering and system engineering?
System engineering is concerned with all aspects of
computer-based systems development including hardware,
software and process engineering. Software engineering is
part of this more general process.
Frequently asked questions about software
engineering
18
Frequently asked questions about software
engineering
Question Answer
What are the key challenges facing software
engineering?
Coping with increasing diversity, demands for reduced delivery
times and developing trustworthy software.
What are the costs of software engineering? Roughly 60% of software costs are development costs, 40% are
testing costs. For custom software, evolution costs often
exceed development costs.
What are the best software engineering
techniques and methods?
While all software projects have to be professionally managed
and developed, different techniques are appropriate for
different types of system. For example, games should always be
developed using a series of prototypes whereas safety critical
control systems require a complete and analyzable
specification to be developed. You can’t, therefore, say that
one method is better than another.
What differences has the web made to
software engineering?
The web has led to the availability of software services and the
possibility of developing highly distributed service-based
systems. Web-based systems development has led to
important advances in programming languages and software
reuse.
19
What is a Software Process?
 Activities and results that produce a software product:
SW Process Activity What is going on there?
Specification
What does the customer need?
What are the constraints?
Development Design & programming.
Validation Checking whether it meets requirements.
Evolution Modifications (e.g. customer/market).
20
What is a Software Process Model?
 Description of the software process that represents one view, such
as the activities, data or roles of people involved.
Examples of views Focus on…
Workflow
Activities = human actions.
What is input, output, and dependencies.
Dataflow
Activities = transformations of information.
How the input is transformed into output.
Role/Action
What is the role of people involved in each step of
the process?
21
Software Process Models
Waterfall approach Iterative development
Component-Based
Software Engineering CBSE
assembled form existing
components
22
The Cost of Software Engineering
 Depends on:
 The process used, and
 The type of software being developed.
 Each generic approach has a different profile of cost distribution.
 Roughly 60% of costs are development costs, 40% are testing costs.
 For custom software, evolution costs often exceed development
costs.
23
Cost distribution
Custom software development (Bespoke)
Software Model
Cost units
Cost distribution
Software development activity
Waterfall Model
0 25 50 75 100
Specification Design Development Integration and testing
Iterative Development
0 25 50 75 100
Specification Iterative Development System testing
Component-based Software Engineering
0 25 50 75 100
Specification Development Integration and testing
Development and evolution costs for long-lifetime systems
0 100 200 300 400
System development System evolution
24
Cost distribution
Generic software development
Product development costs
0 25 50 75 100
Specification Development System testing
25
What is CASE?
 Computer Aided Software Engineering.
 Programs that support:
 Requirements analysis.
 System modeling.
 Debugging.
 Testing.
26
Attributes of good software
 Functional attributes (performance; what the system does).
 Non-functional attributes (quality; how the system does it).
Product Characteristic Description
Maintainability Evolution qualities such as Testability, extensibility.
Dependability Reliability, security, safety.
Efficiency Response time, processing time, memory utilization.
Usability Easy to learn how to use the system by target users.
Efficient to use the system by users to accomplish a task.
Satisfying to use by intended users.
27
Activity
 What are the key attributes for..
Interactive game Banking system
Cardiac monitor in an ICU
unit
Players, score, scenes,
theme.
Client accounts, stocks
bonds, money transfers.
heart rate, temperature,
blood pressure.
28
Challenges facing software engineering
Challenge Why? Software needs to ..
Heterogeneity
Different computers, different
platforms, different support systems.
Cope with this variability.
Delivery
Businesses are more responsive
οƒ  supporting software needs to
evolve as rapidly.
Be delivered in shorter time
without compromising quality.
Trust
Software is a part of many aspects of
our lives (work, study, leisure).
Demonstrate that it can be
trusted by users.
29
References
οƒ˜ PRESS&SUN-BULLETIN, The Binghamton Press Co., Binghamton, NY, October 1,1999.
οƒ˜ β€œSoftware Hell: Is there a way out?”, BUSINESS WEEK, December 6, 1999.
οƒ˜ IEEE Standards Collection: Software Engineering, IEEE standard 610.12-1990, IEEE 1993.
οƒ˜ Sommerville, Ian β€œSoftware Engineering”, 9th edition, Addison-Wesley.

More Related Content

PPT
Ian Sommerville, Software Engineering, 9th Edition Ch1
PPT
SE-Lecture1.ppt
PDF
lecture 1.pdf
PPT
ch1_introduction.pptgtsytrsytryhtrhgrreqreedwds
PDF
SE 18CS35 Module 1.pdf
PPTX
SE chp1 update and learning management .pptx
PPTX
SE-L1-Introduction-NJ.pptx
PDF
Lecture 1- Introduction to SE Lecture 1- Introduction to SE
Ian Sommerville, Software Engineering, 9th Edition Ch1
SE-Lecture1.ppt
lecture 1.pdf
ch1_introduction.pptgtsytrsytryhtrhgrreqreedwds
SE 18CS35 Module 1.pdf
SE chp1 update and learning management .pptx
SE-L1-Introduction-NJ.pptx
Lecture 1- Introduction to SE Lecture 1- Introduction to SE

Similar to ch1_introduction (1).ppt (20)

PPTX
Software engineering is a branch of engineering focused on designing, develop...
PDF
An introduction to software
PDF
lecture01softwareengineering-151017024008-lva1-app6892.pdf
PPT
Introduction to Software Engineering
PPTX
Week1.pptx
PDF
sw1.pdf
PDF
PPT
Software engineering
PPTX
Software Engineering - Ch1 introduction
PPTX
Lecture-1-3.pptx
PDF
ch1introduction-141212095054-conversion-gate02.pdf
PPTX
Ch1 - Introduction
PPTX
What is software engineering
PPTX
PPTX
0273710133 pp01v2
PPT
Lecture1 (SE Introduction)
PDF
COMP401 Software Engineering: Introduction to Software Engineering
PPTX
Software Engineering PPT Unit I.pptx
PPTX
Ch1 Introduction to Software Engineeringpptx
Software engineering is a branch of engineering focused on designing, develop...
An introduction to software
lecture01softwareengineering-151017024008-lva1-app6892.pdf
Introduction to Software Engineering
Week1.pptx
sw1.pdf
Software engineering
Software Engineering - Ch1 introduction
Lecture-1-3.pptx
ch1introduction-141212095054-conversion-gate02.pdf
Ch1 - Introduction
What is software engineering
0273710133 pp01v2
Lecture1 (SE Introduction)
COMP401 Software Engineering: Introduction to Software Engineering
Software Engineering PPT Unit I.pptx
Ch1 Introduction to Software Engineeringpptx
Ad

Recently uploaded (20)

PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PPTX
international classification of diseases ICD-10 review PPT.pptx
PPTX
SAP Ariba Sourcing PPT for learning material
PDF
Paper PDF World Game (s) Great Redesign.pdf
PPTX
Funds Management Learning Material for Beg
PPTX
innovation process that make everything different.pptx
PDF
πŸ’° π”πŠπ“πˆ πŠπ„πŒπ„ππ€ππ†π€π πŠπˆππ„π‘πŸ’πƒ π‡π€π‘πˆ 𝐈𝐍𝐈 πŸπŸŽπŸπŸ“ πŸ’°
Β 
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
artificial intelligence overview of it and more
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PDF
The Internet -By the Numbers, Sri Lanka Edition
Β 
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
international classification of diseases ICD-10 review PPT.pptx
SAP Ariba Sourcing PPT for learning material
Paper PDF World Game (s) Great Redesign.pdf
Funds Management Learning Material for Beg
innovation process that make everything different.pptx
πŸ’° π”πŠπ“πˆ πŠπ„πŒπ„ππ€ππ†π€π πŠπˆππ„π‘πŸ’πƒ π‡π€π‘πˆ 𝐈𝐍𝐈 πŸπŸŽπŸπŸ“ πŸ’°
Β 
522797556-Unit-2-Temperature-measurement-1-1.pptx
presentation_pfe-universite-molay-seltan.pptx
artificial intelligence overview of it and more
Slides PPTX World Game (s) Eco Economic Epochs.pptx
Design_with_Watersergyerge45hrbgre4top (1).ppt
Decoding a Decade: 10 Years of Applied CTI Discipline
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
WebRTC in SignalWire - troubleshooting media negotiation
Introuction about WHO-FIC in ICD-10.pptx
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
Module 1 - Cyber Law and Ethics 101.pptx
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
The Internet -By the Numbers, Sri Lanka Edition
Β 
Ad

ch1_introduction (1).ppt

  • 1. 1 Chapter 1: Introduction to Software Engineering Chapter 1 in Software Engineering Book
  • 2. 2 Overview  Learning Objectives. What is software engineering?  Why is software engineering important?
  • 3. 3 By the end of this chapter, you will... Understand what software engineering is.  Understand why software engineering is important.  Know answers to key questions related to the software engineering discipline.
  • 4. 4 Activity Think about all the devices and systems that you encounter in your everyday life which have software controlling them… List as many as you can Virtually all countries depend on complex computer-based systems.
  • 5. 5 Why is Software Engineering important? Complex systems need a disciplined approach for designing, developing and managing them.
  • 6. 6 Software Development Crises Projects were: β€’ Late. β€’ Over budget. β€’ Unreliable. β€’ Difficult to maintain. β€’ Performed poorly.
  • 7. 7 Software errors….the cost Errors in computer software can have devastating effects.
  • 8. 8 Software Crisis Example 1: 2009,Computer glitch delays flights Saturday 3rd October 2009-London, England (CNN) β€’ Dozens of flights from the UK were delayed Saturday after a glitch in an air traffic control system in Scotland, but the problem was fixed a few hours later. β€’ The agency said it reverted to backup equipment as engineering worked on the system. β€’ The problem did not create a safety issue but could cause delays in flights. β€’ Read more at: http://edition.cnn.com/2009/WORLD/europe/10/03/uk.fl ights.delayed
  • 9. 9 Software Crisis Example 2: Ariane 5 Explosion β€’ European Space Agency spent 10 years and $7 billion to produce Ariane 5. β€’ Crash after 36.7 seconds. β€’ Caused by an overflow error. Trying to store a 64-bit number into a 16-bit space. β€’ Watch the video: http://www.youtube.com/watch?v=z-r9cYp3tTE
  • 10. 10 Software Crisis Example 3: 1992, London Ambulance Service β€’ Considered the largest ambulance service in the world. β€’ Overloaded problem. β€’ It was unable to keep track of the ambulances and their statuses. Sending multiple units to some locations and no units to other locations. β€’ Generates many exceptions messages. β€’ 46 deaths.
  • 11. 11 Therefore… A well-disciplined approach to software development and management is necessary. This is called engineering.
  • 12. 12 Software Engineering  The term software engineering first appeared in the 1968 NATO Software Engineering Conference and was meant to provoke thought regarding what was then called the β€œsoftware crisis”..  β€œ.. An engineering discipline that is concerned with all aspects of software production from the early stages of system specification to maintaining the system after it has gone into use.” Sommerville, pg.7
  • 14. 14 Types of Software β€’ Generic products. β€’ Stand-alone systems that are marketed and sold to any customer who wishes to buy them. β€’ Examples – PC software such as graphics programs, project management tools; CAD software; software for specific markets such as appointments systems for dentists. β€’ The specification of what the software should do is owned by the software developer and decisions on software change are made by the developer. β€’ Customized or bespoke products. β€’ Software that is commissioned by a specific customer to meet their own needs. β€’ Examples – embedded control systems, air traffic control software, traffic monitoring systems. β€’ The specification of what the software should do is owned by the customer for the software and they make decisions on software changes that are required.
  • 15. 15 Software Engineering vs. Computer Science β€œComputer science is no more about computers than astronomy is about telescopes.” Edsger Dijkstra Computer Science β€’ Theory. β€’ Fundamentals. Software Engineering β€’ Practicalities of software design, development and delivery.
  • 16. 16 Software Engineering vs. Systems Engineering Systems Engineering:  Interdisciplinary engineering field (computer, software, and process eng.).  Focuses on how complex engineering projects should be designed and managed. Systems Engineering β€’ All aspects of computer- based systems development: HW + SW + Process. β€’ Older than SWE. Software Engineering β€’ Deals with the design, development and delivery of SW. β€’ Is part of Systems Engineering.
  • 17. 17 Question Answer What is software? Computer programs and associated documentation. Software products may be developed for a particular customer or may be developed for a general market. What are the attributes of good software? Good software should deliver the required functionality and performance to the user and should be maintainable, dependable and usable. What is software engineering? Software engineering is an engineering discipline that is concerned with all aspects of software production. What are the fundamental software engineering activities? Software specification, software development, software validation and software evolution. What is the difference between software engineering and computer science? Computer science focuses on theory and fundamentals; software engineering is concerned with the practicalities of developing and delivering useful software. What is the difference between software engineering and system engineering? System engineering is concerned with all aspects of computer-based systems development including hardware, software and process engineering. Software engineering is part of this more general process. Frequently asked questions about software engineering
  • 18. 18 Frequently asked questions about software engineering Question Answer What are the key challenges facing software engineering? Coping with increasing diversity, demands for reduced delivery times and developing trustworthy software. What are the costs of software engineering? Roughly 60% of software costs are development costs, 40% are testing costs. For custom software, evolution costs often exceed development costs. What are the best software engineering techniques and methods? While all software projects have to be professionally managed and developed, different techniques are appropriate for different types of system. For example, games should always be developed using a series of prototypes whereas safety critical control systems require a complete and analyzable specification to be developed. You can’t, therefore, say that one method is better than another. What differences has the web made to software engineering? The web has led to the availability of software services and the possibility of developing highly distributed service-based systems. Web-based systems development has led to important advances in programming languages and software reuse.
  • 19. 19 What is a Software Process?  Activities and results that produce a software product: SW Process Activity What is going on there? Specification What does the customer need? What are the constraints? Development Design & programming. Validation Checking whether it meets requirements. Evolution Modifications (e.g. customer/market).
  • 20. 20 What is a Software Process Model?  Description of the software process that represents one view, such as the activities, data or roles of people involved. Examples of views Focus on… Workflow Activities = human actions. What is input, output, and dependencies. Dataflow Activities = transformations of information. How the input is transformed into output. Role/Action What is the role of people involved in each step of the process?
  • 21. 21 Software Process Models Waterfall approach Iterative development Component-Based Software Engineering CBSE assembled form existing components
  • 22. 22 The Cost of Software Engineering  Depends on:  The process used, and  The type of software being developed.  Each generic approach has a different profile of cost distribution.  Roughly 60% of costs are development costs, 40% are testing costs.  For custom software, evolution costs often exceed development costs.
  • 23. 23 Cost distribution Custom software development (Bespoke) Software Model Cost units Cost distribution Software development activity Waterfall Model 0 25 50 75 100 Specification Design Development Integration and testing Iterative Development 0 25 50 75 100 Specification Iterative Development System testing Component-based Software Engineering 0 25 50 75 100 Specification Development Integration and testing Development and evolution costs for long-lifetime systems 0 100 200 300 400 System development System evolution
  • 24. 24 Cost distribution Generic software development Product development costs 0 25 50 75 100 Specification Development System testing
  • 25. 25 What is CASE?  Computer Aided Software Engineering.  Programs that support:  Requirements analysis.  System modeling.  Debugging.  Testing.
  • 26. 26 Attributes of good software  Functional attributes (performance; what the system does).  Non-functional attributes (quality; how the system does it). Product Characteristic Description Maintainability Evolution qualities such as Testability, extensibility. Dependability Reliability, security, safety. Efficiency Response time, processing time, memory utilization. Usability Easy to learn how to use the system by target users. Efficient to use the system by users to accomplish a task. Satisfying to use by intended users.
  • 27. 27 Activity  What are the key attributes for.. Interactive game Banking system Cardiac monitor in an ICU unit Players, score, scenes, theme. Client accounts, stocks bonds, money transfers. heart rate, temperature, blood pressure.
  • 28. 28 Challenges facing software engineering Challenge Why? Software needs to .. Heterogeneity Different computers, different platforms, different support systems. Cope with this variability. Delivery Businesses are more responsive οƒ  supporting software needs to evolve as rapidly. Be delivered in shorter time without compromising quality. Trust Software is a part of many aspects of our lives (work, study, leisure). Demonstrate that it can be trusted by users.
  • 29. 29 References οƒ˜ PRESS&SUN-BULLETIN, The Binghamton Press Co., Binghamton, NY, October 1,1999. οƒ˜ β€œSoftware Hell: Is there a way out?”, BUSINESS WEEK, December 6, 1999. οƒ˜ IEEE Standards Collection: Software Engineering, IEEE standard 610.12-1990, IEEE 1993. οƒ˜ Sommerville, Ian β€œSoftware Engineering”, 9th edition, Addison-Wesley.