Docsity

Software Tools and Methods Assignment 3: Estimation and Unigram Website Creation, Assignments of Computer Science

Toggle sidebar
bg1
Informatics 111 / CSE 121: Software Tools and Methods
Fall Quarter 2006
Assignment 3
Due Friday, December 1, 2006 at 11:59 pm
Part 1. Effort Estimation (25 points)
This problem is the similar to Part 1 from the previous two assignments. If you added or
changed categories previously, you should be consistent and continue to use the same
categories.
1.1 A priori estimate (3 points) When you start working on this assignment, write down an
estimate of how long it will take you to do parts 1 and 2 (two separate estimates part). You are
not required to use the table from Assignment 2 to generate a more accurate estimate. However,
you may use that technique if you feel it will provide a more accurate estimate.
1.2 Logging (10 points) As you are working on the assignment, record what you are doing
and how long you spent, in the same manner as Assignments 1 and 2. For this question, quantity
of data, i.e. number of entries, is important. As a rule of thumb, you should add a log entry every
time you switch tasks or at least one entry per hour. However, if you do two or three things in
half an hour, you must have a log entry for each of them. You do not need to include time for
logging, but should include the time spent answering the other parts of this question.
Keep a history of your logs. Either
• Place your log under CVS and submit a screen shot of the "CVS Resource History"
view in the CVS Perspective of Eclipse, just as in Assignment 2; or
• Put a two digit numeric suffix at the end of your log file name (e.g. "Log-01.doc"),
and every time you save the log, use Save As and increment the suffix. Submit a
screen shot of Windows Explorer showing all the versions, including the Date
Modified field.
For either screen print, arrange the windows so that what you include in your report is
completely legible and large enough to read easily.
1.3 Re-estimation. (3 points) Take the total a priori estimate from 1.1 and divide the number
in half. When you have worked this many hours on the assignment, update your estimates. Your
new estimates should take into the account the amount of time that tasks have taken so far. Also,
make a note in your log indicating when you do this re-estimate.
pf3
pf4

Partial preview of the text

Download Software Tools and Methods Assignment 3: Estimation and Unigram Website Creation and more Assignments Computer Science in PDF only on Docsity!

Informatics 111 / CSE 121: Software Tools and Methods

Fall Quarter 2006

Assignment 3

Due Friday, December 1, 2006 at 11:59 pm

Part 1. Effort Estimation (25 points)

This problem is the similar to Part 1 from the previous two assignments. If you added or changed categories previously, you should be consistent and continue to use the same categories.

1.1 A priori estimate (3 points) When you start working on this assignment, write down an

estimate of how long it will take you to do parts 1 and 2 (two separate estimates part). You are not required to use the table from Assignment 2 to generate a more accurate estimate. However, you may use that technique if you feel it will provide a more accurate estimate.

1.2 Logging (10 points) As you are working on the assignment, record what you are doing

and how long you spent, in the same manner as Assignments 1 and 2. For this question, quantity of data, i.e. number of entries, is important. As a rule of thumb, you should add a log entry every time you switch tasks or at least one entry per hour. However, if you do two or three things in half an hour, you must have a log entry for each of them. You do not need to include time for logging, but should include the time spent answering the other parts of this question.

Keep a history of your logs. Either

  • Place your log under CVS and submit a screen shot of the "CVS Resource History" view in the CVS Perspective of Eclipse, just as in Assignment 2; or
  • Put a two digit numeric suffix at the end of your log file name (e.g. "Log-01.doc"), and every time you save the log, use Save As and increment the suffix. Submit a screen shot of Windows Explorer showing all the versions, including the Date Modified field. For either screen print, arrange the windows so that what you include in your report is completely legible and large enough to read easily.

1.3 Re-estimation. (3 points) Take the total a priori estimate from 1.1 and divide the number

in half. When you have worked this many hours on the assignment, update your estimates. Your new estimates should take into the account the amount of time that tasks have taken so far. Also, make a note in your log indicating when you do this re-estimate.

1.4 Analysis and Error Calculation (4 points) Tally up the time spent in each of the tasks

and on the entire assignment. Calculate the error for each task for each of the estimates. Produce a bar graph of the time spent. Here's what a table of summary statistics might look like.

Task ActualTime Percentage InitialEstimate Error RevisedEstimate Error

1.1 – 1.

Total (^) 100.

[11/28 clarification: you don't need to (but may) estimate by subsections as in the table above. If you estimate by parts, then your table will have only two rows of data.]

As always, the error is the amount off, divided by the initial estimate, and expressed as a percentage.

1.5 Discussion (5 points) You have used three different estimation techniques, simple

estimation with intervals, estimation by category, and re-estimation. Compare and contrast the three techniques. What are the strengths and weaknesses of each? Which method is most effective? Can the techniques be combined? What are the advantages and disadvantages of doing so?

Deliverables

The following go in your Report.doc or Report.pdf:

  • Initial estimates
  • Revised estimates (after half way through estimated time)
  • The final log of your time spent on the assignment
  • Screen print showing history of log
  • Summary table and bar graph
  • Discussion of estimation method and resulting error

2.5. Testing (20 points)

Think of your Unigram website as a computer system (which it is, of course). It needs to be tested. JUnit-inspired testing tools for HTML and JavaScript do exist, but we won't be using them. Instead, you will write down eight test cases, and then determine whether your website passes these tests. At least three of the test cases should test for usability and user-friendliness. At least three of the test cases should focus on the correct functioning of the JavaScript used in web page 2.4.

For each test case, specify

  • what part of the system the test case pertains to;
  • how you will exectute the test case;
  • the input to the test case;
  • the expected output or result;
  • the actual output or result, after you executed the test case on your website. (If this isn't the same as the expected output, explain why.)

In your Report, list your eight test cases, and then include a brief discussion about anything interesting you noticed while testing the website.

2.6. Use Cases and Use Case Diagrams (10 points)

Think of your Unigram website as a computer system (which it is, of course). Although the above assignment comprises a fairly complete technical specification of the system, in this part of the assignment you will write two Use Cases, each with a diagram and a scenario in the format of http://www.ics.uci.edu/~frost/inf111/UseCases.pdf pages 10-14 (see UseCaseTemplate.doc).

Your two Use Case diagrams and two scenarios go in your Report.

Handing In Your Assignment

Your assignment must be submitted electronically to checkmate.ics.uci.edu. Submit two files.

  1. Report.doc or Report.pdf, containing deliverables from Part 1 and Part 2.
  2. Unigram.zip, inluding the HTML for your web pages, the revised unigram.js, and any image or other files your website uses.