Professional Documents
Culture Documents
STQA Question Bank 3
STQA Question Bank 3
2. A program reads three numbers n1, n2, n3 in the range [-100, 100] and prints the smallest number.
Design test cases for this program using equivalence class testing techniques.
3. A program reads three numbers a, b, c in the range [1, 50] to print the largest number. Design test cases
for this program using boundary value analysis testing technique. Draw the data flow graphs for the
same program.
4. Draw control flow graph and find the cyclomatic complexity for the following PDL:
7. Differentiate between
a. effective and exhaustive software testing.
b. top-down and bottom-up testing.
9. List and explain all the data flow anomalies in dataflow testing.
12. Differentiate between CFG and DFG. Also draw both for largest of three numbers program
and find the cyclomatic complexity.
13. Write the difference between White Box and Black Box testing with example.