1 cs 501 spring 2006 cs 501: software engineering lecture 3 feasibility studies

32
1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

Post on 20-Dec-2015

216 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

1 CS 501 Spring 2006

CS 501: Software Engineering

Lecture 3

Feasibility Studies

Page 2: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

2 CS 501 Spring 2006

Administration

Assignment 0: preliminary survey

• See the Assignments Web page for instructions

• Submit by Monday, February 6

• Send questions to Sadat Shami

Page 3: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

3 CS 501 Spring 2006

Administration

Projects:

Announcements by project groups

Page 4: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

4 CS 501 Spring 2006

Administration

Project teams:

• If you do not have a team, you can meet after class

• If you are having difficulty finding a team send email to [email protected]

• We may ask teams to add extra members

• If you have definitely chosen a project and reached agreement with your client, send email to [email protected] with the names of your team members

Page 5: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

5 CS 501 Spring 2006

Feasibility Study

A feasibility study is a study made before committing to a project.

A feasibility study leads to a decision:

go aheaddo not go aheadthink again

In production projects, the feasibility study often leads to a budget request.

In research, a feasibility study is often in the form of a proposal.

Page 6: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

6 CS 501 Spring 2006

Why are Feasibility Studies Difficult?

Benefits are usually very hard to quantify (e.g., NSDL).

Approach is usually ill-defined. Estimates of resources needed and timetable are very rough (e.g., eCornell).

Organizational changes may be needed (e.g., Copyright deposit system).

Therefore, feasibility studies rely heavily on the judgment of experienced people.

Mistakes made at the beginning are the most difficult to correct.

Page 7: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

7 CS 501 Spring 2006

Why are Feasibility Studies Difficult?Advocacy

Advocacy is needed to build enthusiasm for a large project: to convince an organization to undertake an expensive, complex project with many risks.

Enthusiasm is good, but enthusiasts usually emphasize potential benefits and downplay risks.

People carrying out the feasibility study and making the decision often have a vested interest in the project going ahead, e.g., financial gain, career development.

Page 8: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

8 CS 501 Spring 2006

The Decision Maker's Viewpoint

A senior member of an organization must decide whether to begin a major software project. What information is needed?

Client: Who is this project for?

Scope: What are the boundaries of the project?

Benefits: What are the benefits? Can they be quantified?

Technical: Is there at least one technical way to carry out the project?

Resources: What are the estimates of staff, time, equipment, etc?

Alternatives: What are the options if the project is not begun?

Page 9: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

9 CS 501 Spring 2006

The Decision Maker's ViewpointWhere are risks? Can they be minimized?

Technical

• There must be an outline plan with a rough timetable and staff allocation.

• The plan must have a very large margin for contingencies. (Projects typically require twice the staff and/or time envisaged in the feasibility plan.)

External

• Every system interacts with others. Are the others committed to the necessary efforts?

• Where are the external pressures and obstacles?

Page 10: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

10 CS 501 Spring 2006

Example 1: Benefits of the National Science Digital Library (NSDL)

Concept

Create a comprehensive digital library for all aspects of science education, where science and education are both defined very broadly.

The National Science Foundation studied potential benefits for five years before going ahead.

It came to the conclusion that, even though the benefits could not be quantified, the potential was sufficient to justify a major program.

Page 11: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

11 CS 501 Spring 2006

Example 1: NSDL Feasibility Timetable

1996 Vision articulated by NSF's Division of Undergraduate Education

1997 National Research Council workshop

1998 SMETE-Lib workshop

1999 NSDL solicitation

2000 6 demonstration projects of the core system

2001 Core integration system funded

Five years from concept to decision to definitely go ahead.

Note: Since going ahead, the NSF has been less careful about continuing to review the feasibility study after each major iteration.

Page 12: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

12 CS 501 Spring 2006

Example 2: U.S. Government Agency(Decision before Feasibility Study)

Outline Description

A U.S. government agency, which manages huge numbers of documents and other records, has been very slow in moving from a paper based approach to managing digital documents.

Page 13: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

13 CS 501 Spring 2006

Example 2: Chronology

• A scientific computing center at University of California was commissioned to develop a prototype system to demonstrate technology.

• Funds were approved by Congress to "procure" a major computer system.

• The National Academy of Sciences was commissioned to report on the technical approach to be followed and the results of the University of California prototype (feasibility study).

Note: The decision to go ahead was made and the budget approved before the feasibility study was begun.

Page 14: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

14 CS 501 Spring 2006

Example 2: National Academy Report

The National Academy study finds:

• The computer system is technically feasible.

• The University of California prototype is promising but incomplete.

• Agency needs stronger technical staff.

The study was not asked to comment on external factors, but discovered major weaknesses in the agency's management structure and organizational skills.

Page 15: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

15 CS 501 Spring 2006

Example 2: Obvious Problems

Organizational:

• Agency senior management clearly not ready to lead a very large project that will completely change the agency

• No thought given to the workflow and job changes that will affect almost every member of staff

Preparation:

• No preliminary study made of volumes or kinds of data; nor of the very complex access policies

Complexity

• Major changes in the requirements and design are inevitable once the system goes into production and has real users

Page 16: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

16 CS 501 Spring 2006

Example 2: National Academy Report: Technical Recommendations

The study recommends a phased approach:

1. System architecture created by iterative refinement to create a Phase 1 design.

2. Followed by sequential implementation using the Phase 1 design

[Note that this is the same phasing used in the vector graphics for Basic project discussed in Lecture 2.]

Page 17: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

17 CS 501 Spring 2006

Example 2: Prototype and Phased Development

• A prototype is not released to users, except experimentally

• In phased development, each phase is released into full production

UC prototype

