ISTQB Foundation Sample Question Paper No. 14

1. What is failure?
A. Deviation from expected result to actual result
B. Defect in the software.
C. Error in the program code.
D. Fault in the system.

2. People who don’t participate in technical reviews
A. Analysts
B. Management
C. Developers
D. Testers

3. What type of testing is done to supplement the rigorous testing?
A. Regression testing.
B. Integration testing.
C. Error Guessing
D. System testing.

4. Capture and replay facilities are least likely to be used to ….
A. Performance testing
B. Recovery testing
C. GUI testing
D. User requirements.

5. What is the smallest number of test cases required to Provide 100% branch coverage?
If(x>y) x=x+1;
else y=y+1;
while(x>y)
{
y=x*y; x=x+1;
}
A. 1
B. 2
C. 3
D. 4

6. Cyclomatic complexity is used to calculate
A. number of independent paths in the basis set of a program
B. number of binary decisions + 1
C. upper bound for the number of tests that must be conducted to ensure that all statements have been executed at least once
D. number of branches and decisions

7. If a candidate is given an exam of 40 questions, should get 25 marks to pass (61%) and should get 80% for distinction, what is equivalence class.
A. 23, 24, 25
B. 0, 12, 25
C. 30, 36, 39
D. 32,37,40

8. Match the following:
1. Test estimation
2. Test control
3. Test monitoring
a. measures of tracking process
b. effort required to perform activities
c. reallocation of resources
A. 1-b, 2-c, 3-a
B. 1-b, 2-a, 3-c
C. 1-c, 2-a, 3-b
D. 1-a, 2-b, 3-c

9. One of the following is not a part of white box testing as per BS7925-II standards.
A. Random testing
B. Data Flow testing.
C. Statement testing.
D. Syntax testing.

10. Exclusive use of white box testing in a test-phase will:
A. Ensure the test item is adequately tested.
B. Make the need for black-box testing redundant.
C. Run the risk that the requirements are not satisfied.
D. Suffices for the unit testing phase.

11. Match the following.
1. Configuration identification
2. Configuration control
3. Status reporting
4. Configuration auditing
a. Maintains of CI’s in a library
b. Checks on the contents of the library
c. Function recording and tracking problems.
d. Requires the all CI’s and their versions in the system are known
A. 1-d, 2-c, 3-d, 4-a.
B. 1-d, 2-a, 3-c, 4-b.
C. 1-a, 2-b, 3-d, 4-c.
D. 1-c, 2-b, 3-a, 4-d.

12. Cost of the reviews will not include.
A. Review process itself
B. Metrics analysis
C. Tool support.
D. Process improvement.

13. What type of testing will you perform on internet banking solution?
A. System integration
B. Functional testing
C. Non-functional testing.
D. Requirements testing

14. Which tool will be used to test the flag memory leaks and unassigned pointers
A. Dynamic analysis tool
B. Static Analysis tool.
C. Maintenance tool.
D. Configuration tool.

15. Which of the following is not included in Test Plan.
A. Features to be tested.
B. Environmental needs.
C. Suspension criteria.
D. Expected results.

16. A piece of software has been given….what tests in the Following will you perform?
1) Test the areas most critical to business processes
2) Test the areas where faults will be maximum
3) Test the easiest functionalities
A. 1&2 are true and 3 is false.
B. 1,2&3 are true.
C. 1 is true, 2&3 are false.
D. 1&2 are false, 3 is true.

17. Amount of testing performed will not depend on
A. Risks involved
B. Contractual requirements
C. Legal requirements
D. Test data.

18. Which of the following provides the biggest potential cost saving from use of CAST?
A. Test management
B. Test design
C. Test planning
D. Test execution

19. Testing is not done to ….
A. Find faults
B. Improve quality
C. Check user friendliness.
D. Improve software accuracy

20. Software quality is not relevant to …
A. Correctness
B. Usability
C. Viability
D. Reusability.

21. Which of the following are false?
A. Incidents should always be investigated and resolved.
B. Incidents occur when expected and actual results differ.
C. Incidents can be analyzed to assist in test process improvement.
D. An incident can be raised against documentation.

22. Which of the following is a type of non-functional testing?
A. Usability testing.
B. Statement Coverage.
C. Dataflow testing.
D. Cause-effect graphing.

