30
Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction to Java Programming Software Engineering Fall 2005

Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Embed Size (px)

Citation preview

Page 1: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Lecture 15Project Management

Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman

Lecture 4An Introduction to Java Programming

Software Engineering

Fall 2005

Page 2: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Overview

• Project management involves the planning, monitoring, and control of people, process, and events that occur during software development.

• Everyone manages, but the scope of each person's management activities varies according his or her role in the project.

• Software needs to be managed because it is a complex, long duration undertaking.

• Managers must focus on the fours P's to be successful (people, product, process, and project).

Page 3: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

The 4 P’s

• People — the most important element of a successful project

• Product — the software to be built

• Process — the set of framework activities and software engineering tasks to get the job done

• Project — all work required to make the product a reality. We conduct planned and controlled software projects for one primary reason – it is the only way to manage complexity.

Page 4: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Management Spectrum

• People - recruiting, selection, performance management, training, compensation, career development, organization, work design, team/culture development.

• Product - product objectives, scope, alternative solutions, constraint tradeoffs.

• Process - framework activities populated with tasks, milestones, work products, and QA points.

• Project - planning, monitoring, controlling.

Page 5: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

People: Stakeholders

1. Senior managers who define the business issues that often have significant influence on the project.

2. Project (technical) managers who must plan, motivate, organize, and control the practitioners who do software work.

3. Practitioners who deliver the technical skills that are necessary to engineer a product or application.

4. Customers who specify the requirements for the software to be engineered and other stakeholders who have a peripheral interest in the outcome.

5. End-users who interact with the software once it is released for production use.

Page 6: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

People: Team Leadership Model

• The MOI leadership model:– Motivation. The ability to encourage (by “push or pull”)

technical people to produce to their best ability.– Organization. The ability to mold existing processes (or

invent new ones) that will enable the initial concept to be translated into a final product.

– Ideas or innovation. The ability to encourage people to create and feel creative even when they must work within bounds established for a particular software product or application.

Page 7: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Software Teams

The following factors must be considered when selecting a software project team structure:

• The difficulty of the problem to be solved;• The size of the resultant program(s) in lines of code or function

points;• The time that the team will stay together (team lifetime);• The degree to which the problem can be modularized;• The required quality and reliability of the system to be built;• The rigidity of the delivery date;• The degree of sociability (communication) required for the

project.

Page 8: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Factors Affecting Team Organization

• The difficulty of the problem to be solved;

• The size of the resultant program(s) in lines of code or function points;

• The time that the team will stay together (team lifetime);

• The degree to which the problem can be modularized;

• The required quality and reliability of the system to be built;

• The rigidity of the delivery date;

• The degree of sociability (communication) required for the project.

Page 9: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Organizational Paradigms

Suggested by Constantine:• Closed paradigm - structures a team along a traditional

hierarchy of authority.• Random paradigm - structures a team loosely and depends on

individual initiative of the team members. • Open paradigm - attempts to structure a team in a manner that

achieves some of the controls associated with the closed paradigm but also much of the innovation that occurs when using the random paradigm.

• Synchronous paradigm - relies on the natural compartmentalization of a problem and organizes team members to work on pieces of the problem with little active communication among themselves.

Page 10: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

High Performance Team

• Team members must have trust in one another.

• The distribution of skills must be appropriate to the problem.

• Mavericks may have to be excluded from the team, if team cohesiveness is to be maintained.

Page 11: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Avoid Team “Toxicity”

• A frenzied work atmosphere in which team members waste energy and lose focus on the objectives of the work to be performed.

• High frustration caused by personal, business, or technological factors that cause friction among team members.

• “Fragmented or poorly coordinated procedures” or a poorly defined or improperly chosen process model that becomes a roadblock to accomplishment.

• Unclear definition of roles resulting in a lack of accountability and resultant finger-pointing.

• “Continuous and repeated exposure to failure” that leads to a loss of confidence and a lowering of morale.

Page 12: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Agile Teams

• An agile team – the small, highly motivated project team.

• Team members must have trust in one another.

• The distribution of skills must be appropriate to the problem.

• Mavericks may have to be excluded from the team, if team cohesiveness is to be maintained.

• Team is “self-organizing”– An adaptive team structure

– Uses elements of Constantine’s random, open, and synchronous paradigms

– Significant autonomy

Page 13: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Agile Teams

• Teams have significant autonomy to make their own project management and technical decisions

• Planning kept to minimum and is constrained only by business requirements and organizational standards

• Team self-organizes as project proceeds to maximize contributions of each individual's talents

• May conduct daily (10 - 20 minute) meeting to synchronized and coordinate each day's work

– What has been accomplished since the last meeting? – What needs to be accomplished by the next meeting? – How will each team member contribute to accomplishing what needs to be

done? – What roadblocks exist that have to be overcome?

Page 14: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Team Coordination & Communication

• Formal, impersonal approaches include software engineering documents and work products (including source code), technical memos, project milestones, schedules, and project control tools, change requests and related documentation, error tracking reports, and repository data.

• Formal, interpersonal procedures focus on quality assurance activities applied to software engineering work products. These include status review meetings and design and code inspections.

• Informal, interpersonal procedures include group meetings for information dissemination and problem solving and “collocation of requirements and development staff.”

• Electronic communication encompasses electronic mail, electronic bulletin boards, and by extension, video-based conferencing systems.

• Interpersonal networking includes informal discussions with team members and those outside the project who may have experience or insight that can assist team members.

Page 15: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

The Product Scope

