An employee has £4000 of salary tax free. The next £1500 is
taxed at 10%
The next £28000 is taxed at 22%
Any further amount is taxed at 40%
Which of these groups of numbers would fall into the same
equivalence class?
a) £4800; £14000; £28000
b) £5200; £5500; £28000
c) £28001; £32000; £35000
d) £5800; £28000; £32000
Can you please explain in brief, how to do equivalance
class?
Answers were Sorted based on User's Feedback
Answer / nidhi
According to me , correct answer is d.
Because
4000 tax free
next 1500 = 10%
next 28000 = 22%
above rest = 40%
Now if suppose My salary is b/w 4000 - 5500, I will be
taxed 10%
Now if suppose My salary is b/w 5500 - 33500, I will be
taxed 10% b/w 4000 -5500 and 22% on salary b/w 5500-33500
Now if suppose My salary is above 33500, I will be taxed
10% b/w 4000 -5500, 22% on salary b/w 5500-33500 and 40%
above 33500.
Therefore, our equivalence classes become salary b/w 4001-
5500,5501-33500 and above 33500.
Option d has all the values falling in b/w the rance 5501-
33500.
Please let me know if I am wrong.
| Is This Answer Correct ? | 68 Yes | 9 No |
Answer / krishn
d
4000 no tax
4001 5500 10%
5501 33501 22
33501 40%
all there values fall under 22% ranage hence selected d
| Is This Answer Correct ? | 31 Yes | 4 No |
Answer / rajkumarqa
See answer below
1) Salary <=4000 is tax free
2) 4001<Salary<=5500 is taxed at 10%
3) 5501<Salary<=33500 is taxed at 22%
4) Salary =>33501 is taxed at 40%
So equi class D is the right answer
| Is This Answer Correct ? | 14 Yes | 1 No |
Answer / varshab
Answer is D.
Equivalence classes for salary in the above case are as below.
i)Salary <=4000 (tax free)
ii) Salary between 4001 - 5500 ( 22% tax)
iii) Salary between 5501 - 33500 (40% tax)
All the values mentioned in option D fall under class iii).
| Is This Answer Correct ? | 11 Yes | 14 No |
2.How are you going to map between Test Scenarios and Test Cases?
write test 5 negative test cases for pen?
Puzzle:A rope, a match box are given.the rope takes 1 hr to burn off completely.the rope is not uniform.there is no watch with u.how can u calculate half an hour of time?
What is Test Procedure? What are Test matrices? What is Tracibility matrix?
Difference Between Quality Center and Test Director?
who prepares traceability matrix in ur company either jr tester or sr tetser or test lead?
if we got new bug in the retesting due to errors in the code is the bug regression bug or retesing bug
Which test cases are written first: white boxes or black boxes?
what is the diffn betn web based application and client server application
is software testing easy ??? Give me perfect Ans.
What are the two main categories of software testing?
1.Differentiate SDLC & v-model? 2. " verification and validation? 3. " quality assurance and quality control? 4.what are the components in test strategy? 5.Differentiate test strategy & test plan? 6.wht methods will you follow in yoiur company for test design?