In Satyam interview I have faced this question.Please answer me. The calculator is calculating like this: 1+1=2 2+2=5 3+3=6 4+4=9 5+5=10 ------ like this Prepare a bug report on this.
Printable View
In Satyam interview I have faced this question.Please answer me. The calculator is calculating like this: 1+1=2 2+2=5 3+3=6 4+4=9 5+5=10 ------ like this Prepare a bug report on this.
How can we??
Hi,
The question is kind of Abstract. There definitely is a bug with the functionality of the Calculator. I would say we could categorize Bug report outline as follows.
[U]BugId[/U] : Autogenerated by Tool or as maintained by Tester.
[U]BugSummary[/U] : Addition functionality failing for Even numbers.
[U]Application[/U] : Calculator.
[U]Bug Description[/U] : Whenever User tries to add 2 even number, the resultant is displayed as one more than the actual expected result. Functionality works fine correctly for Odd Number addition.
[U]Severity[/U] : High.
[U]Priority[/U] : High.
[U]TestDataUsed[/U] : 2+2, 4+4, 6+6..........1+1,3+3........
[U]Date Detected[/U] : ##/##/####
[U]Detected By[/U] : Tester Name.
We would also have to test whether 2 odd Numbers are added up correctly on consecutive operations. Incase the result fails for the second attempt, we would have to change our Bug Report accordingly.
Cheers....
Hi Umesh,
Really a good description.
Regards,
Ganesan