.Open Exercises and Quizzes on the Critical Path Method . Simple Example You and a colleague are working on a project that has a main program and two independent classes. Once the initial test program is written you can start on the two classes (A and B say) and develop them without tripping over each other. Once the two classes have passed unit test then you can start on the main program that depends on them. .Table # Description Duration(Days) Predecessors .Row 1 Develop test 1 - .Row 2 Develop A 1 1 .Row 3 Develop B 2 1 .Row 4 Develop Main 1 2,3 .Row - Done - 4 .Close.Table Diagram done in class. CPM done in class. . A JAD Meeting 1 Before you can start a Joint Application Development --(JAD) meeting you must Email the participants and prepare the Audio Visual aids --(AVs) and before you can send the Email you need to prepare the information in the Email and arrange the room. You can't prepare the information or the $AVs without preparing the agenda for the meeting. Before you arrange the room and prepare the agenda you need to get approval for the JAD meeting from the participants. And before you can get approval you need to make contact with the participants. Here is a table of activities, what numbers do you put in the "Predecessors" column: .Table # Description Duration(Hours) Predecessors .Row 1 Contact people 1 ? .Row 2 Get approval 5 ? .Row 3 Arrange Room 4 ? .Row 4 Prepare Agenda 11 ? .Row 5 Prepare Info 4 ? .Row 6 Prepare AVs 8 ? .Row 7 Email people 1 ? .Row 8 Hold JAD session 5 ? .Row - Done - 8 .Close.Table . A JAD Meeting 2 Draw an Activity Diagram of the above activities. . A JAD Meeting 3 Calculate the earliest times of each event. . A JAD Meeting 4 Calculate the latest times of each event. Calculate slack and highlight the critical path. . Planning a Training Session Towards the end of a project an important activity is to train the users in using the new system. The table describes the activities needed. .Table # Description Duration(Hours) Predecessors .Row 1 Invite users 1 - .Row 2 Study manual 5 1 .Row 3 Book room 3 1 .Row 4 Prep. Handouts 3 2 .Row 5 Prep. Slides 4 4 .Row 6 Practice 1 5 .Row 7 Training 3 3,6 .Row - Done - 7 .Close.Table Draw the activity diagram. Calculate earliest times. Calculate latest times. Calculate slack times for each activity and show the critical path. . Planning a Training Session -- Version 2 Here is a different $WBS -- draw the diagram and do the $CPM on it. .Table # Description Duration(Hours) Predecessors .Row 1 Invite users 1 - .Row 2 Study manual 5 1 .Row 3 Book room 3 1 .Row 4 Prep. Handouts 2 2 .Row 5 Copy Handouts 1 4 .Row 6 Prep. Slides 4 4 .Row 7 Practice 1 6 .Row 8 Training 3 5,7 .Row - Done - 8 .Close.Table . My First PHP Page I wanted to allow students to search my CS372 pages. To do this I needed an HTML form and a PHP script. Problem: I didn't know any PHP. Here are my activities for the first 3 iterations. .Table # Description Duration(Hours) Predecessors .Row 1 Design Search form 1 - .Row 2 Learn some PHP 2 - .Row 3 Draft PHP 1 2 .Row 4 Alpha test 1 1,3 .Row 5 Improve form 1 4 .Row 6 Improve PHP 2 4 .Row 7 Beta test 1 5,6 .Row 8 Release 1.0 1 7 .Row 9 Learn PHP RegExs 2 2 .Row 10 Update PHP 2 8,9 .Row 11 Update form & test 1 10 .Row - Release 2.0 - 11 .Close.Table Use UML Activity diagrams and the critical path method to work out how much time this project will take and which activities are critical. . Setting up a Seminar The seminar committee has a lot of activities it must do to prepare for a seminar. How much lead time and what activities are critical? .Table # Description Duration(Hours) Predecessors .Row 1 Find time+place 2 - .Row 2 Book room 1 1 .Row 3 Get Snacks 2 1 .Row 4 Get coffee 1 1 .Row 5 Draft flier 2 2 .Row 6 Put on Dept Events Board 1 2 .Row 7 Check Fleer 1 5 .Row 8 Post Flier 2 6,7 .Row 9 Email Flier 1 6,7 .Row 10 Prep Handout 10 - .Row 11 Order Equip 1 1 .Row 12 Prep AVs 6 10 .Row 13 Check equipment 1 11 .Row - Done - 3,4,8,9,10,12,13 .Close.Table Use an activity diagram to check the above table for logical errors. Correct and use the Critical Path Method to work out the earliest time the seminar can be ready. Then work out the latest times and the critical path. . Implementing a Use Case in an existing System You have been working with a complex system for several years and you have a new use case to implement on it. .Table # Description Duration(Hours) Predecessors .Row 1 Write Use case 1 - .Row 2 Develop GUI 2 1 .Row 3 Database 1 1 .Row 4 Design tests 2 1 .Row 5 Business Rules 1 1 .Row 6 Cross check Gui vs DB 1 2,3 .Row 7 HTML Pages 3 6 .Row 8 SQL code 4 6 .Row 9 Integrate 2 7,8 .Row 10 Test 2 4,9 .Row - Done - 10 .Close.Table . Starting a Masters Project In the CSCI Department at CSUSB many graduate students finish their Masters degree by tackling a realistic project -- for example a wireless system for a hospital that lets doctors submit prescriptions directly to the pharmacy for later pick up or delivery. But all have a similar starting process .Table # Description Duration(Weeks) Predecessors .Row 1 Write SRS 1 - .Row 2 Get 3 faculty 2 - .Row 3 Improve SRS 3 1,2 .Row 4 Oral Examination 2 1,2 .Row 5 Design 1 3,4 .Row 6 Get M/C 2 3,4 .Row 7 Revue plans 1 5 .Row 8 Install system software 1 6 .Row 9 Redesign software 1 7 .Row 10 Install patches 1 8 .Row - Done - 9,10 .Close.Table .Close