Ch 8 & 9 Quiz 5 Flashcards

1
Q

T/F: one of the main goals of a good class design is that of localizing change- making changes to one class should have cascading effect on other classes

A

F: one of the main goals of a good class design is that of localizing change- making changes to one class should have minimal effects on other classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Study #8

A

8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

T/F: one advantage of high cohesion is the decreasing of code reuse; allowing the code to handle unique cases and not worry about others

A

F: one advantage of high cohesion is the increasing of code reuse; allowing the code to handle unique cases and not worry about others

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Regression testing

A

Involves rerunning tests that have previously passed, to ensure that a new version still passes them.
- much more likely to be preformed if it can be automated
- one of easiest ways to automate regression tests is to write a program that acts as a test rig or test harness

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Study #15

A

15

How well did you know this?
1
Not at all
2
3
4
5
Perfectly