Uploaded by abdulnafay486

Spring 2023 CS608 1 BC200403120

advertisement
CS608 Software Verification and Validation
Assignment No: 1
Submitting to:
Dr. Tamim Ahmed Khan
Submitted by:
Muhammad Abdul Nafay
Question No 01:
An ABC software house is developing a website for public use. You are required to identify
either the following statements fall under block box or white box testing.
Answer:
Statements:
White box/black box
Executing the if else condition with 4 possible
test cases.
White box
Test the functionality of the conditional loop.
White box
A specific field may accept values between 0
and 1000.
Black box
Verifying that only above 18 age group users
can use this website.
Black box
Checking that it is possible to login using the
correct user credentials, and not possible to
login using wrong credentials.
Black box
Question No 02:
Identify all possible complete paths from the given Control Flow Graph (CFG).
Answer:
No. of possible Paths
Paths
1
L1->L2->L3->L4->L6->L7->L9
2
L1->L2->L3->L5->L6->L7->L9
3
L1->L2->L7->L9
4
L1->L2->L3->L4->L6->L8->L9
5
L1->L2->L3->L5->L6->L8->L9
Assignment No 1 Done 
Download