23. To make a test effective it is most important that:
A. It is easy to execute.
B. It is designed to detect faults if present.
C. The expected outcome is specified before execution.
D. It is unlikely to delay progress.

24. Error guessing is:
A. An appropriate way of deriving system tests.
B. Only used if good requirements are not available.
C. Only used when good requirements are available.
D. The most appropriate way of deriving system tests.


25. A standard for software testing terminology is:
A. IEEE 802.11
B. ISO 9001
C. BS 7925-1
D. BS 7925-2

26. Which of the following is true of V-model?
A. It includes the verification of designs.
B. It states that modules are tested against user requirements.
C. It specifies the test techniques to be used.
D. It only models the testing phase.

27. Which of the following is NOT part of a high level test plan?
A. Functions not to be tested.
B. Environmental requirements.
C. Analysis of Specifications.
D. Entry and Exit criteria.

28. When do you stop testing?
A. When the specified number of faults are found.
B. When the test completion criteria are met.
C. When all high and medium priority tests are complete.
D. When all statements have been executed.

29. Which of the following is least important in test management?
A. Estimating test duration.
B. Incident Management.
C. Configuration Management.
D. De-bugging.

30. How would you estimate the amount of re-testing likely to be required?
A. Metrics from previous similar projects.
B. Discussions with the development team.
C. Time allocated for regression testing.
D. Both A & B.

31. Which of the following statements is true of static analysis:
A. Compiling code is not a form of static analysis.
B. Static analysis need not be performed before imperative code is executed.
C. Static analysis can find faults that are hard to find with
dynamic testing.
D. Extensive statistic analysis will not be needed if white- Box testing is to be performed.

32. Regression testing always involves
A. Testing whether a known software fault been fixed.
B. Executing a large number of different tests.
C. Testing whether modifications have introduced adverse side effects.
D. Using a test automation tool.

33. A field failure occurs when multiple users access a system. Which of the following is true?
A. This is an acceptable risk of a multi-user system.
B. Insufficient functional testing has been performed.
C. This indicates an important non-functional requirement was not specified and tested.
D. It is not possible to test against such events prior to release.

34. Integration testing in the large involves:
A. Testing the system when combined with other systems.
B. Testing a sub-system using stubs and drivers.
C. Testing a system with a large number of users.
D. Combing software components and testing them in one go.

35. Data flow analysis studies:
A. How rapidly data is transferred through a program.
B. The rate of change of data values as a program executes.
C. The use of data on paths through the code.
D. The intrinsic complexity of the code.

36. The oracle assumption is that:
A. There is some existing system against which test output may be checked.
B. The tester knows everything about the software under test.
C. The tester can routinely identify the correct outcome of a test.
D. Tools are used to check the results of testing.

36 The following text will be used in Q.37 and Q.38. 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 is taxed at 22%
Any further amount is taxed at 40%

37. To the nearest $ which of these is a valid Boundary Value Analysis test case?
A. $1500
B. $32001
C. $28000
D. $33501

38. Which of these groups of numbers would fall into the same equivalence class?
A. $5800; $28000; $32000
B. $0; $200; $4200
C. $5200; $5500; $28000
D. $28001; $32000; $35000

39. Which of the following is NOT a characteristic of User Acceptance Testing?
A. Use of automated test execution tools.
B. Testing performed by users.
C. Testing against acceptance test criteria.
D. Integration of system with user documentation.

40. For software to be reliable it must:
A. Be easy to maintain.
B. Be unlikely to cause a failure.
C. Never fail under any circumstances.
D. Be written according to coding standards

Answers:
1. A
2. B
3. C
4. D
5. B
6. B
7. D
8. A
9. D
10. C
11. B
12. C
13. C
14. A
15. D
16. A
17. D
18. D
19. D
20. C
21. C
22. A
23. C
24. D
25. C
26. B
27. C
28. B
29. D
30. A
31. A
32. C
33. C
34. A
35. B
36. C
37. D
38. A
39. A
40. B

ISTQB Foundation Sample Question Paper No. 13

1. The process starting with the terminal modules is called -
a. Top-down integration
b. Bottom-up integration
c. None of the above
d. Module integration

2. The inputs for developing a test plan are taken from
a. Project plan
b. Business plan
c. Support plan
d. None of the above

