testcases for biggest of three numbers?plz give the answer
Answers were Sorted based on User's Feedback
Answer / vikas pujar
I feel. Since code is already in place to verify biggest of
3 numbers we just need to input some combinations:
1) All three same numbers check wat is the result. Eg:
999,999,999
2) Two numbers same and verify result : Eg - 500,500, 400
3) Bounday Value Analysis Eg: 499,500,501
Is This Answer Correct ? | 26 Yes | 2 No |
Answer / smitha
1.Try to enter 4 numbers and submit, the form/field should
not accept more than 3 numbers.
2.Try to enter 2 numbers and submit,the form/field should
not accept less than 3 numbers.
3.Do not enter anything and see the result....it should
prompt to enter numbers.
4.Enter alphabets,special characters and check the result.
5.Enter integers(negative and positive),decimal numbers etc.
6.If the three numbers are of integer data type, try
entering float data type.Check with other data types also.
7.Enter very large numbers/small numbers and check.
Like this we can add many more test cases depending on the
Specifications or Requirements document.
Is This Answer Correct ? | 12 Yes | 5 No |
Answer / pravin
First Compare 3 numbers if first one is bigger than other 2
numbers then 1 number is biggest else campare other 2 value
and check whether second number is grater or third no. is
grater. if 2nd number is grater than 3rd number then 2no. is
the biggest number else 3number is the biggest number.
Is This Answer Correct ? | 2 Yes | 3 No |
Answer / jagadish
the guys both answered is not correct as the question it
self says no boundaries of text box but asked as the biggest
of three numbers.
this is try to check the biggest of three no by if else
conditions checking each one by other thats all
if more clarity mail me at jagadishk.9454@gmail.com
Is This Answer Correct ? | 2 Yes | 5 No |
test cases for biggest 3 numbers
1> 999 = valid
2> 9999 = invalid
3> 99 = invalid
4> 009 = invalid ( as it is same as 9)
5> space = invalid
6> alphabets / special characters = invalid
7> negative number = invalid
8> decimals = invalid
Is This Answer Correct ? | 5 Yes | 15 No |
How do you differentiate the roles of Quality Assurance Manager and Project
How to test Webservices and how can we write test cases for that
Test Case for Text Editor!
How to write test case for this scenario. The system shall allow the user to request a search for a case using the following mandatory parameters: Last Name First Name Case creation date range
What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?
Consider the following: Pick up and read the newspaper Look at what is on television If there is a program that you are interested in watching then switch the the television on and watch the program Otherwise Continue reading the newspaper If there is a crossword in the newspaper then try and complete the crossword A. SC = 1 and DC = 1 B. SC = 1 and DC = 2 C. SC = 1 and DC = 3 D. SC = 2 and DC = 2 E. SC = 2 and DC = 3
How does the size of the OPCODE field limit the number of operations? Give an example to support your explanation?
Explain the system testing?
why we need a test plan
If there are 4 buttons New,Edit,Delete & Refresh for Item screen .May I have to write 4 different test cses for each button OR I can perform all operations[Create,Edit,Delete & refresh item] in a single tes case? Please reply as early as possible. It's very urgent to me
Credit card field contains four text boxes. We can validate each textbox separately with conditions but how can we write integrated testcase for all the four?
If I have written test cases for any application:there are 70-80 test cases and steps for writing test cases are common in some TCases.then May I have to write the repeated steps or May I write Repeat the steps of TC id so and so