Week 13 — Project management and strategic planning

What a project is, the triple constraint and the five phases, why projects fail, two airlines and one new system, and a Gantt chart with its critical path.

← Course map

This week has four short videos. Watch them in order. When a video asks a question, pause it and answer first.

Video 1 · Projects and the triple constraint

Project or process, time, cost and scope, and the five phases.

Read the script

Hello, this is Peter Zou. In 2013, the United States government opened a new health insurance website. It cost about three hundred million dollars. On the first day, almost five million people visited. Six of them finished an application. Six.

Make a guess. What went wrong? A: the programmers were bad. B: there was not enough money. C: the plan. Too much to build, in too little time. Keep your guess. We will check it at the end.

This video has three parts. Part one: a project is not a process. A project is temporary, with one purpose, a start, an end, a budget and a sponsor. A process repeats, like payroll every month.

Part two: the triangle. Look at the website project. The opening date was fixed in advance. The job was huge, and it kept growing. So something had to give. The whole system was tested together only in the last two weeks.

Every project is squeezed by three forces: time, cost and scope. Scope means how much the project will do. This is the triple constraint. If you push one corner, another corner must move.

Quick check, one of three. Your app’s deadline cannot move. The boss adds three new features. What has to change? A: nothing, if we work hard. B: the cost. More people, or more money. The answer is B. Time is fixed and the scope grew, so the cost must grow. Or something gets cut, like testing.

Part three: every project has five phases. Initiating, planning, executing, monitoring and controlling, and closing.

Initiating writes the project charter. It authorizes the project. When the sponsor signs it, the project is real. Planning lists every task in the work breakdown structure, or WBS. The Gantt chart shows those tasks as bars on a calendar.

Quick check, two of three. Nobody has signed anything, and the team starts building anyway. Which document is missing? A: the project charter. B: the Gantt chart. C: the WBS. The answer is A. Without a signed charter, the project is not authorized.

The best project managers spend most of their time planning and monitoring. A predecessor is a task that must finish before another can begin. The critical path is the longest chain of tasks. If one of them slips, the finish date slips. Watch for scope creep: the project grows, one feature at a time. Closing delivers the result and writes down the lessons learned.

Quick check, three of three. Which one-day delay moves the finish date? A: task A, on the longest chain. B: task B, with spare time. The answer is A. Task A is on the critical path.

So, the answer to our question is C: the plan. The date was fixed, the job kept growing, and testing was squeezed. That is the triple constraint at work. Now it is your turn: your project is late. What do you change?

Video 2 · Why projects fail

The warning signs, estimates, the IT strategic plan, and two plans for bad days.

Read the script

Hello, this is Peter Zou. On Valentine’s Day, 2007, an ice storm hit New York. One airline, JetBlue, waited for the weather to improve. It did not. Passengers sat in frozen planes on the runway for many hours. The storm passed in about a day. The airline needed almost a week to recover.

Make a guess. Why did it take almost a week? A: the storm lasted a week. B: the planes were broken. C: there was no plan for a bad day. Keep your guess. We will check it at the end.

This video has three parts. Part one: the people on an IT project. The project manager leads. Business analysts translate business needs into system requirements. Developers build, the quality team tests, and the sponsor pays. And change management moves employees from their old way of working to the new one.

Quick check, one of three. The new system works perfectly. But the staff keep using their old spreadsheets. What was missing? A: change management. B: more testing. C: a bigger budget. The answer is A. Many new systems fail because people refuse to use them.

Part two: why projects fail. You think a project takes six months. Project software manages four things: time, people, resources and costs. You enter every task, and the software says two years. The software is honest. The usual reasons for failure are management problems. No support from top management. Stakeholders who are not involved. Unclear requirements. Scope creep. Poor communication. And one critical factor: unrealistic timeframes.

Quick check, two of three. The boss picks the launch date before anyone lists the tasks. Which warning sign is this? A: poor communication. B: scope creep. C: an unrealistic timeframe. The answer is C. The deadline comes from hope, not from the plan.

One more trap: escalation of commitment. We already spent ten million, so we cannot stop now. But money already spent should not decide the future. And estimates are never perfect: early on, a task can be off by fifty percent either way. So plan a safety margin.

Part three: planning for many projects, and for bad days. Companies write an IT strategic plan, aligned with the company’s strategy. It sets policies, like the acceptable-use policy you signed for your school account. It chooses which projects get money: the project portfolio. Projects are scored on fit with strategy, return, and risk. And it plans for disasters.

A disaster recovery plan brings the technology back: backups, off-site storage, and recovery sites. A business continuity plan is bigger. It keeps the whole business serving customers while the problem is happening.

Quick check, three of three. A snowstorm closes the office for three days. Customers still need help. Which plan says what to do? A: the disaster recovery plan. B: the business continuity plan. The answer is B. It keeps the business running during the problem.

So, the answer to our question is C. The storm lasted about a day. But the systems that tracked pilots and crews could not keep up, and there was no plan for a bad day. In our case study, the same airline faces a new big test. This time, it plans. Now it is your turn: a project is late and over budget. Stop, or keep going?

Case video · Two airlines, one new system

The background for this week’s case: two cutovers to the same reservation system.

Read the script

Hello, this is Peter Zou. Two airlines moved to the same new reservation system, a few months apart. For one, it was a very bad week. For the other, it went smoothly.

