Software Engineering COMP 201

Slides:



Advertisements
Similar presentations
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software processes 2.
Advertisements

Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Lectures 2 & 3 Software Processes.
Software Processes Modified by Randy K. Smith
Chap 2. Software Processes
Software Engineering Chapter 4 Software processes Ku-Yaw Chang Assistant Professor Department of Computer Science and Information.
What is software? Computer programs and associated documentation
Chapter 2 Software Processes (1/2) Yonsei University 2 nd Semester, 2014 Woo-Cheol Kim.
1 Chapter 2 Software Processes An overview of conventional software process models, Rational Unified Process, and CASE tools.
EE6421/ED5031Software Engineering Slide 1 Section # 2 (Read Sommerville Ch (3 or 4) and Pressman Ch 2) Software Processes.
Chapter 2 – Software Processes
Chapter 2 – Software Processes Lecture 1 1Chapter 2 Software Processes.
Chapter 2 – Software Processes Lecture 1 1Chapter 2 Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Software Processes Coherent sets of activities for specifying, designing, implementing and testing software systems.
Software Process Models
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 3Slide 1 Software Processes l Coherent sets of activities for specifying, designing, implementing.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 4 Slide 1 Software Process Models.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Process Models.
1 SWE Introduction to Software Engineering Lecture 5.
L ECTURE 2 S OFTWARE P ROCESSES 1. O BJECTIVES To describe outline process models for requirements engineering, software development, testing and evolution.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 Tools of Software Development l 2 types of tools used by software engineers:
Software Process Activities. Process activities Real software processes are inter-leaved sequences of technical, collaborative and managerial activities.
Chapter 3 Software Processes.
S/W Project Management Software Process Models. Objectives To understand  Software process and process models, including the main characteristics of.
Lecture 2 Software Processes CSC301-Winter 2011 Hesam C. Esfahani
Software Processes Sumber dari : cc.ee.ntu.edu.tw/~farn/courses/SE/ch4.ppt.
Software Processes. Objectives To introduce software process models To describe three generic process models and when they may be used To describe outline.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 1 Slide 1 Software Processes (Chapter 3)
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 CASE Computer-aided software engineering Excerpted from Ian Sommerville’s.
Software Processes lecture 8. Topics covered Software process models Process iteration Process activities The Rational Unified Process Computer-aided.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 3 Slide 1 Chapter 3 Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Chapter 2: Software Process Omar Meqdadi SE 2730 Lecture 2 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Software Processes Software and Its Engineering - adopted & adapted from I. Sommerville, 2004.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 3 Slide 1 Software Processes l Coherent sets of activities for specifying, designing,
Lecture 3 Software Engineering Models (Cont.)
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
SOFTWARE PROCESSES MUHAMMAD RIZWAN Fall Objectives  To introduce software process models  To describe three generic process models and when they.
An Introduction to Software Engineering
 Dr. Syed Noman Hasany.  Review of known methodologies  Analysis of software requirements  Real-time software  Software cost, quality, testing and.
4. Software Processes Software Engineering. Objectives To introduce software process models To describe three generic process models and when they may.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Chapter 2 – Software Processes Lecture 1 Chapter 2 Software Processes1.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Chapter 2 – Software Processes Lecture 1 1Chapter 2 Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
PI2134 Software Engineering IT Telkom.  Layered technology  Software Process  Generic Process (by Pressman)  Fundamental activities (by Sommerville)
Software Engineering, 8th edition. Chapter 4 1 Courtesy: ©Ian Sommerville 2006 FEB 13 th, 2009 Lecture # 5 Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
CS 310 Ch 4: Software Processes Software process: a set of activities that lead to a software system specification design and implementation validation.
1 SYS366 Week 2 - Lecture Visual Modeling and Process.
1 Process activities. 2 Software specification Software design and implementation Software validation Software evolution.
Laurea Triennale in Informatica – Corso di Ingegneria del Software I – A.A. 2006/2007 Andrea Polini II. Software Life Cycle.
Software engineering Software Processes.
Chapter3:Software Processes
CS 389 – Software Engineering
Software Process Activities.
Software Processes.
Chapter 2 – Software Processes
Tools of Software Development
An Overview of Software Processes
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 Tools of Software Development l 2 types of tools used by software engineers:
Chapter 2 Software Processes
Presentation transcript:

Software Engineering COMP 201 Lecturer: Sebastian Coope Ashton Building, Room G.18 E-mail: coopes@liverpool.ac.uk COMP 201 web-page: http://www.csc.liv.ac.uk/~coopes/comp201 Lecture 3 – Software Processes COMP201 - Software Engineering

Recap from Last Lecture: Generic Software Process Models The Waterfall Model Separate and distinct phases of specification and development Evolutionary Development Specification and development are interleaved Formal Systems Development (example - ASML) A mathematical system model is formally transformed to an implementation Reuse-Based Development The system is assembled from existing components COMP201 - Software Engineering

Software Specification Software Specification: The process of establishing what services are required and the constraints on the system’s operation and development Requirements Engineering Process Feasibility study Requirements elicitation and analysis Requirements specification Requirements validation COMP201 - Software Engineering

The Requirements Engineering Process COMP201 - Software Engineering

