Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CTFL - chap 1,2,3

Total questions: 24

Worksheet time: 24mins

Name
Class
Date
1.
Which of the following statements is NOT correct?
a)
A minimal test set that achieves 100% statement coverage will generally detect more faults than one that achieves 100% branch coverage
b)
A minimal test set that achieves 100% LCSAJ coverage will also achieve 100% branch coverage.
c)
A minimal test set that achieves 100% path coverage will also achieve 100% statement coverage
d)
A minimal test set that achieves 100% path coverage will generally detect more faults than one that achieves 100% statement coverage.
2.
Which of the following requirements is testable?
a)
The response time shall be less than one second for the specified design load.
b)
The system shall be user friendly
c)
The safety-critical parts of the system shall contain 0 fault
d)
The system shall be built to be portable
3.
Software testing activities should start
a)
as soon as possible in the development life cycle
b)
as soon as the code is written
c)
during the design stage
d)
when the requirements have been formally documented
4.
Faults found by users are due to
a)
Poor software and poor testing
b)
Poor quality software
c)
bad luck
d)
insufficient time for testing
5.
What is the main reason for testing software before releasing it?
a)
to give information for a risk based decision about release
b)
to show that system will work after release
c)
to decide when the software is of sufficient quality to release
d)
to find as many bugs as possible before release
6.
Which of the following statements is not true?
a)
Verification activities should not involve testers (reviews, inspections etc)
b)
performance testing can be done during unit testing as well as during the testing of whole system
c)
The acceptance test does not necessarily include a regression test
d)
Test environments should be as similar to production environments as possible
7.
In which order should tests be run?
a)
the most important tests first
b)
the most difficult tests first(to allow maximum time for fixing
c)
the easiest tests first(to give initial confidence)
d)
the order they are thought of
8.
When should you stop testing?
a)
when the test completion criteria have been met
b)
when time for testing has run out
c)
when all planned tests have been run
d)
when no faults have been found by the tests run
9.
Which of the following is true?
a)
if u find a lot of bugs in testing, you should not be very confident about the quality of software
b)
Component testing should be black box, system testing should be white box.
c)
the fewer bugs you find, the better your testing was
d)
the more tests you run, the more bugs you will find
10.
Which of the following statements are true?
a)
Faults in requirements are the most expensive to fix
b)
Faults in program specifications are the most expensive to fix
c)
Faults in code are the most expensive to fix
d)
Faults in designs are the most expensive to fix
11.
Which of the following is not the integration strategy?
a)
Design based
b)
Big-bang
c)
Bottom-up
d)
Top-down
12.
A deviation from the specified or expected behavior that is visible to end users is called:
a)
a failure
b)
an error
c)
a fault
d)
a defect
13.
Regression testing should be performed: v) every week w) after the software has changed x) as often as possible y) when the environment has changed z) when the project manager says
a)
w & y are true, v, x & z are false
b)
v & w are true, x, y & z are false
c)
w, x & y are true, v & z are false
d)
w is true, v, x, y & z are false
14.
When should testing be stopped?
a)
it depends on the risks for the system being tested
b)
when all the planned tests have been run
c)
when time has run out
d)
when all faults have been fixed correctly
15.
Consider the following statements about early test design: i. early test design can prevent fault multiplication ii. faults found during early test design are more expensive to fix iii. early test design can find faults iv. early test design can cause changes to the requirements v. early test design normally takes more effort
a)
i, iii & iv are true; ii & v are false
b)
iii & iv are true; i, ii & v are false
c)
i, iii, iv & v are true; ii is false
d)
i & ii are true; iii, iv & v are false
16.
Which of the following is the main purpose of the integration strategy for integration testing in the small?
a)
to specify which modules to combine when, and how many at once
b)
to ensure that all of the small modules are tested adequately
c)
to ensure that the system interfaces to other systems and networks
d)
to specify how the software should be divided into modules
17.
Given the following types of tool, which tools would typically be used by developers, and which by an independent system test team? i. static analysis ii. performance testing iii. test management iv. dynamic analysis
a)
developers would typically use i and iv; test team ii and iii
b)
developers would typically use i and iii; test team ii and iv
c)
developers would typically use ii and iv; test team i and iii
d)
developers would typically use i, iii and iv; test team ii
18.
Which of the following statements is NOT true?
a)
inspection is appropriate even when there are no written documents
b)
inspection is the most formal review process
c)
inspections should be led by a trained leader
d)
managers can perform inspections on management documents
19.
The difference between re-testing and regression testing is:
a)
re-testing ensures the original fault has been removed; regression testing looks for unexpected side-effect
b)
re-testing looks for unexpected side-effects; regression testing ensures the original fault has been removed
c)
re-testing is done after faults are fixed; regression testing is done earlier
d)
re-testing is done by developers; regression testing is done by independent testers
20.
What is NOT included in typical costs for an inspection process?
a)
writing the documents to be inspected
b)
setting up forms and databases
c)
analyzing metrics and improving processes
d)
time spent on the document outside the meeting
21.
Which expression best matches the following characteristics of the review processes: 1. led by the author 2. undocumented 3. no management participation 4. led by a moderator or leader 5. uses entry and exit criteria s) inspection t) peer review u) informal review v) walkthrough
a)
s = 4 and 5, t = 3, u = 2, v = 1
b)
s = 4, t = 3, u = 2 and 5, v = 1
c)
s = 1 and 5, t = 3, u = 2, v = 4
d)
s = 4 and 5, t = 1, u= 2, v = 3
22.
Which of the following is the best source of Expected Outcomes for User Acceptance Test scripts?
a)
User requirements
b)
Actual results
c)
Program specification
d)
System specification
23.
What is the main difference between a walkthrough and an inspection?
a)
A walkthrough is lead by the author, whilst an inspection is lead by a trained moderator
b)
An inspection is lead by the author, whilst a walkthrough is lead by a trained moderator.
c)
An inspection has a trained leader, whilst a walkthrough has no leader
d)
Authors are not present during inspections, whilst they are during walkthrough
24.
Which of the following statements about reviews is true?
a)
Reviews should be performed on specifications, code, and test plans
b)
Reviews cannot be performed on user requirements specifications.
c)
Reviews are the least effective way of testing code.
d)
Reviews are unlikely to find faults in test plans.