Software Quality 2002, Exercises

Index   Updated 28.8.2002

Exercise sets

When dokumenting the solutions to the exercises use a word processor and do not write by hand. Using a word processor saves time both for you and certainly for me, that have to check your solutions.

Exercise set seven: due in written by week 45:
1. Exercise 11, page 325.
2. Exercise 26, page 326.


Exercise set six: due in written by week 44:
1. Exercise 3, page 325.
2. Verify by computing for hand the density complexity c =1.94 of the flowgraph in Figure 8.10.
3. Exercise 9, page 325.
4. Exercise 10, page 325.


Exercise set five: due in written by week 43:
1. Exercise 2, page 276.
2. Exercise 7, page 277.
3. For the spelling checker problem, give the interval in which FP will be contained, independent of how the subjective weigths are chosen.
4. Exercise 2, page 325.


Exercise set four: due in written by week 42.
1. What form could be used for collecting the data in the experiment of Exercise set three?
2. Exercise 11, page 237.
3. For the data in 2. above, produce the three scatter plots (LOC, CFP), (LOC, Faults), and (CFP, Faults). Identify outliers. How are the conclusions that you draw related to those drawn in 2?


Exercise set three: due in written by week 41.
Assume that you are to make an investigation in order to find out if a graphical tool PICA would be helpful in programming.

PICA allows top down design by refinement of a crude box into a whole page. PICA can be used in one of three modes: design, validation, and code generation. In the design phase it will only accept structured programming constructs and check for correct syntax. In the validation phase it will check that all constructs are marked as validated. Code generation can only be made if the syntax is correct and the whole program is validated. The graphs and the code can be printed to be a part of the documentation.

You are going to use a programming class for your investigation. There are 25 third-year students in the class, (6 good, 15 average, and 4 weak). You have decided to use a single programming task. You have phased the programming task into three stages: A) initial design task, B) successful execution of acceptance test data, and C) successful implementation of change requests.

Describe your experimental plan. Be realistic in your measurements.


Exercise set two: due in written by week 40.
Exercises 1, 13, 15 pages 68-69.
Exercises 2, 4, 8, pages 112-113.


Exercise set one: due in written by week 39.
Exercises 2-12, pages 68-69.