Docsity

Web Programming introduction to Html, Summaries of Computer Programming

Partial preview of the text

Download Web Programming introduction to Html and more Summaries Computer Programming in PDF only on Docsity!

Fundamentals of Software

Engineering: Lecture 2

Michael SB

Software Process Models ▪ A software process is a set of related activities that leads to the production of a software product. ▪ A software process defines the approach that is taken as software is engineered. ▪ Software life span : the entire process of creating a software product from an initial concept until the last user stops using it.

Software Process Models ▪ The waterfall model ▪ Incremental approach

Waterfall model ▪ The first published model of the software development process ▪ derived from more general engineering processes ▪ Perform each phase in order

Drawbacks of waterfall model ▪ assumes requirements will be clear and well-understood ▪ requires a lot of planning up front (not always easy) ▪ rigid, linear; not adaptable to change in the product ▪ costly to go back to a previous phase ▪ nothing to show until almost done

Incremental approach ▪ Incremental development is based on the idea of developing an initial implementation, exposing this to user comment and evolving it through several versions until an adequate system has been developed.

Disadvantage of Incremental Approach ▪ The process is not visible. Managers need regular deliverables to measure progress. ▪ System structure tends to degrade as new increments are added. Unless time and money is spent on refactoring to improve the software, regular change tends to corrupt its structure.

Software change ▪ Change is inevitable. ▪ Change adds to the costs of software development because it usually means that work that has been completed has to be redone. This is called rework. ▪ Approaches to minimize the cost of rework: ▪ Change avoidance : the software process includes activities that can anticipate possible changes before significant rework is required. ▪ Change tolerance : the process is designed so that changes can be accommodated at relatively low cost.

System prototyping ▪ A prototype is an initial version of a software system that is used to demonstrate concepts, try out design options, and find out more about the problem and its possible solutions.

System prototyping Advantages: ▪ It will assist in requirement analysis and verification. ▪ It will assist in the software design process. Disadvantages: ▪ You may not show the prototype to the actual user of the system. It may be difficult to get a feedback to develop the actual system. ▪ Developing throwaway prototypes may not deliver a quality product.

Incremental Delivery - Advantages ▪ Customer can use the early increments and provides a feedback that will be addressed in later increments. ▪ Customer can actually use and gain value from the system starting early increments. ▪ The highest priority features will be deployed first, and it gives an opportunity for extensive testing.

Incremental Delivery - Disadvantages ▪ It is difficult to identify and implement common facilities that will be used by different parts of the system. ▪ It is difficult to estimate the required resources ahead of time since all the requirements are not identified. This makes it difficult to negotiate a contract with customers.

Spiral Model ▪ Each loop has four sectors: ▪ Objective setting : ▪ Specific objectives for that phase of the project are defined. ▪ Constraints on the process and the product are identified and a detailed management plan is drawn up. ▪ Project risks are identified. ▪ Alternative strategies, depending on these risks, may be planned.

Spiral Model ▪ Risk assessment and reduction ▪ For each of the identified project risks, a detailed analysis is carried out. Steps are taken to reduce the risk. ▪ Development and validation ▪ After risk evaluation, a development model for the system is chosen. ▪ Planning ▪ The project is reviewed and a decision made whether to continue with a further loop of the spiral. If it is decided to continue, plans are drawn up for the next phase of the project.