DOC PREVIEW
ODU CS 350 - Lecture Notes

This preview shows page 1-2-3-4-24-25-26-50-51-52-53 out of 53 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 53 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 53 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 53 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 53 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 53 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 53 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 53 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 53 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 53 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 53 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 53 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 53 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

CS 350, slide set 2ReadingPlanningWeekly Activity SummaryExample: time logSlide 6Example (cont.)Assignment:Product PlanningJob number logJob Number ExamplePartial example: programming data onlyQuick Survey ResultsCommentsUnits for readingPlot of reading timesPlot of programming time, C++ ObjectsUnits for programmingWhat’s an LOC?Basic metricsEstimating BackgroundSize Estimating Principles - 1Planning Forms, assignment 1Defect Record Log (pg 47) - 1Defects - 2Time Recording LogTest PlanProject Plan SummarySize Estimating Principles - 2Slide 30ReminderSize Estimating Principles - 3Estimating ApproachesDelphi Size EstimatingDelphi Example - 1Delphi Example - 2Delphi Size Estimating - 2Fuzzy Logic Size Estimating - PreparationFuzzy Logic - stepsA Fuzzy Logic Example - 1A Fuzzy Logic Example - 2A Fuzzy Logic Example - 3A Fuzzy Logic Example - 4A Fuzzy Logic Example - 5One more thingTo estimate size of new projectFuzzy Logic Size Estimating - AdvantagesFuzzy Logic Size Estimating - DisadvantagesFuzzy Logic Sizes for C++, LOC per methodAnother widely used time estimation methodSo back to units for programsWhat did I not tell you?Things to Remember about Size & Time EstimatesCS 350, slide set 2M. OverstreetOld Dominion UniversitySpring 2005ReadingPSP text, ch. 4, 5, 6PlanningPeriod plansHow shall I spend my time?Schedule orientedProduct plansWhat are we going to do over the next several weeks?Activity orientedFor any project, these 2 plans are coupledWeekly Activity SummaryFirst step in period planning:Understand how you spend time currentlyStart with Time Recording LogTransfer to Weekly Activity SummaryExample: time logdate start stop int. timedelta activity commentsC U1/26 2:00 p 4:25 p 15,5 125 Read T Read chap 4, 5 x 21/27 5:45 p 7:05 p 80 Class Lect, chap. 4, 5 x 11/28 8:45 p 10:20 p 3,3,4 95 Read S Read Prog 1 req.1/28 10:00 p 10:30 p 30 Prog Prog 1 design1/28 10:30 p 11:05 p 35 Read T Read chap. 6 x 11/30 5:30 p 6:35 p 5 55 Prog Code prog. 11/30 8:45 p 9:20 p 3 30 Prog Test data for p.11/30 9:30 p 9:50 p 20 Prog Code prog. 11/30 9:50 p 10:25 p 35 Prog Comp & test p. 1 x 11/29 5:45 p 7:00 p 75 Class Lect. ch 5 & 6 x 11/31 4:00 p 4:45 p 45 Read T Read chap. 7 x 1Task Date Class Write ProgQuiz PrepRead TextStudySpecTotalSun 1/26 125 125Mon 80 80Tu 30 35 95 160Wed 75 75Th 140 140FriSat 45 45Totals 155 170 205 95 635Example Weekly ActivitySummaryComments: 1. numbers made up 2. recall rule-of-thumb: spend 2 hrs out of class for each hr in classExample (cont.)Total 150 0 25 145 0 420Avg. 150 0 25 145 0 420Max. 150 0 25 145 0 420Min. 150 0 25 145 0 420Previous Week’s TimeTotal 305 170 25 360 95 1055Avg. 152 170 25 175 95 522Max. 155 170 25 205 95 635Min. 150 170 25 145 95 420Task Class Wrt P Quiz Read T Read S Total Current Week’s TimesSemester total, avg,max & min!Ignore 0’s!Assume wehave onlyone weekAssignment:Pg. 43.Due next Wed., Jan. 26.Must mail to [email protected] PlanningSome definitionsProduct: something you produce, usually for someone elseProject: produces a productTask: an element of workProcess: the steps to produce a productPlans: the way a specific project is to be done; how, when, who, at what costsJob: something you do; either a project or a taskJob number logUsed to record estimated and actual timesUsed for product planningGoal: to have personal data on how long certain types of activities takeMust be based on sizeMaybe lots of other factors, but we start with sizeUsed as key input for future time estimatesJob Number ExampleSee detailed example, pg. 50 based on time log, pg. 51Detailed instructions, pg. 52See detailed term def’ns, pg. 53Partial example:programming data onlyJob Date Estimated Actual To date # Time Units Time Units Rate Time Units Rate Max Min1 2/9 120 60 168 87 0.52 168 87 0.52 0.52 0.52 Description: write program 1 (minutes per program)... (other activities types, so omitted on slide)3 2/15 205 148 245 133 0.54 413 220 0.53 0.53 0.52Description: write prog. 2...6 2/24 150 87 145 59 0.40 558 279 0.50 0.53 0.40 Description: write program 310 3/6 175 95 230 104 0.45 ___ __ ___ ___ ___ Description: write prog. 4Quick Survey ResultsWhat’s best prog. language?a. C++ 24b. Java 1c. Perld. Visual Basic 2e. Other 1You prefer to use:a. C++ 24b. Java 1c. Other 3Your largest program:a. < 500 loc 1b. > 500 & < 1 kloc 10c. > 1 & < 10 kloc 11d. > 10 & < 100 kloc 5e. > 100 kloc 1What’s a kloc?a. comments inc.? 5b. declarations? 4c. only exec. stmts? 14d. number of CRs? 5Mail to [email protected]After a while, you will have data onprogrammingavg, min, max(really need better units than “program”)Time to read a text chapterbetter units are probably pages rather than chaptersAnd other activitiesThis can help with time estimates for future similar tasksUnits for readingTable 6.1 has student data on minutes/page.Note varianceminutes/page varies from 3.3 to 7.4 for this studentStill, can be helpful to distinguish between time to read large chapter and time to read small.Plot of reading timesPlot of programming time, C++ ObjectsUnits for programmingLOC looks like a good predictor of timeIt is. Not perfect, but lots of studies show a strong correlation between LOC and development timeThe problem is we only know LOC when we’re done. We’re looking for something to predict the time required for a task.So don’t know LOC when we need themA solution is discussed laterWhat’s an LOC?Depends on formattingSee text for examplesDepends on what you countComments?Only executable lines?Compiler directives?Basic metricsFor our purposes LOC:As long as you are consistent, it will workFor CS 350, use "grep ";" *.h *.cpp | wc –l"Why? it's easy and good enough. then we all do it the same way.Basic productivity measure is LOC/hrUsually misleading to compare your numbers and my numbersCount loc differentlyLikely depends on problem domainDepends on what’s


View Full Document

ODU CS 350 - Lecture Notes

Download Lecture Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?