Chapter 4 - Quiz Flashcards
What is checklist-based testing?
An experience-based test technique whreby the experienced tester uses a list of items to be noted, checked, or remembered, or a set of rules or criteria against which a product must be verified
Which one of the following options is categorized as a black-box test technique?
A technique based on formal requirements
Question #4.1.03
Which of the following BEST matches the descriptions with the different categories of test techniques?
- Coverage is measured based on a selected structure of the test object
- The processing within the test object is checked
- Tests are based on defects’ likelihood and their distribution
- Deviations from the requirements are checked
- User stories are used as the test basis
Using notation for the following 4 options:
Black - Black-box test techniques
White - White-box test techniques
Experience - Experience-based test techniques
Black-box test techniques - Deviations from the requirements are checked (4) User stories are used as the test basis (5); White-box test techniques - Coverage is measured based on a selected structure of the test object (1) The processing within the test object is checked (2); Experience-based test techniques - Tests are based on defects’ likelihood and their distribution (3)
Question #4.1.04
Prior to an iteration planning session, you are studying a user story and its acceptance criteria, deriving test conditions and associated test cases from the user story as a way of applying the principle of early QA and test. What test technique are you applying?
Black-box
Behavior-based, or black-box techniques are based on an analysis of the appropriate test basis (e.g., formal requirements documents, specifications, use cases, user stories, or business processes), which describe functional and non-functional behavior
Question #4.1.05
Which of the following is an extension of equivalence partitioning?
Boundary value analysis.
BVA is an extension of EP, looking at the boundaries on the edges of the partitions (or classes) of values.
According to the ISTQB Glossary, what is a black-box test technique?
A procedure to derive and/or select test cases based on an analysis of the specification, either functional or non-functional, of a component or system without reference to its internal structure
How do experience-based test techniques differ from black-box test techniques?
They depend on an individual’s domain knowledge and expertise rather than on a documented record of what the system should do
Which of the following provides the BEST description of statement coverage?
A white-box test technique which focuses on the percentage of executable statements that has been executed be a test suite
How do experience-based techniques differ from specification-based techniques?
They depend on an individual’s personal view rather than on a documented record of what they system should do
Question #4.1.12
Features of White Box Testing Technique:
I. We use explicit knowledge of the internal workings of the item being tested to select the test data.
II. Uses specific knowledge of programming code to examine outputs and assumes that the tester knows the path of logic in a unit or a program.
III. Checking for the performance of the application
IV. Also checks for functionality
I, II are True
III and IV are false
Which of the following is MOST clearly a characteristic of structure based (white-box) techniques?
Test cases are derived systematically from the delivered code
Which two of the following are attributes of structural testing?
I. It is based on testing features described in a functional specification
II. It can include statement and decision testing
III. It can be carried out at all levels of testing
IV. It can include debugging
II. It can include statement and decision testing
III. It can be carried out at all levels of testing
Exclusive use of white box testing in a test-phase will:
Run the risk that the requirements are not satisfied
What techniques would be MOST appropriate if the specifications are outdated?
Structure-based and experienced-based techniques
What’s the disadvantage of Black Box Testing
Changes of having repetition of tests that are already done by programmer
The test inputs needs to be from large sample space
It is difficult to identify all possible inputs in limited testing time. So writing test cases is slow and difficult
Which statement is a valid explanation as to why black-box test design techniques can be useful?
They can help to derive test data based on analysis of the requirement specification
Question #4.1.20
The following statements are used to describe the basis for creating test cases using either black or white box techniques:
I. Information about how the software is constructed.
II. Models of the system, software or components.
III. Analysis of the test basis documentation.
IV. Analysis of the internal structure of the components.
Which combination of the statements describes the basis for black box techniques?
II. Models of the system, software or components.
III. Analysis of the test basis documentation.
Which of the following could be a coverage measure for state transition testing?
→ All states have been reached
→ Every transition has been exercised
→ Specific sequences of transitions have been exercised