Make a guess. Why did only one have a bad day? A: better software. B: better luck. C: a plan for trouble. Keep your guess.

A reservation system sells the tickets, checks people in, and tracks every seat. Changing it is like moving a city overnight. The day of the switch is called the cutover. And customers keep booking the whole time.

In 2009, the Canadian airline WestJet switched first, with a full schedule. The website slowed down and failed for many customers. People waited on the phone for hours.

A few months later, JetBlue moved to the same system. It had studied WestJet’s bad week. It flew fewer flights around the switch, added hundreds of extra call-center agents, prepared a backup website, and tested again and again.

Pause the video. Fewer flights meant less money. What did JetBlue buy with that money? Lower risk. It paid on purpose, and the cutover went much more smoothly.

So, the answer to our question is C: a plan for trouble, not better software. It was the same software. Now, with your group, use this story and Monday’s ideas to plan your case answers.

Lab preview · Gantt chart and critical path

Tasks as bars on a calendar, the critical path that can never be late, and slack.

Read the script

Hello, this is Peter Zou. An app project has nine tasks. Together they take thirty-eight days of work.

Make a guess. How long does the project take? A: thirty-eight days. B: fewer. C: more. Keep your guess.

Every plan starts with the list of tasks. For each task, we write how many days it takes, and which tasks it must wait for. Those are its predecessors.

The rule: a task starts only when all its predecessors are finished. So it waits for the last one.

Draw every task as a bar on a calendar. That is a Gantt chart. Look: some tasks run at the same time.

The longest chain from start to finish is the critical path. A task on it has no spare time. One day late, and the whole project is one day late.

The other tasks have slack: spare time before the finish date moves. This task has eight days of slack. It is three days late. Does the project finish late? No. It used three of its eight spare days.

So, the answer to our question is B: twenty-five days, not thirty-eight, because tasks run side by side. In the lab, you draw this chart with Python, and make one task late.

Lab help · Gantt chart and critical path

After the lab: how to finish the three graded parts at home. The method on other examples, never the answers.

Read the script

Hello, this is Peter Zou. Your class plans a party. Buying the food takes three days. Decorating takes one day, and it is one day late. Is the party late?

Make a guess. A: yes, one day late. B: no, still on time. We will check it at the end. This video helps you finish this week’s lab at home. The lab has three parts. I will not give you the answers. I show you the method with a different example. Then you pause the video and do your own.

Open Google Colab and start a new notebook. Copy one challenge, from its title line to the next title line. Paste it into a new cell, and press the play button. You meet two kinds of exercises. Blanks, with four underscores and a hint on the same line. And put in order: mixed-up lines that you put back in order.

Part one is Challenge 1, with two blanks. Look at Step two: the task table of the app project. The column “after” lists the tasks it must wait for, its predecessors. Blank one asks: when can a task start? Here is a different example. You invite three friends to dinner. They arrive at six, at nine, and at seven. When can dinner start? At nine, when the last friend arrives: the biggest number. So a task starts when its last predecessor finishes: the biggest finish day. The hint on the line shows the Python word for “the biggest”. Pause the video, and fill in blank one.

Blank two asks: when does the task finish? Finish is start plus the length of the task. A table of movies has the columns title, minutes, and year. A movie ends at its start time plus row, square bracket, “minutes”. You write the column name inside the quotes, spelled exactly like the table. In the lab, which column holds the length of each task? Pause the video, and fill in blank two.

Now run the cell. Red bars are the critical path. Blue bars have slack. The dashed line is the finish day. The last line must say: self-check OK. Here is the good part: the error message tells you what to fix. A name error with four underscores: blank one is still empty. A key error: blank two is empty, or spelled wrong. Self-check failed: a task waits for the last predecessor, not the first. When you see self-check OK, take a screenshot of the whole chart. Save it as your last name, your first name, Week 13 Lab.

Part two is Challenge 2. Now you make one task late, like the party. In Step one, choose one task, from B to I, and how many days late, from one to ten. Before you run, predict. Is your task on the critical path, or does it have slack?

Next, put four mixed-up lines in order in Step three. Here is a different example. You want to compare a photo before and after you crop it. First, look at the original. Then make a copy, and crop the copy. Then look at the copy. You change only the copy, so you can still compare. Your four lines follow the same idea. Read the comment at the end of each line. When I teach this, students often start with the copy. Start with the original. Pause the video, and put your four lines in order.

If Python says the name “late” is not defined, you use the copy before you make it. If self-check failed, you planned the copy before you made the task longer. Fix the order, and run again. The late task is orange. Read the lines under the chart: the slack, and how late the project is now. Take a screenshot of the chart. Save it as your last name, your first name, Week 13 Lab, Part 2.

Part three is one or two sentences. Which task did you make late, and by how many days? Did the whole project finish later? Use the words “critical path” and “slack”. Open the Week 13 Lab Submission on Moodle. Upload your two pictures, and type your sentences in the text box. If you upload again, the last upload counts.

So, the answer to our question is: no, the party is on time. Decorating had two days of slack, and it used only one. A project is late only when a task is late by more than its slack. You can do this. Open the lab, and start with Challenge one.

In Moodle

The quiz, the case and the lab for this week are in Moodle. Due dates are in Moodle.