Project Management Dan Fleck Fall 2009 Ch 24

  • Slides: 53
Download presentation
Project Management Dan Fleck Fall 2009 Ch 24 Project Mgmt Concepts Ch 27 Project

Project Management Dan Fleck Fall 2009 Ch 24 Project Mgmt Concepts Ch 27 Project Scheduling Coming up: Project Management – 4 Ps

Project Management – 4 Ps n n People — the most important element of

Project Management – 4 Ps n n 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 Coming up: Stakeholders are people to

Stakeholders are people to n n n Senior managers who define the business issues

Stakeholders are people to n n n Senior managers who define the business issues that often have significant influence on the project. Project (technical) managers who must plan, motivate, organize, and control the practitioners who do software work. Practitioners who deliver the technical skills that are necessary to engineer a product or application. Customers who specify the requirements for the software to be engineered and other stakeholders who have a peripheral interest in the outcome. End-users who interact with the software once it is released for production use. Your job is to organize and bring value from these people Coming up: Your job as a leader

Your job as a leader n The MOI Model n n n Motivation. The

Your job as a leader n The MOI Model n n n 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. Coming up: Your job as a manager

Your job as a manager Make sure these happen Formal risk management n Empirical

Your job as a manager Make sure these happen Formal risk management n Empirical cost and schedule estimation n Metrics-based project management n n Tracking – amount of work done, costs, work remaining, etc… Defect tracking against quality targets n People aware project management n Coming up: Project Manager

Project Manager Management is using tools and techniques n Leadership is inspiring people to

Project Manager Management is using tools and techniques n Leadership is inspiring people to do the right thing n n Leadership with poor management practices can be successful, management with poor leadership will fail. Coming up: Motivating People

Motivating People Use monetary rewards cautiously n Use intrinsic rewards n Recognition n Achievement

Motivating People Use monetary rewards cautiously n Use intrinsic rewards n Recognition n Achievement n The work itself n Responsibility n Advancement n Chance to learn new skills n Coming up: Understanding the problem

Understanding the problem At the beginning you should ask yourself these questions n n

Understanding the problem At the beginning you should ask yourself these questions n n n n 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? Coming up: Define success and failure Barry Boehm

Define success and failure Don’t lie to yourself! n Be confident, trust yourself for

Define success and failure Don’t lie to yourself! n Be confident, trust yourself for success! n Quantify your project outcomes to allow success or failure n A vague or un-measurable outcome is much less helpful - Dan Fleck n Coming up: Leadership Case Study: 3 M

Leadership Case Study: 3 M Philosophy: n n As our business grows, it becomes

Leadership Case Study: 3 M Philosophy: n n As our business grows, it becomes increasingly necessary to delegate responsibility and to encourage men and women to exercise their initiative. This requires considerable tolerance. Those men and women to whom we delegate authority and responsibility, if they are good people, are going to want to do their jobs in their own way. "Mistakes will be made. But if a person is essentially right, the mistakes he or she makes are not as serious in the long run as the mistakes management will make if it undertakes to tell those in authority exactly how they must do their jobs. ” "Management that is destructively critical when mistakes are made kills initiative. And it's essential that we have many people with initiative if we are to continue to grow. ". These are common themes now, but not in 1940 s when 3 M codified them Coming up: 3 M Results

3 M Results n n n n n Encouragement and a culture of innovation

3 M Results n n n n n Encouragement and a culture of innovation yields: 1968 Dr. Spence Silver does an experiment that yields an adhesive that sticks, but not strongly Presents around the company for 5 years with no “takers” In 1973, 3 M scientist Art Fry was trying to mark his place in his church choir hymn book with bits of paper that kept falling out. As he did so Art works with Spence. Creates little notepapers. Marketing says “not enough market, who wants to pay for scraps of paper? ”, engineering says “too hard to make, will be costly” Response: If it’s hard to make that’s great, no one but 3 M will be able to do it! Fry sends out “free samples” across the company, making sure to include executive’s assistants Demand rises – finally the product is introduced. Within 1 year Post. It notes named “Outstanding New Product” and today generates $100 million in US sales This is possible because of a culture in the company to empower, encourage, and experiment! Coming up: Avoid team toxicity

Avoid team toxicity n A frenzied work atmosphere in which team members waste energy