• Scope is defined by answering the following questions:» Context. How does the software to be built fit into a larger

system, product, or business context and what constraints are imposed as a result of the context?

» Information objectives. What customer-visible data objects are produced as output from the software? What data objects are required for input?

» Function and performance. What function does the software perform to transform input data into output? Are any special performance characteristics to be addressed?

• Software project scope must be unambiguous and understandable at the management and technical levels.

Page 16: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

How is Software Scope defined?

• By defining how the software to be built fits into a larger systems, product, or business context and the constraints imposed by the context.

• Determining what visible objects the customer expects to see as output and what input objects are required to produce them.

• Determining the required software functions transform input to output and any special performance characteristics.

• Attempting to bound all information quantitatively, when possible, and descriptively, when numbers cannot be used.

Page 17: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Problem Decomposition

• Sometimes called partitioning or problem elaboration

• Once scope is defined …– It is decomposed into constituent functions

– It is decomposed into user-visible data objects

or

– It is decomposed into a set of problem classes

• Decomposition process continues until all functions or problem classes have been defined

Page 18: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

The Process

• Once a process framework has been established– Consider project characteristics

– Determine the degree of rigor required

– Define a task set for each software engineering activity

» Task set =• Software engineering tasks

• Work products

• Quality assurance points

• Milestones

Page 19: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

The Process • Process model chosen must be appropriate for the: customers and

developers, characteristics of the product, and project development environment.

• Project planning begins with melding the product and the process. • Each function to be engineered must pass through the set of framework

activities defined for a software organization. • Work tasks may vary but the common process framework (CPF) is

invariant (project size does not change the CPF). • The job of the software engineer is to estimate the resources required to

move each function through the framework activities to produce each work product.

• Project decomposition begins when the project manager tries to determine how to accomplish each CPF activity.

Page 20: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Signs of Potential Project Failure

• Software people don’t understand their customer’s needs.• The product scope is poorly defined.• Changes are managed poorly.• The chosen technology changes.• Business needs change [or are ill-defined]. • Deadlines are unrealistic.• Users are resistant.• Sponsorship is lost [or was never properly obtained].• The project team lacks people with appropriate skills.• Managers [and practitioners] avoid best practices and lessons

learned.

Page 21: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Avoiding Project Failure

• Start on the right foot. This is accomplished by working hard (very hard) to understand the problem that is to be solved and then setting realistic objectives and expectations.

• Maintain momentum. The project manager must provide incentives to keep turnover of personnel to an absolute minimum, the team should emphasize quality in every task it performs, and senior management should do everything possible to stay out of the team’s way.

• Track progress. For a software project, progress is tracked as work products (e.g., models, source code, sets of test cases) are produced and approved (using formal technical reviews) as part of a quality assurance activity.

• Make smart decisions. In essence, the decisions of the project manager and the software team should be to “keep it simple.”

• Conduct a postmortem analysis. Establish a consistent mechanism for extracting lessons learned for each project.

Page 22: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

To Get to the Essence of a Project

W5HH Principle:• Why is the system being developed?• What will be done? • When will it be accomplished?• Who is responsible?• Where are they organizationally located?• How will the job be done technically and managerially?• How much of each resource (e.g., people, software, tools,

database) will be needed?

Page 23: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Critical Practices

• Critical software practices required by performance-based management are:

- Formal risk management

- Empirical cost and schedule estimation

- Metrics-based project management

- Earned value tracking

- Defect tracking against quality targets

- People aware project management

Page 24: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Senior Management Decisions

• The decisions made by senior management can have a significant impact on the effectiveness of a software engineering team.

Examples are:

- downsizing and outsourcing have the most immediate and significant impact ;

- "expense reduction measures" that lead to lower product quality;

- unrealistic project deadlines;

- failure to "listen" to the customer, or conversely, to warnings noted by the software engineers doing the work.

Page 25: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Example 1 - I

• You have been appointed a project manager for a major software product company. Your job is to manage the development of the next generation version of its widely used word-processing software. Because new revenue must be generated, tight deadlines have been established and announced. What team structure would you choose and why? What software process model(s) would you choose and why?

Page 26: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Example 1 - II

Answer:

• An open paradigm team structure is probably best, given time pressure and familiarity with the work (however, a closed paradigm team might also work well).

• An incremental process model is indicated by the deadline driven nature of this work.

Page 27: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Example 2 -I

• You have been appointed a project manager within an information systems organization. Your job is to build an application that is quite similar to others your team has built, although this one is larger and more complex. Requirements have been thoroughly documented by the customer. What team structure would you choose and why? What software process model(s) would you choose and why?

Page 28: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Example 2 - II

Answer:• A closed paradigm team structure is one option. Since

requirements are well defined, it will be possible to partition requirements and allocation to subteams. The large size of the project also mitigates in favor of a closed paradigm team.

• Since there is no discussion of schedule, we assume that delivery date is reasonable. Therefore, it might be possible to use a linear sequential (e.g. waterfall) process model. However, an iterative model (e.g., spiral) is also a good possibility.

Page 29: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

Summary

• Managers must focus on the fours P's to be successful (people, product, process, and project).

• A project plan is a document that defines the four P's in such a way as to ensure a cost effective, high quality software product.

• The only way to be sure that a project plan worked correctly is by observing that a high quality product was delivered on time and under budget.

Page 30: Programming Techniques Lecture 15 Project Management Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Lecture 4 An Introduction

Programming Techniques

2005F

Instructor

John D Lin - [email protected]

Lectures

Tues & Thurs 10:00-11:30 RM. 100, Lower Block