A project is a one-time effort with a start, an end and a goal. Software project management is the work of making it succeed in terms of cost, time and quality.
Management Activities
The manager is responsible for several activities. Proposal writing describes the project and the cost to win it. Project planning and scheduling sets goals and the order of work. Project costing estimates the resources and cost. Project monitoring and reviews check progress against the plan. Personnel selection and evaluation chooses and develops the team. Report writing and presentations keep the customer and management informed. Management of software is hard because the product is intangible, each project is unique, and the process is not standard.
Project Planning
Project planning looks ahead and answers what is to be done, who will do it, when, and with what resources. The project plan has an introduction of the objectives, the project organisation, the risk analysis, the hardware and software resources needed, the work breakdown, a project schedule, the monitoring and reporting methods, and the quality plan. Planning is repeated, so the plan is changed as the project proceeds and more information is known. A project is estimated for effort and cost, using models such as COCOMO and function points.
Definition: Project plan. A document that states the objectives, activities, resources, schedule, risks and controls of a project.
Project Scheduling
In scheduling, the work is divided into tasks, the time for each is estimated, and the tasks are arranged in order. A work breakdown structure (WBS) splits the project into smaller tasks. A Gantt chart shows tasks as bars against a time scale. A PERT or network chart shows the dependency among the tasks. The critical path is the longest path and gives the least possible project time. The tasks on it have no slack. For a task with an optimistic time a, a most likely time m and a pessimistic time b, the PERT expected time is te = (a + 4m + b) / 6.
Table 1.5: Scheduling tools
| Tool | Shows | Use |
|---|---|---|
| WBS | Tasks and subtasks | List the work |
| Gantt chart | Tasks against time | Track progress |
| PERT chart | Dependencies | Find the critical path |
| Milestones | Checkpoints | Measure progress |
Example 1.5: PERT expected time and critical path
Problem: Task A has times a = 2, m = 4, b = 6 days. Task B (after A) has a = 3, m = 5, b = 13. Task C (after A) has a = 2, m = 3, b = 4. Task D (after B and C) is 4 days. Find the expected times and the project duration.
Solution:
- te(A) = (2 + 16 + 6) / 6 = 4, te(B) = (3 + 20 + 13) / 6 = 6, te(C) = (2 + 12 + 4) / 6 = 3.
- Path A-B-D = 4 + 6 + 4 = 14 days. Path A-C-D = 4 + 3 + 4 = 11 days.
Result: The critical path is A-B-D, and the project needs 14 days.
tasks = {"A": (2, 4, 6), "B": (3, 5, 13), "C": (2, 3, 4)}
te = {k: (a + 4 * m + b) / 6 for k, (a, m, b) in tasks.items()}
print(te)
print(te["A"] + te["B"] + 4, te["A"] + te["C"] + 4)
Output
{'A': 4.0, 'B': 6.0, 'C': 3.0}
14.0 11.0
Common mistakes
- Making a schedule without a margin for testing and rework.
- Thinking that a delay in any task delays the project. Only a delay on the critical path does.
- Not updating the plan as the project proceeds.
Key takeaways
- Management activities include planning, costing, monitoring and reporting.
- A plan answers what, who, when and with what resources.
- The critical path is the longest path and fixes the minimum project time.
- PERT time te = (a + 4m + b) / 6.
Practice questions
- What is a work breakdown structure?
- What is the critical path?
- Write the formula for the PERT expected time.
Answers to the practice questions
- A division of the project into smaller tasks.
- The longest path through the task network, which fixes the shortest project time.
- te = (a + 4m + b) / 6.
Sources
- Official BCA syllabus Advanced Software Engineering, course code 25BCA405DS01, Unit I