Build phase 1

Build phase 2

Demonst-ration only

Phase 1 production

Phase 2 production

Developers

Users

Iterative process

Sequential process

Page 18: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

18 CS 501 Spring 2006

Example 2: Dilemma

• Agency does not want to return money to Congress

• National Academy study was paid for by agency and restricted to technical considerations

• The fundamental problem lies at the senior management level

[A phased approach over many years might possibly work, but only after the organizational problems are addressed.]

• The agency, adopted a pure waterfall model, put out a Request for Proposal for the Requirements, and placed a major contract with a software house.

This is a disaster in the making.

Page 19: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

19 CS 501 Spring 2006

Feasibility Study: Scope

Scope expresses the boundaries of the system:

• It will include a list of included functions

• It will exclude a list of excluded functions

• It depends on a list of dependencies

• It replaces a list of functions to be replaced

Confusion over scope is a common reason for clients to be dissatisfied with a system.

"Is that all you planned to do?" "But I assumed that you were going to do xyz." "I can't use the system without abc."

Page 20: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

20 CS 501 Spring 2006

Example 3: Library of CongressConfusion over Scope

• The Library of Congress required a repository system to store and make accessible very large amounts of highly varied material over long periods of time.

• An outside organization (CNRI) built a repository system to store and manipulate complex digital objects

• Nobody built the sub-systems needed to organize, validate, and to load material into the repository.

• The Library of Congress expected the repository system to include this sub-system. CNRI considered it external to the repository system

A good feasibility study would have seen this confusion.

Page 21: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

21 CS 501 Spring 2006

Feasibility Study: Benefits

Why is this project proposed? Can you quantify the benefits?

Organization benefits

• Create a marketable product

• Improve the efficiency of an organization (e.g., save staff)

• Control a system that is too complex to control manually

• New or improved service (e.g., faster response to customers)

• Safety or security (e.g., EPIRB)

Professional benefits are not the reason for doing a project

• Get a good grade on CS 501

Page 22: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

22 CS 501 Spring 2006

Feasibility Study: Technical

A feasibility study needs to demonstrate that the proposed system is technically feasible. This requires:

• a rough outline of the requirements

• a possible system design (e.g., database, distributed, etc.)

• estimates of numbers of users, data, transactions, etc.

• possible choices of software to be acquired or developed

These very rough numbers are fed into the provisional plan that is used to estimate the staffing, timetable, equipment needs, etc.

The technical approach actually followed may be very different.

Page 23: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

23 CS 501 Spring 2006

Feasibility Study: Planning and Resources

The feasibility study should include an outline plan:

• Estimate the staffing and equipment needs, and the preliminary timetable

• Identify major decision points

• Identify interactions with and dependences on external systems

• Provide a preliminary list of deliverables and delivery dates

Lecture 4 is about planning techniques.

Page 24: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

24 CS 501 Spring 2006

Feasibility Study: Alternatives and Risks

A feasibility study should identify alternatives and risks.

Alternatives

• Continue with current system, enhance it, or create new one?

• Develop in-house, or contract out? (How will a contract be managed?)

• Phases of delivery and possible points for revising plan.

Risks

• What can go wrong?

• How will problems be identified (visibility)?

• What are the fall-back options?

Page 25: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

25 CS 501 Spring 2006

Techniques for Feasibility Studies

Give client appreciation of system:

demonstration

mock-up

walk through

Outline budget:

n people for m months at $x per month

equipment, buildings, etc.

Phases/milestones:

deliverables at approximate date

Page 26: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

26 CS 501 Spring 2006

Feasibility Report

A written document

• For a general audience: client, financial management, technical management, etc.

• Short enough that everybody reads it.

• Long enough that no important topics are skipped.

• Details are often included in supporting documents.

It should be a well written, well presented document.

Page 27: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

27 CS 501 Spring 2006

Feasibility Study: Decision

The implications of the Feasibility Report must be understood by all key people.

Different organizations and senior managers have different styles, e.g.,

• Monitor the team and the process

• Rely on detailed reading of written report

• Rely on face-to-face questioning of knowledgeable people

But they must understand the decision.

A report that is never read and understood is useless.

Page 28: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

28 CS 501 Spring 2006

CS 501: Client

In CS 501, you have two clients:

• The client for the project

• The professor for the course

Satisfy the client and the professor is pleased!

Page 29: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

29 CS 501 Spring 2006

CS 501: Resources

Examples: CS 501

Staff: 5 to 7 students, with some help. How many hours per week? What skills do people have?

Time: Must be completed by end of semester, including operational system, documentation, presentation

Equipment and software: What special needs are there?

Client: Will the client be sufficiently available and helpful?

Page 30: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

30 CS 501 Spring 2006

CS 501: Obstacles

CS 501 projects

Start-up time. Creating a team, scheduling meetings, acquiring software, learning new systems, ...

Business considerations. Licenses, trade-secrets, ...

Too ambitious. Nothing to show at the end of the semester...

Changing circumstances. Client leaves the university, ...

What else?

Page 31: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

31 CS 501 Spring 2006

CS 501: How to Minimize Risk?

CS 501 Projects

• Several target levels of functionality: required, desirable, optional phases

• Visible software process: intermediate deliverables

• Good communication within team and with Teaching Assistant

Good processes lead to good software

Good processes reduce risk

Page 32: 1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 3 Feasibility Studies

32 CS 501 Spring 2006

CS 501: Feasibility Report

Specific Requirements for the Feasibility Report

• Outline plan, showing principal activities and milestones (to be discussed on Thursday).

• Discussion of Business Considerations (see Projects page on the course Web site).

• Risk analysis. What can go wrong? What is your fall back plan?

*