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.
Answers were Sorted based on User's Feedback
Answer / suneetha
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.
BugId : Autogenerated by Tool or as maintained by Tester.
BugSummary : Addition functionality failing for Even
numbers.
Application : Calculator.
Bug Description : 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.
Severity : High.
Priority : High.
TestDataUsed : 2+2, 4+4, 6+6..........1+1,3+3........
Date Detected : ##/##/####
Detected By : 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.
Is This Answer Correct ? | 14 Yes | 1 No |
Answer / deepika. mashetty
While adding an even number by itself the result is being
displayed wrongly, The result obtained in 1 + original
result which needs to obtained.
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / c.sri harsha
FOR ODD NUMBERS,CALC COMPUTES WELL
BUT COMING 2 EVEN NUMBERS,1 IS BEING ADDED TO THE SUM OF TWO
EVEN NUMBERS....
HENCE THERE MIGHT BE A BUG IN THE LOOP FOR ADDING TWO EVEN
NO.S',SINCE IT IS A CALC...WHICH HAS A LED DISPLAY THE
PROBLEM MIGHT B WITH THE LIGHT ELECTRIC DIODES..........
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ravi
hi guys
here i am not giving my exact answer but I likes to express
my views on this sort of queries. in this situation as a
Test Engineer
u should not say addition of even numbers is giving
problem, instead of that u should be very specific about the
problem in this case every addition even numbers resultant
is added with 1 ex; 2+2=5, 4+4=9 etc, so you have to be
very specify these minute things properly because your
submitting report to your senior
other then that u should mention:
1.severity and priority
2.Take screen shot & attachments (if possible)
3. define the sentence short and clear if it is analytical
like above query,
4.define the steps to reproduce(show the sample calculation
in above query)
5.define the environment used(atleast show this field if ur
not sure also)
finally try to bring general bug report formate in any of
the bug
like who detected assigned person name, date, status of bug etc
cheers
ravi
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / raj
when ever adding the even number itself , the value added
automatically ,
so the code is wrong , if the even number means, the value +
1 is automaticallly added .
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / tania
when an even no. is added to it, the result obtained is
incorrect always 1 less than the result is displayed.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mudaseer
action
add two same numbers
expected result
it should give the correct answer
actual result
when we add same numbers which are multiple of 2 it is giving wrong result
result fail
severity high priority high
(the bug report should be written in excel sheet )
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / balaji
Condition:
Check for the display of additional values for even numbers
Input:
(i)Enter the even number(ii)Enter the + symbol in the
calculator(iii)Enter the same even number and press the =
symbol in the calculator
Expected Result:
It should display the value as the additon of those two
values
Is This Answer Correct ? | 0 Yes | 1 No |
what is main thing of the BB or WB in testing domain?
After recieved the defect from Tester,developer is not getting any error while executing that bug then he will reject that defect due to the above reason.As a Tester what we can do in that situation?
Many times a tester can reopen the bug? i said until the bug is resolved.. but the interviewer doesn't accept.. If there any standard for that..
hi this is altaf ....could any one send me details of all testing models
What do you mean by Sanity Testing?
What can be done if requirements are changing continuously?
Can you explain calibration?
what is master review and peer review
hi all, please let me know how to down load QTP from internet?
1.tell me one bug what u find ur testing and how u ill fix severity and priority? 2.difference between web and window based testing? 3.bug life cycle?
What is the difference between Incident and Defect. Anybody can answer it. Thanks in advance.
10 Answers iFlex, Kameda Infologics,
When we perform re-testing?