Write 10 test cases for the condition P=R/I where R and I
are integer and P is floating point.
Answers were Sorted based on User's Feedback
Answer / vighnesh
Check with following values
R I
2 1
1 2
0 1
1 0
0 0
65535 65537
-65535 65537
65537 65535
65537 -65535
a 1
1 a
# 3
3 #
23823979234 3
3 237387328213823
3 NULL
NULL 3
Is This Answer Correct ? | 6 Yes | 3 No |
Answer / minal bhungani
Check the R/I result with BVA of R: 1) highest boundary value
2) lowest boundary val
3) middle value
Same as for I which contain 3 test cases
Check the operation by setting I=0 and R=0 alternatively
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / priyanka nagaraj
For the most part, errors are observed in the extreme ends of the input values, so these extreme values like start/end or lower/upper values are called Boundary values and analysis of these Boundary values is called “Boundary value analysis”. It is also sometimes known as ‘range checking’.
Boundary value analysis is another black box test design technique and it is used to find the errors at boundaries of input domain rather than finding those errors in the center of input.
Equivalence Partitioning and Boundary value analysis are linked to each other and can be used together at all levels of testing. Based on the edges of the equivalence classes, test cases can then be derived.
Each boundary has a valid boundary value and an invalid boundary value. Test cases are designed based on the both valid and invalid boundary values. Typically, we choose one test case from each boundary.
Finding defects using Boundary value analysis test design technique is very effective and it can be used at all test levels. You can select multiple test cases from valid and invalid input domains based on your needs or previous experience but remember you do have to select at least one test case from each input domain.
Let’s take same above example to understand the Boundary value analysis concept:
One test case for exact boundary values of input domains each means 1 and 100.
One test case for just below boundary value of input domains each means 0 and 99.
One test case for just above boundary values of input domains each means 2 and 101.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vishwajeet
check for I=0
check for boundary value analysis of R -3 test cases
check for boundary value analysis of I -3 test cases
check for boundary value analysis of P -3 test cases
Is This Answer Correct ? | 4 Yes | 5 No |
how to write test cases for online restaurant table booking system?
how to write test cases for a text field that should have maximum 250 characters
write the test cases for a+b=c?
9 Answers Aloha Technology, SAP Labs,
In manual testing, I have query regarding data conversion testing. I am working on xml document. How do we write test cases for below input as well as for output Input: <text>1. software Testing</text> Output: <paragraph><text><desig>1.</desig>software testing</text></paragraph>
How to write a test case for create folder in the email. create aliases for email adress in the email. thanks Its urgent
IF A > B THEN C = A – B ELSE C = A + B ENDIF Read D IF C = D Then Print "Error" ENDIF A. 1 test for statement coverage, 3 for branch coverage B. 2 tests for statement coverage, 2 for branch coverage C. 2 tests for statement coverage. 3 for branch coverage D. 3 tests for statement coverage, 3 for branch coverage E. 3 tests for statement coverage, 2 for branch coverage
can anyone please help me in writing Test cases for HRMS,ERP and for CRM Apllications...I am joined as a trainee.so i have to write test cases for these applications..Soo can anyone pls help me....mail id: bapuji.karyampudi@gmail.com....Please reply me guys.
0 Answers TSB Software Solutions,
How to write test scenarios for a Web application, with an example?
3 Answers Deloitte, LiveTech, TCS,
How to write the test scenarios for the following: 1. Searching train. 2. Data encryption and decryption. 3. Single signon. 4. Document printing. 5. Testing EMail. 6. Data authentication.
How to write test data for login module?
what will be the test case for Lift?
22 Answers Mind Tree, Satyam, Tops Security Ltd,
While creating test data for testing an application, where exactly test data should be crated as in excel file or can we crate test data in database ?