Avoid team toxicity n A frenzied work atmosphere in which team members waste energy and lose focus on the objectives of the work to be performed. n High frustration caused by personal, business, or technological factors that cause friction among team members. n “Fragmented or poorly coordinated procedures” or a poorly defined or improperly chosen process model that becomes a roadblock to accomplishment. n Unclear definition of roles resulting in a lack of accountability and resultant finger-pointing. n “Continuous and repeated exposure to failure” that leads to a loss of confidence and a lowering of morale. Coming up: Scheduling

Scheduling One of the most important things you can do is schedule. n Also

Scheduling One of the most important things you can do is schedule. n Also one of the first things you should do! n Tools help n Microsoft Project n Open. Proj. org <-- This is what I will use n Open. Workbench. org n Find another good one? Let me know… there are web-based tools out there also. n Coming up: Planning

Planning The bad news: time flies n The good news: you’re the pilot! n

Planning The bad news: time flies n The good news: you’re the pilot! n n You must begin planning immediately Given limited information n Plan anyway and then revise n Coming up: Creating a plan: Things to know

Creating a plan: Things to know n Scope • Context. How does the software

Creating a plan: Things to know n Scope • 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 (Chapter 8) 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? n Software project scope must be unambiguous and understandable at the management and technical levels. Coming up: Creating a plan: Things to do

Creating a plan: Things to do n n Problem Decomposition: Sometimes called partitioning or

Creating a plan: Things to do n n Problem Decomposition: Sometimes called partitioning or problem elaboration Once scope is defined … n n It is decomposed into constituent functions It is decomposed into user-visible data objects or n n It is decomposed into a set of problem classes Decomposition process continues until all functions or problem classes have been defined (this won’t be far at the beginning of your project) Coming up: Create a schedule

Create a schedule n An idea without a schedule is just a dream. -

Create a schedule n An idea without a schedule is just a dream. - Unknown Coming up: Schedule

Schedule n List of tasks With dates n With assigned resources (people) n With

Schedule n List of tasks With dates n With assigned resources (people) n With durations n With predecessors and successors n n How do you get buy-in from the team for a schedule? Coming up: Schedule Terms

Schedule Terms n Critical path n n Sequence of tasks that form the longest

Schedule Terms n Critical path n n Sequence of tasks that form the longest path to completion of the project. Any delay on any of these will make the overall completion date move. Slack n Amount of time a task can be delayed without affecting the overall completion date. • Start slack - amount before task needs to start • Finish slack - amount before task needs to finish n n Milestone - An import date in the schedule Dependencies - relationship between tasks Coming up: Schedule Dependencies

Schedule Dependencies n FS - Finish to start (most common) n n n FF

Schedule Dependencies n FS - Finish to start (most common) n n n FF - Finish to finish n n n A FF B. B doesn’t finish before A is finished Write final chapter FF Complete Index SS - Start to start n n n A FS B. B doesn’t start until A is finished Build wall FS Paint wall A SS B. B doesn’t start until A has started Project funded SS project management activities begin SF - Start to finish n n n A SF B. B doesn’t finish before A has started Once A starts, B is allowed to finish B=Baby sit a child, A=parent comes home Coming up: Resource Leveling

Resource Leveling A process to examine a project for an unbalanced use of people

Resource Leveling A process to examine a project for an unbalanced use of people and to resolve over-allocations or conflicts n Happens when multiple tasks are scheduled at the same time for the same person n Solution: n Make tasks sequential n Split resource usage among tasks (50% on task 1, 50% on task 2) See example: Need. To. Level. pod n Coming up: Auto Resource Leveling

Auto Resource Leveling Some tools (not Open Project) provide auto resource leveling n Tool

Auto Resource Leveling Some tools (not Open Project) provide auto resource leveling n Tool automatically ensures no person works over 100% of the time (automatically makes tasks sequential) n Advantageous because this does not introduce “fake” dependencies n Coming up: Gantt Chart

Gantt Chart Coming up: Finding Critical Path

Gantt Chart Coming up: Finding Critical Path

Finding Critical Path Draw a network diagram of the activities n Determine the Early

