SWT301_TEST 3 QUESTIONS AND
ANSWERS
: Which of following statements is true? Select ALL correct options Regression testing
should be
performed:
i Once a month
ii When a defect has been fixed
iii When the test environment has changed
iv When the software has changed
A. ii and iv.
B. ii, iii and iv.
C. i, ii and iii.
D. i and iii. - Correct Answers -B
Which of the following is an objective of a pilot project for the introduction of a testing
tool?
A. Evaluate testers� competence to use the tool.
B. Complete the testing of a key project.
C. Assess whether the benefits will be achieved at reasonable cost.
D. Discover what the requirements for the tool are. - Correct Answers -C
In a REACTIVE approach to testing when would you expect the bulk of the test design
work to
be begun?
A. After the software or system has been produced.
B. During development.
C. As early as possible.
D. During requirements analysis - Correct Answers -A
Which activity in the fundamental test process includes evaluation of the testability of
the
requirements and system?
A. Test analysis and design.
B. Test planning and control.
C. Test closure.
D. Test implementation and execution. - Correct Answers -A
Which of the following defines the sequence in which tests should be executed?
, A. Test plan.
B. Test procedure specification.
C. Test case specification.
D. Test design specification. - Correct Answers -B
Which of the following is a characteristic of good testing in any life cycle model?
A. All document reviews involve the development team.
B. Some, but not all, development activities have corresponding test activities.
C. Each test level has test objectives specific to that level.
D. Analysis and design of tests begins as soon as development is complete. - Correct
Answers -C
In a system designed to work out the tax to be paid:
An employee has � 4000 of salary tax free.
The next � 1500 is taxed at 10%.
The next � 28000 after that is taxed at 22%.
Any further amount is taxed at 40%.
To the nearest whole pound, which of these groups of numbers fall into three
DIFFERENT equivalence
classes?
A. � 4000; � 5000; � 5500.
B. � 32001; � 34000; � 36500.
C. � 28000; � 28001; � 32001.
D. � 4000; � 4200; � 5600. - Correct Answers -D
: Considering the following pseudo-code, calculate the MINIMUM number of test cases
for
statement coverage, and the MINIMUM number of test cases for decision coverage
respectively.
READ A
READ B
READ C
IF C>A THEN
IF C>B THEN
PRINT "C must be smaller than at least one number"
ELSE
PRINT "Proceed to next stage"
ENDIF
ELSE
PRINT "B can be smaller than C"
ENDIF
A. 3, 3.
B. 2, 3.
C. 2, 4.
D. 3, 2 - Correct Answers -A
ANSWERS
: Which of following statements is true? Select ALL correct options Regression testing
should be
performed:
i Once a month
ii When a defect has been fixed
iii When the test environment has changed
iv When the software has changed
A. ii and iv.
B. ii, iii and iv.
C. i, ii and iii.
D. i and iii. - Correct Answers -B
Which of the following is an objective of a pilot project for the introduction of a testing
tool?
A. Evaluate testers� competence to use the tool.
B. Complete the testing of a key project.
C. Assess whether the benefits will be achieved at reasonable cost.
D. Discover what the requirements for the tool are. - Correct Answers -C
In a REACTIVE approach to testing when would you expect the bulk of the test design
work to
be begun?
A. After the software or system has been produced.
B. During development.
C. As early as possible.
D. During requirements analysis - Correct Answers -A
Which activity in the fundamental test process includes evaluation of the testability of
the
requirements and system?
A. Test analysis and design.
B. Test planning and control.
C. Test closure.
D. Test implementation and execution. - Correct Answers -A
Which of the following defines the sequence in which tests should be executed?
, A. Test plan.
B. Test procedure specification.
C. Test case specification.
D. Test design specification. - Correct Answers -B
Which of the following is a characteristic of good testing in any life cycle model?
A. All document reviews involve the development team.
B. Some, but not all, development activities have corresponding test activities.
C. Each test level has test objectives specific to that level.
D. Analysis and design of tests begins as soon as development is complete. - Correct
Answers -C
In a system designed to work out the tax to be paid:
An employee has � 4000 of salary tax free.
The next � 1500 is taxed at 10%.
The next � 28000 after that is taxed at 22%.
Any further amount is taxed at 40%.
To the nearest whole pound, which of these groups of numbers fall into three
DIFFERENT equivalence
classes?
A. � 4000; � 5000; � 5500.
B. � 32001; � 34000; � 36500.
C. � 28000; � 28001; � 32001.
D. � 4000; � 4200; � 5600. - Correct Answers -D
: Considering the following pseudo-code, calculate the MINIMUM number of test cases
for
statement coverage, and the MINIMUM number of test cases for decision coverage
respectively.
READ A
READ B
READ C
IF C>A THEN
IF C>B THEN
PRINT "C must be smaller than at least one number"
ELSE
PRINT "Proceed to next stage"
ENDIF
ELSE
PRINT "B can be smaller than C"
ENDIF
A. 3, 3.
B. 2, 3.
C. 2, 4.
D. 3, 2 - Correct Answers -A