ISEB-SWT2

ISEB-SWT2 practice questions, page 5 of 5, with answer review and explanations.

Question 21

Given the following sample of pseudo code: 01 Input number of male rabbits 02 Input number of female rabbits 03 If male rabbits > 0 and female rabbits > 0 then 04 Input Do you want to breed (Yes / No) 05 If breed = "No" 06 Print deep male and female rabbits apart! 07 End if 08 End If. Which of the following test cases will ensure that statement "06" is executed?

  1. male rabbits = 1, female rabbits = 1, breed = Yes male rabbits = 1, female rabbits = 1, breed = "Yes"
  2. male rabbits = 1, female rabbits = 1, breed = No male rabbits = 1, female rabbits = 1, breed = "No"
  3. male rabbits = 1, female rabbits = 2, breed = Yes male rabbits = 1, female rabbits = 2, breed = "Yes"
  4. male rabbits = 1, female rabbits = 0, breed = No male rabbits = 1, female rabbits = 0, breed = "No"

Question 22

Which of the following is a standard for test documentation?

  1. IEEE Std. 1028
  2. EEE Std. 1044
  3. ISO 9126.
  4. IEEE Std. 829

Question 23

Which of the following statements describe why experience-based test design techniques are useful? a) They can help derive test cases based on analysis of specification documents. b) They can identify tests not easily captured by formal techniques. c) They make good use of tester knowledge, intuition and experience. d) They are an effective alternative to formal test design techniques.

  1. a and b
  2. b and d
  3. c and d
  4. b and c