ISEB Foundation Course in Software Testing PRACTICE EXAM Duration: 45 minutes. 1.
Software testing activities should start a. b. c. d.
2.
Faults found by users are due to: a. b. c. d.
3.
b. c. d.
Performance testing can be done during unit testing as well as during the testing of the whole system. The acceptance test does not necessarily include a regression test. Verification activities should not involve testers (reviews, Inspection, etc). Test environments should be as similar to production environments as possible.
When reporting faults found to developers, testers should be: a. b. c. d. e.
6.
to show that the system will work after release to decide when the software is of sufficient quality to release to find as many bugs as possible before release to give information for a risk-based decision about release to use up the time between the end of development and release
Which of the following statements is not true: a.
5.
poor quality software poor software and poor testing bad luck insufficient time for testing
What is the main reason for testing software before releasing it? a. b. c. d. e.
4.
as soon as the code is written during the design stage when the requirements have been formally documented as soon as possible in the development lifecycle
as polite, constructive and helpful as possible firm about insisting that a bug is not a "feature" if it should be fixed diplomatic, sensitive to the way they may react to criticism subservient, after all the developers know what they are doing a, b and c above
In which order should tests be run? a. b. c. d.
the most important tests first the most difficult tests first (to allow maximum time for fixing) the easiest tests first (to give initial confidence) the order they are thought of
ISEB Foundation Course in Software Testing PRACTICE EXAM Duration: 45 minutes. 7.
The later in the development life cycle a fault is discovered, the more expensive it is to fix. Why? a. b. c. d.
8.
Which is not true - The black box tester a. b. c. d.
9.
only records defects is of limited value is a valuable source of project information during testing if it contains all incidents should be used only by the test team
Increasing the quality of the software, by better development methods, will affect the time needed for testing (the testing phases) by: a. b. c.
13.
needs configuration management just like requirements, design and code should be newly constructed for each new version of the software is needed only until the software is released into production or use does not need to be documented and commented, as it does not form part of the released software system
An incident logging system a. b. c. d.
12.
a process for selecting test cases a process for determining expected outputs a way to measure the quality of software a way to describe in a test plan what has to be done all of the above
Testware (test cases, test data, etc.) a. b. c. d.
11.
should be able to understand a functional specification or requirements document should be able to understand the source code is highly motivated to find faults is creative to find the system's weaknesses
A test design technique is a. b. c. d. e.
10.
the documentation is poor, so it takes longer to find out what the software is doing. wages are rising the fault has been built in to more documentation, code, tests, etc. none of the above
reducing test time no change increasing test time
Coverage measurement a. b. c. d.
is nothing to do with testing is a partial measure of test thoroughness branch coverage should be mandatory for all software can only be applied at unit or module testing, not at system testing
ISEB Foundation Course in Software Testing PRACTICE EXAM Duration: 45 minutes. 14.
When should you stop testing? a. b. c. d. e.
15.
Which of the following is true? a. b. c. d. e. f.
16.
component testing should be black box, system testing should be white box if you find a lot of bugs in testing, you should not be very confident about the quality of the software. if you do a lot of testing, you should be confident about the quality of the software. the fewer bugs you find, the better your testing was the more tests you run, the more bugs you will find none of the above
What is the most important criterion in deciding what testing technique to use? a. b. c. d.
17.
when time for testing has run out when all planned tests have been run when the test completion criteria have been met when no faults have been found by the tests run when the software is proven perfect
how well you know a particular technique the objective of the test how appropriate the technique is for testing the application whether there is a tool to support the technique.
If the pseudocode below were a programming language, how many tests are required to achieve 100% statement coverage? 1. 2. 3. 4. 5. 6. 7. 8.
a. b. c. d.
1 2 3 4
If x=3 then Display_messageX; If y=2 then Display_messageY; Else Display_messageZ; Else Display_messageZ;
ISEB Foundation Course in Software Testing PRACTICE EXAM Duration: 45 minutes. 18.
Using the same code example as question 17, how many tests are required to achieve 100% branch/decision coverage? a. b. c. d.
19.
Which of the following is NOT a type of non-functional test? a. b. c. d.
20.
1 2 3 4
State-Transition Usability Performance Security
Which of the following tools would you use to detect a memory leak? a. b. c. d.
Static analysis Coverage analysis Dynamic analysis Memory analysis.
ISEB Foundation Course in Software Testing PRACTICE EXAM Duration: 45 minutes. 21.
Which of the following is NOT a standard related to testing? a. b. c. d.
22.
Which of the following is the component test standard? a. b. c. d.
23.
statement testing equivalence part itioning error-guessing usability testing
A program with high cyclomatic complexity is most likely to be: a. b. c. d.
27.
Design-based Big-bang Bottom-up Top-down
Which of the following is a black box test design technique? a. b. c. d.
26.
Faults in program specifications are the most expensive to fix. Faults in code are the most expensive to fix. Faults in requirements are the most expensive to fix. Faults in designs are the most expensive to fix.
Which of the following is NOT an integration strategy? a. b. c. d.
25.
IEEE 829 IEEE 610 BS7925-1 BS7925-2
Which of the following statements is true? a. b. c. d.
24.
IEEE 829 IEEE 610 BS7925-1 BS7925-2
Large Small Difficult to write Difficult to test
Which of the following is a static test? a. b. c. d.
code inspection coverage analysis usability assessment installation test
ISEB Foundation Course in Software Testing PRACTICE EXAM Duration: 45 minutes. 28.
Which of the following is the odd one out? a. b. c. d.
29.
white box glass box structural functional
A program validates a numeric field as follows: Values less than 10 are rejected, values between 10 and 21 are accepted, values greater than or equal to 22 are rejected. Which of the following input values cover all of the equivalence partitions? a. b. c. d.
30.
10, 11, 21 3, 20, 21 3, 10, 22 10, 21, 22
Using the same specification as question 29, which of the following covers the MOST boundary values? a. b. c. d.
9, 10, 11, 22 9, 10, 21, 22 10, 11, 21, 22 10, 11, 20, 21