Software Design and Implementation The process of converting the system specification into an executable system Software design Design a software structure that realises the specification Tasks .. Design database, website design, data structures, communications protocols Implementation Translate this structure into an executable program The activities of design and implementation are closely related and may be inter-leaved COMP201 - Software Engineering

Design Process Activities Architectural design (separate web service modules) The sub-systems making up the system and their relationships are identified and documented. Abstract specification For each sub-system, an abstract specification of its operational constraints and services is produced. Interface design For each sub-system, an unambiguous interface with other sub-systems is designed and documented Formal specification may be used in this stage (we study this later) COMP201 - Software Engineering

Design Process Activities Component design Services are allocated to components and the interfaces of these components are designed Data structure design The data structures used in the system implementation are designed in detail and specified Algorithm design The algorithms used in components to provide services are designed and specified COMP201 - Software Engineering

An Example System Consider the scenario of developing a Coffee/drinks machine software What are the major sub-systems? Graphical display, cash handling, accounting, safety system, recipe handling, stock control How may we define an abstract specification for each? How do the different sub-systems interact? Can you define specifications for components/data structures and algorithms for one of the sub-systems? COMP201 - Software Engineering

COMP201 - Software Engineering

The Software Design Process COMP201 - Software Engineering

Models Graphical views of the operation/structure of the system Can be dynamic or static Why have models Formalizes the type and format of required information Easier to get the big picture than text documents Some, can be translated automatically to software implementation Can be tested for validity automatically COMP201 - Software Engineering

Design Methods Design (structured) methods are systematic approaches to developing a software design The design is usually documented as a set of graphical models Possible models (we study these in detail in later lectures) Data-flow model Entity-relation-attribute model (data base or class design) Structural model Object models A state transition model showing system states and triggers COMP201 - Software Engineering

Programming and Debugging Programming and Debugging consist of translating a design into a program and removing errors from that program Programming is usually personal activity - there is no generic programming process, but there are good programming practices and organisational standards to be followed. Programmers carry out some program testing to discover faults in the program and remove these faults in the debugging process COMP201 - Software Engineering

The Debugging Process COMP201 - Software Engineering

Debugging in real world Ideally the software fault can be re-produced at will Some software faults indicate problems with overall software design and require application re-design e.g. lack of thread safety If bugs hard or impossible to re-produce in test conditions Insert debug/test code embedded into product which logs and alerts in fault conditions Add patch code, which will help recover in fault conditions Example catching exceptions and logging COMP201 - Software Engineering

Software Validation Verification and validation is intended to show that a system conforms to its specification (verification) and meets the requirements of the system customer (validation) Involves checking and review processes and system testing System testing involves executing the system with test cases that are derived from the specification of the real data to be processed by the system COMP201 - Software Engineering

The Testing Process COMP201 - Software Engineering

Testing Stages Unit testing Module testing Individual components are tested Module testing Related collections of dependent components are tested Sub-system testing (merges with system testing) Modules are integrated into sub-systems and tested. The focus here should be on interface testing System testing Testing of the system as a whole. Testing of emergent properties Acceptance testing Testing with customer data to check that it is acceptable COMP201 - Software Engineering

Testing Phases COMP201 - Software Engineering

Software Evolution Software is inherently flexible and can change. As requirements change through changing business circumstances, the software that supports the business must also evolve and change Although there has been a demarcation between development and evolution (maintenance) this is increasingly irrelevant as fewer and fewer systems are completely new It is important to realise that maintenance costs are sometimes several times the initial development costs of the system. COMP201 - Software Engineering

System Evolution COMP201 - Software Engineering

Automated Process Support (CASE) Computer-aided software engineering (CASE) is software to support software development and evolution processes Activity automation: Graphical editors for system model development Data dictionary to manage design entities Graphical UI builder for user interface construction Bug/Issue management tools Version control management tools Debuggers to support program fault finding Automated translators to generate new versions of a program COMP201 - Software Engineering

Case Technology Case technology has led to significant improvements in the software process though not the order of magnitude improvements that were once predicted. Why is this? Software engineering requires creative thought - this is not readily automatable and the use of artificial intelligence to provide support for design has not been successful. Software engineering is a team activity and, for large projects, much time is spent in team interactions. CASE technology does not really support such activities COMP201 - Software Engineering

CASE Classification Classification helps us understand the different types of CASE tools and their support for process activities Functional perspective Tools are classified according to their specific function Process perspective Tools are classified according to process activities that are supported Integration perspective Tools are classified according to their organisation into integrated units COMP201 - Software Engineering

CASE Integration Tools (Bugzilla, GIT) Workbenches (Rational Rose UML) Support individual process tasks such as design consistency checking, text editing, etc. Workbenches (Rational Rose UML) Support a process phase such as specification or design, Normally include a number of integrated tools Environments (example IDE like Eclipse) Support all or a substantial part of an entire software process. Normally include several integrated workbenches COMP201 - Software Engineering

Lecture Key Points Requirements engineering is the process of developing a software specification Design and implementation processes transform the specification to an executable program Validation involves checking that the system meets its specification and user needs Evolution is concerned with modifying the system after it is in use CASE technology supports software process activities COMP201 - Software Engineering