0
0
Software Engineeringknowledge~5 mins

Black-box testing techniques in Software Engineering - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is black-box testing?
Black-box testing is a software testing method where the tester evaluates the functionality of an application without looking at its internal code or structure. The focus is on inputs and expected outputs.
Click to reveal answer
beginner
Name three common black-box testing techniques.
Three common black-box testing techniques are equivalence partitioning, boundary value analysis, and decision table testing.
Click to reveal answer
beginner
What is equivalence partitioning in black-box testing?
Equivalence partitioning divides input data into groups that are expected to be treated the same by the software. Testing one value from each group helps reduce the number of test cases while covering possible inputs.
Click to reveal answer
beginner
Explain boundary value analysis.
Boundary value analysis tests the values at the edges of input ranges because errors often occur at these boundaries. For example, if input is valid between 1 and 10, tests would include 1, 10, and values just outside this range.
Click to reveal answer
intermediate
What is decision table testing?
Decision table testing uses a table to represent different combinations of inputs and their corresponding expected outputs. It helps test complex business rules by covering all possible conditions.
Click to reveal answer
Which of the following is NOT a black-box testing technique?
ACode coverage analysis
BBoundary value analysis
CEquivalence partitioning
DDecision table testing
In black-box testing, what is the main focus?
AInternal code structure
BUser interface design
CDatabase schema
DInput and output behavior
Which black-box technique helps reduce the number of test cases by grouping inputs?
ABoundary value analysis
BEquivalence partitioning
CDecision table testing
DState transition testing
Boundary value analysis tests values:
AAt the edges of input ranges
BOnly in the middle of input ranges
CRandomly selected
DOnly invalid inputs
Decision table testing is especially useful for:
ASimple input fields
BCode debugging
CComplex business rules
DPerformance testing
Describe the main idea behind black-box testing and why it is useful.
Think about testing like a user who only sees the software interface.
You got /3 concepts.
    Explain how equivalence partitioning and boundary value analysis help create effective test cases.
    Consider how testers pick inputs to cover many cases without testing everything.
    You got /3 concepts.