Winter 2009 - COMP 3705 - Admin: Homeworks
Submitted by mjrutherford on Mon, 03/02/2009 - 20:18.
Homework #1 (Due January 19, 2009)
- Section 1.1 Exercises: #2
- Section 2.1 Exercises: #1, #2
For those without books, you can download it here.
Homework #2 (Due January 26, 2009)
- Section 2.2.3, Exercise #1, Graphs II, III, IV (a) – (f)
- Section 2.3, Exercise #1 (a) - (e)
Homework #3 (Due February 2, 2009)
- Section 2.3, Exercise #7 (d)
- Section 2.4, Exercise #2
- Section 2.6, Figure 2.42 (page 90):
- Design a test set that achieves edge coverage of the activity graph in Figure 2.42
- The "inputs" can be descriptive.
Homework #4 (Due February 9, 2009)
- Section 3.2, Exercise #1, predicates (1), (5), (9) and (10), parts (b) - (f) for each
- Section 3.3, Exercise #1
Homework #5 (Due February 16, 2009)
The homework can be downloaded from: http://mjrutherford.org/files/2009-Winter-COMP-3705-HW5.pdf
Homework #6 (Due February 23, 2009)
- Section 4.2, Exercise #2
- Section 4.2, Exercise #3
- Updated 2009-02-18: There are many possible choices for base choice blocks, please use the ones used in the example at the bottom of page 162: side 1 has two base choices "greater than 1" and "equal to 1" and the other sides have a single base choice block: "greater than 1"
- Note: using these base choices, there are 20 tests total, but 4 are redundant. Just list the 16 non-redundant tests
- Section 4.2, Exercise #4
Homework #7 (Due March 2, 2009)
Please use Binaries.java for the following questions:
- Create a test suite that satisfies statement (node) coverage.
- Create a test suite that satisfies branch (edge) coverage.
- Apply the Relational Operator Replacement (ROR) mutation operator to this code to create a number of mutant programs. Updated 2009-02-24: There are 4 uses of a relational operator, each use results in 7 mutants so there will be 28 mutants.
- Compute the mutant score (% of mutants killed) of your statement-coverage test suite.
- Compute the mutant score (% of mutants killed) of your branch-coverage test suite.
- Create an ROR-mutation adequate test suite.
Homework #8 (Due March 9, 2009)
Create a tactical test plan for a software component that you are currently working on (Expectation: 3-4 pages). Please refer to the sample test plan outline in the textbook on pages 227 - 230 and only address the following items:
- 4) Introduction
- 6) Features that will be tested. Describe the features and feature combinations that will be tested (at least three major features / feature combinations).
- 7) Features that will not be tested. Describe the features and feature combinations that will not be tested and most importantly, why (at least two major features that will not be tested).
- 8) Approach to Testing. For each feature, feature combination, describe the testing approach that will be used: how will test cases be generated, what criteria will be used, what oracles will be necessary
- 9) Criteria for Pass / Fail
- 13) Environmental Needs
- 17) Risks and Contingencies