Finding Critical Path Draw a network diagram of the activities n Determine the Early Start (ES) of each node. Work from beginning node (ES=0) to final node n ES - earliest time the activity can start n n ES = Max(ESprev. Node + Duration. Prev. Node) ES: 4 A ES: 2 7 10 B Coming up: Finding Critical Path ES: ? ? C

Finding Critical Path n Determine the Late Start (LS) of each node. Work from

Finding Critical Path n Determine the Late Start (LS) of each node. Work from the final node to the beginning node. The latest time the activity can start without changing the end date of the project n LS = MIN(LSnext - Duration. Node) LS: 13 n For the last node LS = ES n LS: ? A LS: ? Coming up: Example B 7 10 LS: 12 C LS: ? A 10 7 B LS: 12 C

Example Here's the example: Activity Description A Product design B Market research C Production

Example Here's the example: Activity Description A Product design B Market research C Production analysis D Product model E Sales brochure F Cost analysis G Product testing H Sales training I Pricing J Project report Coming up: Example Node Network Predecessor (None) A A A C D B, E H F, G, I Duration 5 months 1 2 3 4 2 1 1

Example Node Network ES: 5 ES(H) LS: ES(E)+dur(E) = 5 + 2 C= 7

Example Node Network ES: 5 ES(H) LS: ES(E)+dur(E) = 5 + 2 C= 7 ES(J) ES: 0 LS: ES(B)+dur(B) 1=1 ES(F)+dur(F) ==? 0 +ES: 5 A= 7 ==ES(H) Maximum ES(G)+dur(G) ? LS: D ES(I) + dur(I) = ? ES: 0 ES: 5 LS: Maximum = ? = ES(J) LS: B E ES: 7 LS: F ES: 12 LS: G J ES: 8 LS: I ES: 9 LS: H ES: 7 LS: Coming up: Example Node Network Here's the example: Activity A B C D E F G H I J Description Predecessor Product design (None) Market research(None) Production A Product model A Sales brochure A Cost analysis C Product testing D Sales training B, E Pricing H Project report F, G, I Duration 5 months 1 2 3 4 2 1 1

LS(A) = LS(C) – dur(A) = 7 – 5 = 2 LS(D) – dur(A)

LS(A) = LS(C) – dur(A) = 7 – 5 = 2 LS(D) – dur(A) = 5 – 5 = 0 LS(E) – dur (A) = 7 – 5 = 2 Minimum = 0 = LS(A) Example Node Network ES: 5 LS: 7 ES: 0 LS: 0 A ES: 7 LS: 9 C F ES: 5 LS: 5 ES: 0 LS: 8 B ES: 12 LS: 12 G D J ES: 8 LS: 8 ES: 5 LS: 7 E I ES: 9 LS: 11 LS(F) LS(J)-dur(F) = 12 – 3 =9 Coming up: Example Node Network H ES: 7 LS: 9 Here's the example: Activity A B C D E F G H I J Description Predecessor Product design (None) Market research(None) Production A Product model A Sales brochure A Cost analysis C Product testing D Sales training B, E Pricing H Project report F, G, I Duration 5 months 1 2 3 4 2 1 1

Example Node Network ES: 5 LS: 7 ES: 0 LS: 0 A ES: 0

Example Node Network ES: 5 LS: 7 ES: 0 LS: 0 A ES: 0 LS: 8 B ES: 7 LS: 9 C F ES: 5 LS: 5 ES: 12 LS: 12 G D J ES: 8 LS: 8 ES: 5 LS: 7 E I ES: 9 LS: 11 H ES: 7 LS: 9 Coming up: Game Development In-Class Exercise Here's the example: Activity A B C D E F G H I J Description Predecessor Product design (None) Market research(None) Production A Product model A Sales brochure A Cost analysis C Product testing D Sales training B, E Pricing H Project report F, G, I Duration 5 months 1 2 3 4 2 1 1

Game Development In-Class Exercise Find the critical path TASK DURATION (days) A Graphics Engine

Game Development In-Class Exercise Find the critical path TASK DURATION (days) A Graphics Engine 14 B Sound Engine 5 I C Music Engine 5 J D Input Engine 10 A E Gameplay/general programming 31 B, C, D F Physics 7 E G 2 D Artwork 14 H 3 D Artwork 21 I Sound Effects 14 J Music 9 K Level Design 21 Coming up: Review Questions PREDECESSORs G F, H

Review Questions What is the critical path? n Do all nodes on the critical

