What benefits do static analysis tools have over test execution tools?
a.A. Static analysis tools find defects earlier in the life cycle.
b.B. Static analysis tools can be used before code is written.
c.C. Static analysis tools test that the delivered code meets business requirements.
d.D. Static analysis tools are particularly effective for regression testing. ** Answ** a
Which of the following principles should be followed when introducing a test tool into an
organization? (i) Assessing organizational maturity to establish whether a tool will
provide expected benefits. (ii) Requiring a quick payback on the initial investment. (iii)
Including a requirement for the tool to be easy to use without having to train unskilled
testers. (iv) Identifying and agreeing requirements before evaluating test tools.
a.A. (i) and (ii)
b.B. (i) and (iv)
c.C. (ii) and (iii)
d.D. (iii) and (iv) ** Answ** b
A system is designed to accept values of examination marks as follows: Fail :0-39
inclusive Pass :40-59 inclusive Merit :60-79 inclusive Distinction :80-100 inclusive In
which of the following sets of values are all values in different equivalence partitions?
a.A. 25, 40, 60, 75
b.B. 0, 45, 79, 87
c.C. 35, 40, 59, 69
d.D. 25, 39, 60, 81 ** Answ** b
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.A. 15, 30, 60
b.B. 20, 35, 60
c.C. 25, 45, 75
d.D. 12, 35, 55 ** Answ** c
Consider the following pseudo code: 1 Begin 2 Read Time 3 If Time < 12 Then 4
Print(Time, "am") 5 Endif 6 If Time > 12 Then 7 Print(Time −12, "pm") 8 Endif 9 If Time
, = 12 Then 10 Print (Time, "noon") 11 Endif 12 End How many test cases are needed to
achieve 100 per cent decision coverage?
a.A. 1
b.B. 2
c.C. 3
d.D. 4 ** Answ** c
Consider the following pseudo code: 1 Begin 2 Read Time 3 If Time < 12 Then 4
Print(Time, "am") 5 Endif 6 If Time > 12 Then 7 Print(Time −12, "pm") 8 Endif 9 If Time
= 12 Then 10 Print (Time, "noon") 11 Endif 12 End If the test cases Time = 11 and Time
= 15 were input, what level of decision coverage would be achieved?
a.A. 100% or 6/6
b.B. 50% or 3/6
c.C. 67% or 4/6
d.D. 83% or 5/6 ** Answ** d
A software component has the code shown below: Program BiggestA, Biggest: Integer
Begin Read A Biggest = 10 While A > 0 Do If A > Biggest Then Biggest = A Endif Read
A Enddo End The component has exit criteria for component testing that include 100%
statement coverage. Which of the following test cases will satisfy this criterion?
a.A. 0
b.B. 10, 0
c.C. 10, 5, 0
d.D. 10, 11, 0 ** Answ** d
Which option is part of the implementation and execution area of the fundamental test
process?
a.Developing the tests.
b.Comparing actual and expected results
c.Writing a test summary.
d.Analysing lessons learnt for future releases. ** Answ** b
Which statement is most true?
a.A.Different testing is needed depending upon the application.
b.B. All software is tested in the same way.
c.C. A technique that finds defects will always find defects.
d.D. A technique that has found no defects is not useful. ** Answ** a
A bug or defect is:
a.A. A mistake made by a person;
b.B. A run-time problem experienced by a user;
c.C. The result of an error or mistake;
d.D. The result of a failure, which may lead to an error? ** Answ** c
What is retesting?
a.A. Running the same test again in the same circumstances to reproduce the problem.