A washing machine has three temperature bands for different kinds of fabrics: fragile fabrics are washed at temperatures between 15 and 30 degrees Celsius; normal fabrics are washed at temperatures between 31 and 60 degrees Celsius; heavily soiled and tough fabrics are washed at temperatures between 61 and 100 degrees Celsius.
Which of the following contains only values that are in different equivalence partitions? A. 15, 30, 60
Correct Answer:
C
Answer (A) includes two values from the lower partition, answer (B) contains two values from the second partition, answer (D) contains one value that is invalid (out of range).
What can testing demonstrate?
Correct Answer:
B
Important consequences of the impossibility of complete testing are ..?
Correct Answer:
D
Which of the following are valid justifications for developers testing their own code during unit testing?
(i) Their lack of independence is mitigated by independent testing during system and acceptance testing.
(ii) A person with a good understanding of the code can find more defects more quickly using white-box techniques.
(iii) Developers have a better understanding of the requirements than testers.
(iv) Testers write unnecessary incident reports because they find minor differences between the way in which the system behaves and the way in which it is specified to work.
Correct Answer:
A
It is unlikely that developers will have a better understanding of the requirements than testers, partly because testers work closely with the user community (and may be drawn from it) and partly because developers seldom work with the complete set of requirements in a medium to large development.
Testers may raise incidents related to the difference between user expectations and the specification, but these are not unnecessary. Such issues are more likely to arise at the later stages of testing.
Early testing (unit testing) is usually done most effectively by developers with a good understanding of the code and the development environment; they can be more efficient and more effective at this level. Later independent stages of testing offset any disadvantage from the lack of independence at unit testing level.
What is important to do when working with software development models?
Correct Answer:
A