CIIT Course Title: Software Testing Topic: Test Cases Assignment No: 2 Submitted To: Ms. Najmun Nisa Submitted By: Bilal Abbasi Reg # FA17-BSE-154 Date of Submission: 22-11-2020 COMSATS University Islamabad Question 1: a) Identify the equivalence classes for each attribute. Solution: Equivalence Classes Attribute Valid EC’s Rule Invalid EC’s Working history Boolean Yes No Number of Children Number 4 <4, >4 Age Boundary Value >40 ≤ 40 b) Identify the test cases both for valid and invalid cases. Test Cases Attribute Working history Test 01 Test 02 Test 03 Test 04 Test 05 Test 06 Y N Y N Y Y Number of Children 4 4 4 <4 <4 >4 Age >40 <=40 <=40 >40 >40 >40 Question 2: Test Test Case Risk Why this test is Expected powerful Result TC-01 inputs a= 2, b=3, and c=5 The system fails The system has to read all the to check if all integer inputs the integer sides of the triangle are given or any one of them is missing. “Scalene Triangle” TC-02 inputs a=3, b=5 and c=4.6. The system fails to verify if all the lengths are integer. The test case will check if all the lengths of the triangle are integer or not. “One side is not an integer”. TC-03 inputs a=3, b=4 and c=7 The system fails to verify that all the three sides are unequal. system must compare sides to check if each of them is different. “Scalene Triangle” TC-04 inputs a=3, b=3 and c=7 The system fails to verify that any two sides are equal while the third is unequal. The system must compare all the sides to check if two of them are different while the third is unequal. “Isosceles Triangle” TC-05 inputs a=5, b=5 and c=5 The system fails to verify that all the three sides are equal. The system must compare all the sides to check if all of them are equal. “Equilateral Triangle