1) Order numbers on a stock control system can range between 10000 and 99999 inclusive.
Which of the following inputs might be a result of designing tests for only valid equivalence
classes and valid boundaries:
a) 1000, 5000, 99999
C
b) 9999, 50000, 100000
c) 10000, 50000, 99999
d) 10000, 99999
e) 9999, 10000, 50000, 99999, 100000
2) Which of the following is NOT a black box technique:
a) Equivalence partitioning
b) State transition testing C
c) Syntax testing
d) Boundary value analysis
3) Error guessing is best used
a) As the first approach to deriving test cases
b) After more formal techniques have been applied
B
c) By inexperienced testers
d) After the system has gone live
e) Only by end users
4) Which is not true-The black box tester
a. should be able to understand a functional specification or requirements document
b. should be able to understand the source code. B
c. is highly motivated to find faults
d. is creative to find the system's weaknesses.
5) A test design technique is
a. a process for selecting test cases
A Test design technique là design test cases làm sao để có được MIN test case sets nhưng độ
b. a process for determining expected outputs
bao phủ test là MAX.
c. a way to measure the quality of software
d. a way to measure in a test plan what has to be done
6) Which of the following is true?
a. Component testing should be black box, system testing should be white box.
b. if u find a lot of bugs in testing, you should not be very confident about the quality of
B
software
c. the fewer bugs you find, the better your testing was
d. the more tests you run, the more bugs you will find.
7) What is the important criterion in deciding what testing technique to use?
a. how well you know a particular technique
b. the objective of the test B
c. how appropriate the technique is for testing the application
d. whether there is a tool to support the technique
8) Which of the following is a black box design technique?
a. statement testing
b. equivalence partitioning B
c. error- guessing
d. usability testing
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
c. 3, 10, 22
d. 10, 21, 22
10) Using the same specifications as question 9, which of the following covers the MOST
boundary values?
9,10,11,22
a. B
b. 9,10,21,22
c. 10,11,21,22
d. 10,11,20,21
11) Error guessing:
a) supplements formal test design techniques.
b) can only be used in component, integration and system testing. A
c) is only performed in user acceptance testing.
d) is not repeatable and should not be used.
12) Which of the following is NOT a white box technique?
a) Statement testing
b) Path testing D
c) Data flow testing
d) State transition testing
13) Data flow analysis studies:
a) possible communications bottlenecks in a program.
b) the rate of change of data values as a program executes. C
c) the use of data on paths through the code.
d) the intrinsic complexity of the code.
14) 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%
Which of these groups of numbers would fall into the same equivalence class? D
a) £4800; £14000; £28000
b) £5200; £5500; £28000
c) £28001; £32000; £35000
d) £5800; £28000; £32000
15) Test cases are designed during:
a) test recording.
b) test planning. D
c) test configuration.
d) test specification.
16) An input field takes the year of birth between 1900 and 2004
The boundary values for testing this field are
0,1900,2004,2005
a. C
b. 1900, 2004
c. 1899,1900,2004,2005
d. 1899, 1900, 1901,2003,2004,2005
17) Boundary value testing
a. Is the same as equivalence partitioning tests?
Which of the following inputs might be a result of designing tests for only valid equivalence
classes and valid boundaries:
a) 1000, 5000, 99999
C
b) 9999, 50000, 100000
c) 10000, 50000, 99999
d) 10000, 99999
e) 9999, 10000, 50000, 99999, 100000
2) Which of the following is NOT a black box technique:
a) Equivalence partitioning
b) State transition testing C
c) Syntax testing
d) Boundary value analysis
3) Error guessing is best used
a) As the first approach to deriving test cases
b) After more formal techniques have been applied
B
c) By inexperienced testers
d) After the system has gone live
e) Only by end users
4) Which is not true-The black box tester
a. should be able to understand a functional specification or requirements document
b. should be able to understand the source code. B
c. is highly motivated to find faults
d. is creative to find the system's weaknesses.
5) A test design technique is
a. a process for selecting test cases
A Test design technique là design test cases làm sao để có được MIN test case sets nhưng độ
b. a process for determining expected outputs
bao phủ test là MAX.
c. a way to measure the quality of software
d. a way to measure in a test plan what has to be done
6) Which of the following is true?
a. Component testing should be black box, system testing should be white box.
b. if u find a lot of bugs in testing, you should not be very confident about the quality of
B
software
c. the fewer bugs you find, the better your testing was
d. the more tests you run, the more bugs you will find.
7) What is the important criterion in deciding what testing technique to use?
a. how well you know a particular technique
b. the objective of the test B
c. how appropriate the technique is for testing the application
d. whether there is a tool to support the technique
8) Which of the following is a black box design technique?
a. statement testing
b. equivalence partitioning B
c. error- guessing
d. usability testing
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
c. 3, 10, 22
d. 10, 21, 22
10) Using the same specifications as question 9, which of the following covers the MOST
boundary values?
9,10,11,22
a. B
b. 9,10,21,22
c. 10,11,21,22
d. 10,11,20,21
11) Error guessing:
a) supplements formal test design techniques.
b) can only be used in component, integration and system testing. A
c) is only performed in user acceptance testing.
d) is not repeatable and should not be used.
12) Which of the following is NOT a white box technique?
a) Statement testing
b) Path testing D
c) Data flow testing
d) State transition testing
13) Data flow analysis studies:
a) possible communications bottlenecks in a program.
b) the rate of change of data values as a program executes. C
c) the use of data on paths through the code.
d) the intrinsic complexity of the code.
14) 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%
Which of these groups of numbers would fall into the same equivalence class? D
a) £4800; £14000; £28000
b) £5200; £5500; £28000
c) £28001; £32000; £35000
d) £5800; £28000; £32000
15) Test cases are designed during:
a) test recording.
b) test planning. D
c) test configuration.
d) test specification.
16) An input field takes the year of birth between 1900 and 2004
The boundary values for testing this field are
0,1900,2004,2005
a. C
b. 1900, 2004
c. 1899,1900,2004,2005
d. 1899, 1900, 1901,2003,2004,2005
17) Boundary value testing
a. Is the same as equivalence partitioning tests?