3. If an expected result is not specified then:
a. We cannot run the test
b. It may be difficult to repeat the test
c. It may be difficult to determine if the test has passed or failed
d. We cannot automate the user inputs

4. Which of the following could be a reason for a failure
1) Testing fault
2) Software fault
3) Design fault
4) Environment Fault
5) Documentation Fault
a. 2 is a valid reason; 1,3,4 & 5 are not
b. 1,2,3,4 are valid reasons; 5 is not
c. 1,2,3 are valid reasons; 4 & 5 are not
d. All of them are valid reasons for failure

5. Test are prioritized so that:
a. You shorten the time required for testing
b. You do the best testing in the time available
c. You do more effective testing
d. You find more faults

6. Which of the following is not a static testing technique
a. Error guessing
b. Walkthrough
c. Data flow analysis
d. Inspections

7. Which of the following statements about component testing is not true?
a. Component testing should be performed by development
b. Component testing is also known as isolation or module testing
c. Component testing should have completion criteria planned
d. Component testing does not involve regression testing

8. During which test activity could faults be found most cost effectively?
a. Execution
b. Design
c. Planning
d. Check Exit criteria completion

9. Which, in general, is the least required skill of a good tester?
a. Being diplomatic
b. Able to write software
c. Having good attention to detail
d. Able to be relied on

10. The purpose of requirement phase is
a. To freeze requirements
b. To understand user needs
c. To define the scope of testing
d. All of the above

11. Verification is:
a. Checking that we are building the right system
b. Checking that we are building the system right
c. Performed by an independent test team
d. Making sure that it is what the user really wants

12. A regression test:
a. Will always be automated
b. Will help ensure unchanged areas of the software have not been affected
c. Will help ensure changed areas of the software have not been affected
d. Can only be run during user acceptance testing

13. Function/Test matrix is a type of
a. Interim Test report
b. Final test report
c. Project status report
d. Management report

14. Defect Management process does not include
a. Defect prevention
b. Deliverable base-lining
c. Management reporting
d. None of the above

15. What is the difference between testing software developed by contractor outside your
country, versus testing software developed by a contractor within your country?
a. Does not meet people needs
b. Cultural difference
c. Loss of control over reallocation of resources
d. Relinquishments of control

16. Software testing accounts to what percent of software development costs?
a. 10-20
b. 40-50
c. 70-80
d. 5-10

17. A reliable system will be one that:
a. Is unlikely to be completed on schedule
b. Is unlikely to cause a failure
c. Is likely to be fault-free
d. Is likely to be liked by the users

18. How much testing is enough
a. This question is impossible to answer
b. The answer depends on the risks for your industry, contract and special requirements
c. The answer depends on the maturity of your developers
d. The answer should be standardized for the software development industry

19. Which of the following is not a characteristic for Testability?
a. Operability
b. Observability
c. Simplicity
d. Robustness

20. Cyclomatic Complexity method comes under which testing method.
a. White box
b. Black box
c. Green box
d. Yellow box

21. Which of these can be successfully tested using Loop Testing methodology?
a. Simple Loops
b. Nested Loops
c. Concatenated Loops
d. All of the above

22. To test a function, the programmer has to write a ______, which calls the function and
passes it test data.
a. Stub
b. Driver
c. Proxy
d. None of the above

23. Equivalence partitioning is:
a. A black box testing technique used only by developers
b. A black box testing technique than can only be used during system testing
c. A black box testing technique appropriate to all levels of testing
d. A white box testing technique appropriate for component testing

24. When a new testing tool is purchased, it should be used first by:
a. A small team to establish the best way to use the tool
b. Everyone who may eventually have some use for the tool
c. The independent testing team
d. The vendor contractor to write the initial scripts

25. Inspections can find all the following except
a. Variables not defined in the code
b. Spelling and grammar faults in the documents
c. Requirements that have been omitted from the design documents
d. How much of the code has been covered

Answers:
1)- b            14) - b
2)- a            15) - b
3)- c            16) - b
4)- d            17) - b
5)- b           18) - b
6)- a           19) - d
7)- d           20) - a
8 )- c          21) - d
9) - b         22) - b
10) - d       23) - c
11) -b        24) - a
12) - b       25) - d
13) - c