Software Testing Practice Exam - 1
Time allowed: 1 hour 40 QUESTIONS
NOTE: Only one answer per question
1 We split testing into distinct stages primarily because:
a)Each test stage has a different purpose.
b)It is easier to manage testing in stages.
c)We can run different tests in different environments.
d)The more stages we have, the better the testing.
2 Which of the following is likely to benefit most from the use of test tools providing test capture and replay facilities?
a)Regression testing
b)Integration testing
c)System testing
d)User acceptance testing
3 Which of the following statements is NOT correct?
a)A minimal test set that achieves 100% LCSAJ coverage will also achieve 100% branch coverage.
b)A minimal test set that achieves 100% path coverage will also achieve 100% statement coverage.
c)A minimal test set that achieves 100% path coverage will generally detect more faults than one that achieves 100% statement coverage.
d)A minimal test set that achieves 100% statement coverage will generally detect more faults than one that achieves 100% branch coverage.
4 Which of the following requirements is testable?
a)The system shall be user friendly.
b)The safety-critical parts of the system shall contain 0 faults.
c)The response time shall be less than one second for the specified design load.
d)The system shall be built to be portable.
5 Analyse the following highly simplified procedure:
Ask: “What type of ticket do you require, single or return?”
IF the customer wants ‘return’
Ask: “What rate, Standard or Cheap-day?”
IF the customer replies ‘Cheap-day’
Say: “That will be £11:20”
ELSE
Say: “That will be £19:50”
ENDIF
ELSE
Say: “That will be £9:75”
ENDIF
Now decide the minimum number of tests that are needed to ensure that all
the questions have been asked, all combinations have occurred and all
Replies given.
a)3
b)4
c)5
d)6
6 Error guessing:
a)supplements formal test design techniques.
b)can only be used in component, integration and system testing.
c)is only performed in user acceptance testing.
d)is not repeatable and should not be used.
7 Which of the following is NOT true of test coverage criteria?
a)Test coverage criteria can be measured in terms of items exercised by a test suite.
b)A measure of test coverage criteria is the percentage of user requirements covered.
c)A measure of test coverage criteria is the percentage of faults found.
d)Test coverage criteria are often used when specifying test completion criteria.
8 In prioritising what to test, the most important objective is to:
a)find as many faults as possible.
b)test high risk areas.
c)obtain good test coverage.
d)test whatever is easiest to test.
9 Given the following sets of test management terms (v-z), and activity descriptions (1-5), which one of the following best pairs the two sets?
v – test control
w – test monitoring
x - test estimation
y - incident management
z - configuration control
1 - calculation of required test resources
2 - maintenance of record of test results
3 - re-allocation of resources when tests overrun
4 - report on deviation from test plan
5 - tracking of anomalous test results
a)v-3,w-2,x-1,y-5,z-4
b)v-2,w-5,x-1,y-4,z-3
c)v-3,w-4,x-1,y-5,z-2
d)v-2,w-1,x-4,y-3,z-5
10 Which one of the following statements about system testing is NOT true?
a)System tests are often performed by independent teams.
b)Functional testing is used more than structural testing.
c)Faults found during system tests can be very expensive to fix.
d)End-users should be involved in system tests.
Question number correct answer
1A 2A 3D 4C 5A 6A 7C 8B 9C 10D
For Software testing related question :
For Software job
a)Each test stage has a different purpose.
b)It is easier to manage testing in stages.
c)We can run different tests in different environments.
d)The more stages we have, the better the testing.
2 Which of the following is likely to benefit most from the use of test tools providing test capture and replay facilities?
a)Regression testing
b)Integration testing
c)System testing
d)User acceptance testing
3 Which of the following statements is NOT correct?
a)A minimal test set that achieves 100% LCSAJ coverage will also achieve 100% branch coverage.
b)A minimal test set that achieves 100% path coverage will also achieve 100% statement coverage.
c)A minimal test set that achieves 100% path coverage will generally detect more faults than one that achieves 100% statement coverage.
d)A minimal test set that achieves 100% statement coverage will generally detect more faults than one that achieves 100% branch coverage.
4 Which of the following requirements is testable?
a)The system shall be user friendly.
b)The safety-critical parts of the system shall contain 0 faults.
c)The response time shall be less than one second for the specified design load.
d)The system shall be built to be portable.
5 Analyse the following highly simplified procedure:
Ask: “What type of ticket do you require, single or return?”
IF the customer wants ‘return’
Ask: “What rate, Standard or Cheap-day?”
IF the customer replies ‘Cheap-day’
Say: “That will be £11:20”
ELSE
Say: “That will be £19:50”
ENDIF
ELSE
Say: “That will be £9:75”
ENDIF
Now decide the minimum number of tests that are needed to ensure that all
the questions have been asked, all combinations have occurred and all
Replies given.
a)3
b)4
c)5
d)6
6 Error guessing:
a)supplements formal test design techniques.
b)can only be used in component, integration and system testing.
c)is only performed in user acceptance testing.
d)is not repeatable and should not be used.
7 Which of the following is NOT true of test coverage criteria?
a)Test coverage criteria can be measured in terms of items exercised by a test suite.
b)A measure of test coverage criteria is the percentage of user requirements covered.
c)A measure of test coverage criteria is the percentage of faults found.
d)Test coverage criteria are often used when specifying test completion criteria.
8 In prioritising what to test, the most important objective is to:
a)find as many faults as possible.
b)test high risk areas.
c)obtain good test coverage.
d)test whatever is easiest to test.
9 Given the following sets of test management terms (v-z), and activity descriptions (1-5), which one of the following best pairs the two sets?
v – test control
w – test monitoring
x - test estimation
y - incident management
z - configuration control
1 - calculation of required test resources
2 - maintenance of record of test results
3 - re-allocation of resources when tests overrun
4 - report on deviation from test plan
5 - tracking of anomalous test results
a)v-3,w-2,x-1,y-5,z-4
b)v-2,w-5,x-1,y-4,z-3
c)v-3,w-4,x-1,y-5,z-2
d)v-2,w-1,x-4,y-3,z-5
10 Which one of the following statements about system testing is NOT true?
a)System tests are often performed by independent teams.
b)Functional testing is used more than structural testing.
c)Faults found during system tests can be very expensive to fix.
d)End-users should be involved in system tests.
Question number correct answer
1A 2A 3D 4C 5A 6A 7C 8B 9C 10D
For Software testing related question :
For Software job
No comments:
Post a Comment