Docsity

Why Software Engineering-Software Engineering-Lecture Slides, Slides of Software Engineering

Toggle sidebar
bg1
Why Software Engineering?
๏‚—Software development is hard !
๏‚—Important to distinguish :
๏‚—โ€œeasyโ€ systems (one developer, one user,
experimental use only)
๏‚—โ€œhardโ€ systems (multiple developers, multiple users,
products)
๏‚—Experience with โ€œeasyโ€ systems is misleading
๏‚—Single person techniques do not scale up
๏‚—Analogy with bridge building:
๏‚—Over a stream = easy, one person job
๏‚—Over River Severn โ€ฆ ? (the techniques do not scale)
1 COMP201 - Software Engineering
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e

Partial preview of the text

Download Why Software Engineering-Software Engineering-Lecture Slides and more Slides Software Engineering in PDF only on Docsity!

Why Software Engineering?

๏‚— Software development is hard!

๏‚— Important to distinguish :

๏‚— โ€œeasyโ€ systems ( one developer, one user, experimental use only ) ๏‚— โ€œhardโ€ systems ( multiple developers, multiple users, products )

๏‚— Experience with โ€œeasyโ€ systems is misleading

๏‚— Single person techniques do not scale up

๏‚— Analogy with bridge building:

๏‚— Over a stream = easy, one person job ๏‚— Over River Severn โ€ฆ? ( the techniques do not scale)

Why Software Engineering?

๏‚— The problem is complexity

๏‚— There are many sources of complexity, but size is key:

๏‚— The Linux kernel contains >13 million lines of code ๏‚— Windows XP contains >40 million lines of code

Software engineering is about managing this

complexity.

Teaching Method

๏‚— All lecture notes will be made available in printed

form in two sets as we go through the course:

๏‚— Assignments will also be posted on the home

page. There will be two assignments each worth

10% of the COMP201 grade.

๏‚— If you have any questions or problems, my office

hours for COMP201 are: Monday 12:00-14:

(please make an appointment by email to arrange a

time)

COMP201 Practicals

๏‚— Practical slots: (from WEEK FOUR)

๏‚— Monday, 10:00-12: ๏‚— Monday, 15:00-17: ๏‚— Tuesday, 15:00-17: ๏‚— Friday, 13:00-15:

๏‚— COMP 201

๏‚— Assignment 1 โ€“ Requirements Engineering Weeks 4-7 (4 weeks) ๏‚— Assignment 2 โ€“ Modelling with UML Weeks 8-11 (4 weeks)

Outline Syllabus

๏‚— Introduction to Software Engineering

๏‚— Software models

๏‚— Software requirements

๏‚— Formal Specification

๏‚— Software Design and Implementation

๏‚— UML (Unified Modeling Language)

๏‚— Software verification, validation and testing

๏‚— Management of Software Projects & Cost Estimation

Software Engineering

๏‚— The economies of ALL developed nations are

dependent on software.

๏‚— More and more systems are software controlled

๏‚— Software engineering is concerned with theories,

methods and tools for professional software development.

๏‚— Some software can be classified as critical (air traffic

control, medical software, nuclear reactor control software..).

FAQs about Software Engineering

๏‚— What is:

๏‚— software? ๏‚— a software process? ๏‚— software engineering? ๏‚— a software process model?

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

๏‚— Software products may be

๏‚— Generic - developed to be sold to a range of different customers ๏‚— Bespoke (custom) - developed for a single customer according to their specification

What is the Difference between Software

Engineering and Computer Science?

Computer Science Software Engineering

is concerned with

Computer science theories are currently insufficient to act as a complete underpinning for software engineering, BUT it is a foundation for practical aspects of software engineering

๏ƒ˜ theory ๏ƒ˜ fundamentals

Algorithms, date structures, complexity theory, numerical methods

๏ƒ˜ the practicalities of developing and delivering useful software

SE deals with practical problems in complex software products

Software Engineering Body of Knowledge

Source: http://www.sei.cmu.edu/pub/documents/99.reports/pdf/99tr004.pdf

Software Myths

๏‚— Management myths

๏‚— Standards and procedures for building software ๏‚— Add more programmers if behind schedule

๏‚— Customer myths

๏‚— A general description of objectives enough to start coding ๏‚— Requirements may change as the software is flexible

๏‚— Practitioner myths

๏‚— Task accomplished when the program works ๏‚— Quality assessment when the program is running ๏‚— Working program the only project deliverable

Major Software Failures

๏‚— Therac-25 (1985-1987) : six people overexposed during treatments for cancer

๏‚— Taurus (1993) : the planned automatic transaction settlement system for London Stock Exchange cancelled after five years of development

๏‚— Ariane 5 (1996) : rocket exploded soon after its launch due error conversion (16 floating point into 16- bit integer leading to an exception)

๏‚— The Mars Climate Orbiter : assumed to be lost by NASA officials (1999): different measurement systems (Imperial and metric)

What is a Software Process?

๏‚— A Software Process is a set of activities whose goal is the

development or evolution of software

๏‚— Fundamental activities in all software processes are:

๏‚— Specification - what the system should do and its development constraints ๏‚— Development - production of the software system (design and implementation) ๏‚— Validation - checking that the software is what the customer wants ๏‚— Evolution - changing the software in response to changing demands

What is a Software Process Model?

A Software Process Model is a simplified representation of a software process , presented from a specific perspective

๏‚— Examples of process perspectives: Workflow perspective - represents inputs, outputs and dependencies Data-flow perspective - represents data transformation activities Role/action perspective - represents the roles/activities of the people involved in the software process

๏‚— Generic process models ๏‚— Waterfall ๏‚— Evolutionary development ๏‚— Formal transformation ๏‚— Integration from reusable components