consider a program module that inputs two (2) values, n and
max, and computes the sum of the first n integers as long as
this sum is less than max; otherwise an error should be
reported. if n is negative, then it takes the absolute value.
a) list the equivalence partitions, and
b) list the boundary values.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Test Cases Interview Questions

How you will write test cases on DROP DOWN list BOX on GUI

5 Answers   eMids, Valtech,


What is the toughest moment you faced in your testing carrier in which everyone praised you?

0 Answers  


Difference between Automation testing and manual testing.

18 Answers   Mphasis, SAP Labs,


Could someone answer the following testing Questions? 1)Give 5 reasons why a build can be released with bug 2)Write a bug report for a word processor program which crashes when the contents of 89th column is been sorted in assending order. 3)write test 10 cases for program which has a table with 2 fields of NAME od char type and CLASS of INT type.NAME fields is truncated after 26 charaters and CLASS takes value between 1 to 9 both included. There are 3 possible opearations program can perform a)When a new student joins the class the program adds a new field b)When student leaves the class the field get deleted c)when student gets promoted then program incremts the class by 1 Write 5 test cases for the scenario. 4)write 10 test cases for a program that takes date in dd/mm/yyyy format and prints it out with a increment of 1. for dates (dd) can be given in the range 1<=dd>=30 for months (mm) can be given in the range 1<=mm>=12 for years(yyyy) can be given in the range 1600<=yyyy>=9999 5)Give 5 bugs that could cause a program to crash when it printed the 999999 th pages 1000001th line.

6 Answers   Adobe, Android,


Test case for flight reservation system

1 Answers  






Do you write test plan and test case?

0 Answers   FF Solutions,


Hai, Could anybody please let me know, how to calculate the number of test cases required to test a program. Please provide me the answer for the following question: “What type of ticket do you require, single or return?”IF the customer wants ‘return’Ask: “What rate, Standard or Cheap-day?”IF the customer replies ‘Cheap-day’Say: “That will be $11:20”ELSESay: “That will be $19:50”ENDIFELSESay: “That will be $9:75”ENDIFNow decide the minimum number of tests that are needed to ensure that allthe questions have been asked, all combinations have occurred and allreplies given. a) 3 b) 4 c) 5 d) 6

1 Answers  


Can someone tell me the test cases to test the password for with following scenario: 1. Password should be minimum 6 chars and maximum 8 chars. 2. Password should consist one uppercase letter 3. Password should consist of one numeric 4. Password should consist of one special character.

0 Answers  


Write test cases on for windows media player?

1 Answers   CGI, COG, QMCPL,


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

3 Answers  


Write Test cases for the below scenario? scenario 1: Replace the current CSS software with TML software. Scenario 2: Provide the same reports for business as currently provided by CSS software. Not: CSS and TML are customized software.

0 Answers   Microsoft,


how to write test cases in interview exam like one website it contain a/c # text box, current bill amount text box,sms offer,calling offer,internet these 3 are list boxes and remindmelater,continue these 2 are buttons. and qu is like 1.user doesn't have any dues from past 90 days,2.whose bill amount >= rs2000 from past 6 months. use this 2qu write testcases.

0 Answers  


Categories