ISTQB Foundation Question and Answer No.6
ISTQB Foundation Question and Answer No.6
Question
1. Which of the following is NOT a standard related to testing?
a. IEEE829
b. IEEE610
c. BS7925-1
d. BS7925-2
2.which of the following is the component test standard?
a. IEEE 829
b. IEEE 610
c. BS7925-1
d. BS7925-2
3. which of the following statements are true?
a. Faults in program specifications are the most expensive to fix.
b. Faults in code are the most expensive to fix.
c. Faults in requirements are the most expensive to fix
d. Faults in designs are the most expensive to fix.
4. Which of the following is not the integration strategy?
a. Design based
b. Big-bang
c. Bottom-up
d. Top-down
5. Which of the following is a black box design technique?
a. statement testing
b. equivalence partitioning
c. error- guessing
d. usability testing
6. A program with high cyclomatic complexity is almost likely to be:
a. Large
b. Small
c. Difficult to write
d. Difficult to test
7. Which of the following is a static test?
a. code inspection
b. coverage analysis
c. usability assessment
d. installation test
8. Which of the following is the odd one out?
a. white box
b. glass box
c. structural
d. functional
9. 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. 10,11,21
b. 3,20,21
c. 3,10,22
d. 10,21,22
10. Using the same specifications as question 29, which of the following covers the MOST boundary values?
a. 9,10,11,22
b. 9,10,21,22
c. 10,11,21,22
d. 10,11,20,21
11. An input field takes the year of birth between 1900 and 2004. The boundary values for testing this field are
a. 0,1900,2004,2005
b. 1900, 2004
c. 1899,1900,2004,2005
d. 1899, 1900, 1901,2003,2004,2005
12. Which one of the following are non-functional testing methods?
a. System testing
b. Usability testing
c. Performance testing
d. Both b & c
13. Which of the following tools would be involved in the automation of regression test?
a. Data tester
b. Boundary tester
c. Capture/Playback
d. Output comparator.
14. Incorrect form of Logic coverage is:
a. Statement Coverage
b. Pole Coverage
c. Condition Coverage
d. Path Coverage
15. Which of the following is not a quality characteristic listed in ISO 9126 Standard?
a. Functionality
b. Usability
c. Supportability
d. Maintainability
16. To test a function, the programmer has to write a _________, which calls the function to be tested and passes it test data.
a. Stub
b. Driver
c. Proxy
d. None of the above
17. How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment? …………
if (Condition 1)
then statement 1
else statement 2
fi
if (Condition 2)
then statement 3
fi …………
a. 1
b. 2
c. 3
d. None of the above
18. Acceptance test cases are based on what?
a. Requirements
b. Design
c. Code
d. Decision table
19. A common test technique during component test is
a. Statement and branch testing
b. Usability testing
c. Security testing
d. Performance testing
20. Statement Coverage will not check for the following.
a. Missing Statements
b. Unused Branches
c. Dead Code
d. Unused Statement
Answer
1.b 2.d 3.c 4.a 5.b 6.d 7.a 8.d 9.c 10.b
11.c 12.d 13.c 14.b 15.c 16.b 17.c 18.a 19.a 20.a