CSC444
– Software Engineering – Assignment 6
Assignment: Write a program to calculate
a LOC estimate and the 90 percent and 70 percent prediction intervals for this
estimate.
Due: November 21, at start of
lab session.
Weight: 5% of final grade.
Requirements:
- If your previous assignments 4 and 5 are of high-enough quality,
you are encouraged to use them for this assignment. You’d use Assignment 4
to store the sets of data of previous estimates in a linked list, and
Assignment 5’s Simpson Rule with a t
distribution.
- Before you do the assignment, you should understand how to
calculate prediction intervals. Section A8 of the book covers this topic.
Follow the procedure stated in that section.
- Hint from the book (page 757): “Note that to calculate the value of
t, you integrate from 0 to a trial value of t. You find the correct value
by successively adjusting the trial value of t up or down until the p
value is within an acceptable error of 0.85 (for a 70% prediction
interval) or 0.95 (for a 90% prediction interval)”.
- Note that the format for input parameters and output results is
left open for you. Decide how will your program receive its input and
produce its output.
- You are responsible for resolving any issue not covered by these
requirements. Document all your assumptions and decisions wherever
requirements are unclear.
Process:
We are using the PSP1.1
process again. The forms needed for the process are pages 5, 6, 14, 16 and 17
of the file: http://www.cs.toronto.edu/~jaranda/csc444/forms.pdf
Deliverables:
Deliver the following documents and forms, in
physical form, in this order:
- PSP1.1 Project Plan Summary
- Size Estimating Template
- Time Recording Log
- Defect Recording Log
- Source code printout
- Test summary, indicating how you ensured that the code is correct.
Include test code printouts if you automated tests (recommended)
- No report is required
this time, although you should include all assumptions taken while doing
the program.
Marking scheme:
- 70% - adherence to the PSP, correct and complete use of forms
- 30% - quality of assignment code, test code (if any) and test
summary