Review Questions What is the critical path? n Do all nodes on the critical path have to be connected to each other? (directly) n What is slack? n When should you write your schedule for the work? n What is resource leveling? n Coming up: What about Agile?

What about Agile? Planning and tracking is still important! n Scrum Burndown Chart n

What about Agile? Planning and tracking is still important! n Scrum Burndown Chart n Release Burndown: Number of story points versus Release n Sprint Burndown: Number of story points versus day n n Burndown chart shows amount of work remaining, and charts the trajectory to help predict success or failure Coming up: Sprint Burndown Chart

Story Points Remaining Sprint Burndown Chart Day Coming up: Release Burndown Chart

Story Points Remaining Sprint Burndown Chart Day Coming up: Release Burndown Chart

Story Points Remaining Release Burndown Chart Iteration Number Coming up: Burndown Chart

Story Points Remaining Release Burndown Chart Iteration Number Coming up: Burndown Chart

Burndown Chart n Vertical axis can be any metric describing amount of work remaining:

Burndown Chart n Vertical axis can be any metric describing amount of work remaining: Story points n User Stories n Use Cases n Requirements n Ideal developer hours n Coming up: Earned Value Management

Earned Value Management n How much work you planned to have accomplished by now

Earned Value Management n How much work you planned to have accomplished by now (in dollars or hours) called the Planned Value n How much you have actually spent by now (in dollars or hours), called Actual Cost n The value, in terms of your baseline budget, of the work accomplished by now (in dollars or hours), called the Earned Value! Coming up: Earned Value Management

Earned Value Management n Planned value (PV) - the value of all resources needed

Earned Value Management n Planned value (PV) - the value of all resources needed to meet the project’s objectives n n Each objective of a project has an associated planned value Budgeted (cost) at completion (BAC) - The sum of all the PVs Earned value (EV) - the amount of value completed at any point during the project Actual Cost (AC) - actual amount of money you have spent so far. In a perfect project AC and EV are the same. Coming up: Earned Value Management Example

Earned Value Management Example n We’ve budgeted $200 to buy, setup, network and test

Earned Value Management Example n We’ve budgeted $200 to buy, setup, network and test a new system n Our planned values (PVs) of each task are: • Buy - $50, Setup - $75, network - $50, test - $25 • Our BAC is therefore $200 n n We’ve now completed phase one, and thus our earned value (EV) is now $50. To do this we spent $60 (our actual cost (AC)) Coming up: Earned Value Management Example

Earned Value Management Example n Schedule performance index (SPI) n n n Cost performance

Earned Value Management Example n Schedule performance index (SPI) n n n Cost performance index (CPI) n n Memorization Hint: Most equations begin with earned value EV / AC --> 50/60 = 0. 83 For every dollar spent, I get 83 cents worth of work. Estimated cost at completion (EAC) n n EV / PV --> 50/50 = 1 (perfect). Our group is on schedule BAC / CPI = 200 / 0. 83 = $240. 96 Schedule Variance (SV) : EV - PV Cost Variance (CV) : EV - AC Coming up: EVM Example 2 from: http: //www. hyperthot. com/pm_cscs. htm

EVM Example 2 from: http: //www. hyperthot. com/pm_cscs. htm Line is at 16, blue

EVM Example 2 from: http: //www. hyperthot. com/pm_cscs. htm Line is at 16, blue bar ends at 14 Line is at 6 n n PLANNED VALUE (Budgeted cost of the work scheduled) = 18 + 10 is + 16 + 6 = $50 What planned value at time X? EARNED VALUE (Budgeted cost of the work performed) = 18 + 14 + 0 = $40 What is earned value at time X? ACTUAL COST (of the work performed) = $45 (Data from Acct. System) Therefore: n n Schedule Variance = 40 - 50 = -$10 Earned – Planned. Schedule Performance Index = 40 / 50 = 0. 8 Coming up: What is earned value? Perfect is?

What is earned value? A. The amount of money you get upon completion of

What is earned value? A. The amount of money you get upon completion of a task n B. The value of an activity n C. The value of the work completed by now in the schedule n D. The value of all activities planned to be completed by now in the schedule n Coming up: Why do you use earned value management?

Why do you use earned value management? A. It is required by my contract

