Categories of Test Techniques
Black-Box Techniques
White-Box Techniques
Experience-Based Techniques
Potpourri
100

Which one of the following options is categorized as a black-box test technique?
a) A technique based on analysis of the architecture.
b) A technique checking that the test object is working according to the technical design.
c) A technique based on the expected use of the software.
d) A technique based on formal requirements.

d) A technique based on formal requirements.

100

A state transition diagram shows the possible software states, as well as how the software enters, exits and transitions between states:

True OR False

True

100

Decision Testing is most commonly used at what test level? 

A. Acceptance Testing 

B. Integration Testing 

C. Component Testing

D. System Testing

C. Component Testing

100

Checklist-based Tests rely on tester to: 

A: Design and configure the system and data to support the checklist tests. 

B. Be able to execute each test on the list without the benefit of detailed test steps. 

C. Use knowledge of what is important to the user to expand on the listed functions. 

D. Exercise related areas of known weakness or failure. 

E. All of the above.

F. None of the above

E. All of the above.

100

What test technique is most often used to test requirements that specify a range of numeric values? 

A. Exploratory Testing 

B. Black-box Testing 

C. Decision Testing 

D. Equivalence Partitioning 

E. Boundary Value Analysis 

F. None of the above

E. Boundary Value Analysis

200

True or False? - Testers generally use a combination of test techniques to achieve the best results from the test effort

TRUE

200

A percentage field accepts whole number values from 1 to 100.  The tester tests the following values:  -5, 100 and 105.  In this technique, what does the value "100" represent? 

A. The level of coverage 

B. The valid partition upper boundary value 

C. The valid equivalence partition 

D. The state transition value 

E. None of the above

C. The valid equivalence partition

200

Statement coverage helps to find defects 

A. in the Requirements documentation. 

B. in code where other tests have not taken both true and false outcomes. 

C. by executing the same test cases on all variants and comparing the results. 

D. in code that was not exercised by other tests.

D. in code that was not exercised by other tests.

200

Testing that dynamically designs and executes tests based on the tester's knowledge, exploration of the test item and the results of previous tests may best be described as:

A. Experience-Based Testing 

B. Error Guessing 

C. Use Case Testing 

D. Exploratory Testing

E. System Testing
 

D. Exploratory Testing

200

What is an Example of an Actor for Use Case Testing? 

A.  Component 

B.  Human Users 

C.  Code-Related Techniques 

D.  Reports

B. Human Users

300

The use of test techniques in the test analysis, test design, and test implementation activities can range  from very informal (little to no documentation) to very formal. The appropriate level of formality depends  on
a) the context of testing, including the maturity of test and development processes,
b) time constraints,  
c) safety or regulatory requirements, d)the knowledge and skills of the people involved,
d)  the software  development lifecycle model being followed.
e) all of the above
f) none of the above

e) all of the above

300

What is a Transition initiated by?

A.  Test 

B.  Bug 

C.  Event 

D.  All of the above  

C - Event - The Event results into a Transition

300

If you are testing a module of code, how do you determine the level of decision coverage you have achieved? 

A. Divide decisions tested by the total number of executable statements in the module. 

B. Divide decisions tested by the total number of decisions in the module. 

C. Divide decisions tested by the total lines of code in the module. 

D. Divide decision outcomes tested by the total number of decision outcomes in the module.

D. Divide decision outcomes tested by the total number of decision outcomes in the module.

300

The Paperwork feature for an invoicing system has been rewritten 4 times in the last 10 years due to overall code instability.  Kamala has compiled a report of past issues and designed tests to exercise the areas and aspects of the feature that have failed frequently in the past.  This test technique is best described as: 

A. Functional Testing 

B. Use Case Testing 

C. Experience-Based Testing 

D. Static Testing 

E. Error Guessing

F. None of the above

E. Error Guessing

300

A percentage field accepts whole number values from 1 to 100.  Which of the following values should not be used in when applying the Equivalence Partitioning technique?

A.  -5 

B.  0 

C.  50.5 

D.  100 

E. 105.5

F. All of the above
 

E. 105.5

400

Test techniques that are based on an  analysis of the appropriate test basis (e.g., formal requirements documents, specifications, use cases,  user stories, or business processes). These techniques are applicable to both functional and non functional testing.  They concentrate on the inputs and outputs of the test object  without reference to its internal structure
a) Experience-based
b) White-box
c) Black-box
d) Gray-box

c) Black-box

400

A percentage field accepts whole number values from 1 to 100. Which of the following test value sets contains the greatest number of values appropriate for use a Boundary Value Analysis?

A. -1, 0, 50.5, 100,101 

B. -1, 50, 101, 105.5 

C. -0.1, 2, 99, 100, 101 

D. -1, 50, 99.5, 103 

E. 1, 50, 100 

F. All of the above  

C. -0.1, 2, 99, 100, 101

400

If you have achieved 100% decision coverage of the 6 decision outcomes in the code module, what percentage of 4 executable statements coverage have you achieved?

A. 0% 

B. 67% 

C. 100%

D. More information is required.  

C. 100%

400

In Exploratory Testing, coverage is calculated by: 

A. Dividing number of errors found by the number of objectives in the session test charter. 

B. Dividing the number of test objectives completed during the time-boxed session by the number of objectives in the session test charter. 

C. Dividing the number of issues found by the number of hours in the time-boxed session.  It is expressed in terms of issues per hour. 

D. None of the above.

D. None of the above.

400

State transition diagrams normally show all Valid & Invalid transitions:

True OR False

False - State transition Diagram normally only shows Valid transitions - where State transition Tables would show Valid & Invalid Transitions

500

Test techniques (also called structural or structure-based techniques) that are based on an analysis  of the architecture, detailed design, internal structure, or the code of the test object.  They concentrate on the structure and processing within the test object.
a) Experience-based
b) White-box
c) Black-box
d) Gray-box

b) White-box

500

What basic behavior variations can a Use case include? 

A.  Application & Communication Errors 

B.  System Response & Check Lists 

C.  Exceptional behavior & Hardware breakdown 

D.  Power outages & Recovery

A.  Application & Communication Errors - along with System Response - Exceptional behavior - Error handling & Recovery from programming

500

Which of the following statements apply to Decision Testing? 

1. It often requires a background in programming. 

2. It tests both true and false outcomes. 

3. It tests false outcomes when there is no explicit false statement. 

4. 100% Statement coverage also means 100% Decision coverage.

=============================

A. 1, 4 

B. 2, 3 

C. 1, 2, 4 

D. 1, 2, 3

E. 2, 3, 4 

F. All of the above 

G. None of the above

D. 1, 2, 3

500

When exploratory testing is conducted using time-boxing and test charters, what is it called? 

A. Schedule-based testing 

B. Session-based testing

C. Risk-based testing 

D. Formal chartering

B. Session-based testing

500

A shipper wants to hire a carrier to deliver pastry to Quebec bakeries.  The province has specified use of a Canadian carrier.  However, a US carrier may be used if the driver is a Canadian citizen that speaks French.  Using a Decision Table, determine the minimum number of test case for 100% coverage.

A. 4 

B. 5 

C. 6 

D. 8 

E. None of the above  

D. 8