A Program Reads Three Numbers A, B, C With Range (1,50) and Print The Largest Number - Design Test Cases For This Program Using Equivalence Class Testing Techniques
A Program Reads Three Numbers A, B, C With Range (1,50) and Print The Largest Number - Design Test Cases For This Program Using Equivalence Class Testing Techniques
he largest number.Design test cases for this program using equivalence class testing techniques.
(/)
A program reads three numbers A,B,C with range[1,50] and print the largest
♦ 130 ♦ 580
number.Design test cases for this program using equivalence class testing techniques.
software testing and quality assurance (/t/software testing and quality assurance/)
1 Answer
0
9.6k
views
https://www.ques10.com/p/19395/a-program-reads-three-numbers-abc-with-range150--1/ 1/6
11/18/21, 4:34 PM A program reads three numbers A,B,C with range[1,50] and print the largest number.Design test cases for this program using equivalence class testing techniques.
1
First we partition the domain of input as valid input values and invalid values. so we get following classes -
714
views I1 = { <A,B,C> : 1 ≤ A ≤ 50
} I2 = { <A,B,C> : 1 ≤ B ≤
50} I3 = { <A,B,C> : 1 ≤ C ≤
I6 = { <A,B,C> : B < 1}
I8 = { <A,B,C> : C < 1 }
Now test cases can be designed from the above derived classes taking one case from each class such that the test case covers maximum
valid input classes and seperate test cases for each invalid class.
https://www.ques10.com/p/19395/a-program-reads-three-numbers-abc-with-range150--1/ 2/6
Test case id A B C Expected Result Classes covered test cases
1 13 25 36 C is greater I1 , I2 , I3
2 0 13 45 invalid input I4
3 51 34 17 invalid input I5
4 29 0 18 invalid input I6
5 36 53 32 invalid input I7
6 27 42 0 invalid input I8
7 33 21 51 invalid input I9
1 25 13 13 A is greater I1 , I5
2 25 40 25 B is greater I2 , I6
3 24 24 37 C is greater I3 , I4
Continue reading...
The best way to discover useful content is by searching it.
(market://details?
id=com.ques10&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT- Other-
global-all-co-prtnr-py-PartBadge-Mar2515-1)
COMMUNITY
CONTENT COMPANY
Users (/user/list/)
All posts (/t/latest) About (/info/about/) Team
Levels (/info/levels/)
Tags (/t/) (/info/team/) Terms
Badges (/b/list/)
Subjects (/subjects/) (/info/terms/) Privacy
Earn points (/info/levels/)
For Business (/info/business/) (/info/privacy/)
(https://www.youtube.com/playlist?list=UUH-lr-oL_apReZzPeFGJopg)
(https://in.linkedin.com/company/ques10) (https://wa.me/919503733731)
Get Started (/p/1/)