Why do you use earned value management? A. It is required by my contract n B. Measuring value give you more information than measuring cost or time alone n C. I don’t use it n D. It guarantees my project will be done on time n Coming up: Scheduling Rules of Thumb

Scheduling Rules of Thumb Don’t work backwards! n One person should always edit the

Scheduling Rules of Thumb Don’t work backwards! n One person should always edit the schedule (you!) n n If you have two people that need to, create two files and link them together Keep it simple and useful n Level your resources n Share the schedule with your team n Coming up: Schedule Example

Schedule Example n Lets try to schedule this work among our three developers “John,

Schedule Example n Lets try to schedule this work among our three developers “John, Mary, Carl” TASK DURATION (days) A Graphics Engine 14 B Sound Engine 5 I C Music Engine 5 J D Input Engine 10 A E Gameplay/general programming 31 B, C, D F Physics 7 E G 2 D Artwork 14 H 3 D Artwork 21 I Sound Effects 14 J Music 9 K Level Design 21 Coming up: Scheduling Steps PREDECESSORs G F, H

Scheduling Steps n n n Add in all the tasks (preferably in a hierarchy)

Scheduling Steps n n n Add in all the tasks (preferably in a hierarchy) Add in all the dependencies Break down large tasks into smaller tasks. Optimally (in Dan Fleck’s opinion) you want to schedule so the duration of each smallest task is at most 3 -5 days Assign people (resources) to tasks Level your resources Coming up: Classic Mistakes

Classic Mistakes Overly optimistic schedule n Failing to monitor schedule n Failing to update

Classic Mistakes Overly optimistic schedule n Failing to monitor schedule n Failing to update schedule n Adding people to a late project n Failure to manage expectations of others n Leaving out a task n Coming up: Scope Creep

BOO! Scope Creep n n n Scope The scope of your project is all

BOO! Scope Creep n n n Scope The scope of your project is all the work you initially planned to do. Scope creep is when your project gets new tasks throughout it’s lifetime without adding more resources to handle new tasks. The scope is “creeping” up… Scope changes are OK, and really unavoidable… that’s fine. However you must update the resources (time, features or people accordingly) Coming up: Why would scope changes occur?

Why would scope changes occur? A. You get more money to do more things

Why would scope changes occur? A. You get more money to do more things n B. The customer asks you to do something extra because “it is critical for success” n C. A competing product has a feature that you must have to be competitive n D. All of these n Coming up: Which are causes of scope creep?

Scope Change versus Creep Change is good! Your company has a $1 million dollar

Scope Change versus Creep Change is good! Your company has a $1 million dollar contract with a defined scope. Scope change: Customer: please add all these requirements, and I’ll increase the contract to $2 million dollars Manager: Certainly! Scope creep: Customer: please add all these requirements, and I’ll be really happy. Manager: Certainly!

Which are causes of scope creep? A. poor change control n B. lack of

Which are causes of scope creep? A. poor change control n B. lack of proper initial identification of what is required to satisfy project objectives n C. a weak project manager n D. all of these n Source: Wikipedia: Scope Creep Coming up: Managing Scope

Managing Scope How to deal with the inevitable “Scope creep”? n JAD and prototyping

Managing Scope How to deal with the inevitable “Scope creep”? n JAD and prototyping Scope n Formal change approval n Defer additional requirements as future system enhancements n Coming up: Managing Risk

Common-Sense Approach to Projects n Start on the right foot. This is accomplished by

Common-Sense Approach to Projects n 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. n 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. n 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. n Make smart decisions. In essence, the decisions of the project manager and the software team should be to “keep it simple. ” n Conduct a postmortem analysis. Establish a consistent mechanism for extracting lessons learned for each project. Coming up: References

References n n n www. projity. com Wikipedia: Project Management Pressman R. , Software

References n n n www. projity. com Wikipedia: Project Management Pressman R. , Software Engineering A Practical Approach, Ch 21 Pressman R. , Software Engineering A Practical Approach, Slides for Ch 21 Kazman R. , The CIO, People Issues, Project & Change Management, kazman. shidler. hawaii. edu/619 ch 12. ppt Pratt M, Earned Value Management, http: //www. computerworld. com/action/article. do? command=view. Article. Basic&article. I d=110065&intsrc=article_pots_bot End of presentation