DOC PREVIEW
ODU CS 350 - Assignment Kit for Program 4

This preview shows page 1-2-3-4 out of 13 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 13 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 13 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 13 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 13 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

OverviewProgram 4 requirementsAssignment instructionsAssignment instructionsPlanning phaseAssignment instructions, ContinuedAssignment instructions, ContinuedDevelopment phasePostmortemphaseSubmitting your assignmentGuidelines and evaluation criteria for program 4Evaluation criteriaSuggestionsCS 350: Assignment Kit forProgram 4Fall 2005Version 1 (subject to changeProgram 4 September 2005 1  2005 by Carnegie Mellon University/ODUPersonal Software ProcessAssignment Kit for Program 4OverviewOverviewThis assignment kit covers the following topics.Section See PagePrerequisites2Program 4 requirements3Search algorithm4Assignment instructions5Guidelines and evaluation criteria14Prerequisites Reading• Chapters 10 and 11Program 4 September 2005 2  2005 by Carnegie Mellon University/ODUProgram 4 requirementsProgram 6 requirementsUsing PSP2.1, write a program to find the value of x for which integrating the t function from 0 to x gives a result of p.Thoroughly test the program. At a minimum, calculate the values for the t-distribution integral for the values in Table 1. Expected values are also included in Table 1.Test ExpectedValueActual Valuep dof x0.20 6 0.5533809240.45 15 1.7530503250.495 4 4.604094871Table 1Program 4 September 2005 3  2005 by Carnegie Mellon University/ODUSearch algorithmFinding the value of xFind the value of x for which integrating the t function from 0 to x gives a result of p.• Start with a trial value for upper limit of 1 and calculate the value of the integration.• Compare it to the desired value.- if the result of the integration is too low, pick a larger trial upper limit- if the result of the integration is too high, pick a smaller trial upper limitMake successive trial integrations until the value of the integration is within an acceptable error, say 0.00001.One way to make this calculation is as follows.StepAction1Start with a trial value of x (for example, 1.0).2. Make an initial integral and test to see if it gives a proper value; if not, continue.3.If it is too low, add d = 0.5 to trial x.4.If it is too high, subtract d = 0.5 from trial x.5. Integrate again and test if the result is within an acceptable error; if not, continue.6.If too low, adjust d; add d to trial x.7.If too high, adjust d; subtract d from trial x.8. Recycle at 5.The rules for adjusting d are these.1. As long as the tests for the error of the result give the same sign of the error, leave d unchanged.2. Whenever the sign of the error changes, divide d by 2.Note that this method of adjusting d could result in a trial value of x = 0.To guard against a problem with Simpson’s method, ensure that the program will handle a 0 value of the function being integrated.Program 4 September 2005 4  2005 by Carnegie Mellon University/ODUAssignment instructionsAssignment instructionsBefore starting program 4, review the top-level PSP2.1 process script below to ensure that you understand the “big picture” before you begin. Also, ensure that you have all of the required inputs before you begin the planning phase.PSP2.1 Process ScriptPurposeTo guide the development of module-level programsEntry Criteria- Problem description- PSP2.1 Project Plan Summary form- Size Estimating template- Historical size and time data (estimated and actual)- Time and Defect Recording logs- Defect Type, Coding, and Size Measurement standards - Stopwatch (optional)Step Activities Description1 Planning - Produce or obtain a requirements statement.- Use the PROBE method to estimate the added and modified size.- Omit computing the size prediction interval for now.- Complete the Size Estimating template.- Use the PROBE method to estimate the required development time.- Omit computing the time prediction interval for now.- Complete a Task Planning template.- Complete a Schedule Planning template.- Enter the plan data in the Project Plan Summary form.- Complete the Time Recording log.2 Development - Design the program.- Omit the use of design templates but provide a design in a format of your choice. Pseudo-code is acceptable- Review the design, and fix and log all defects found.- Implement the design.- Review the code, and fix and log all defects found.- Compile the program, and fix and log all defects found.- Test the program, and fix and log all defects found.- Complete the Time Recording log.3 Postmortem Complete the Project Plan Summary form with actual time, defect, and sizedata.Exit Criteria- A thoroughly tested program- Completed Project Plan Summary form with estimated and actual data- Completed Size Estimating and Task and Schedule Planning templates - Completed Design - Completed Test Report template- Completed PIP forms- Completed Time and Defect Recording logsContinued on next pageProgram 4 September 2005 5  2005 by Carnegie Mellon University/ODUAssignment instructions, ContinuedPlanning phasePlan program 4 following the PSP2.1 planning phase and the PROBE estimating scripts.PSP2.1 Planning ScriptPurposeTo guide the PSP planning processEntry Criteria- Problem description- PSP2.1 Project Plan Summary form- Size Estimating, Task Planning, and Schedule Planning templates- Historical size and time data (estimated and actual)- Time Recording logStep Activities Description1 ProgramRequirements- Produce or obtain a requirements statement for the program.- Ensure that the requirements statement is clear and unambiguous.- Resolve any questions.2 SizeEstimate- Produce a program conceptual design.- Use the PROBE method to estimate the added and modified size of this program.- Complete the Size Estimating template and Project Plan Summary form.- Omit calculating the 70% size prediction interval. (You may use a spreadsheet.)3 ResourceEstimate- Use the PROBE method to estimate the time required to develop this program.- Omit calculating the 70% size prediction interval. (You may use a spreadsheet.)- Using the To Date % from the most recently developed program as a guide, distribute the development time over the planned project phases.4 Task andSchedule PlanningFor projects lasting several days or more, complete the Task Planning and Schedule Planning templates.5 DefectEstimate- Based on your to-date data on defects per added and modified size unit, estimate the total defects to be found in this program.- Based on your To Date % data, estimate the number of defects to be injected and removed by phase.Exit Criteria- Documented requirements statement- Program


View Full Document

ODU CS 350 - Assignment Kit for Program 4

Download Assignment Kit for Program 4
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 Assignment Kit for Program 4 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 Assignment Kit for Program 4 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?