UrbanPro

Learn Software Testing from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

How many test cases are possible for a program like addition of two numbers?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

Programmer Trainer

Lets consider you are taking the numbers as input, the possibilities are 1. The user would input valid numbers 2. The user may input one valid and another invalid number (like text "abc") 3. The user may not input both the values 4. The user would input only one value 5. The user may input number(s),...
read more

Lets consider you are taking the numbers as input, the possibilities are

1. The user would input valid numbers

2. The user may input one valid and another invalid number (like text "abc")

3. The user may not input both the values

4. The user would input only one value

5. The user may input number(s), such that sum could not be stored in the variable have you defined. (suppose you defined int res = a +b). res can store only upto value 2^32 -1

so, it is 5, may be more if I missed some edge cases

 

 

read less
Comments

Related Questions

I want to know Selenium and Jmeter training institutes in Delhi NCR.
Please contact if you are in pune for selenium ad Jmeter training
Kapil
Is manual testing and it's processes are enough to develop better carrier in QA? Please someone guide me, what exactly necessary for making good carrier in testing?
Yes, Manual testing and related process of QA is enough to start your carrier in good way.. Once you get famillier with basic manual testing then you can move to other testing like Automation or Performance Testing.
Vidya
Hello, Dear Sir/Madam, I am an MCA 2014 passed out candidate, I am eagerly searching for a job, but is facing certain problems, can you please tell me if you provide training as well as placement coordination or experience letter along??
Hi Kavya,, I am providing training for just 3000/- for freshers who are trying for job. and Once if you get trained from me you will be in the position to work on selenium using java with out any bodies support..! - Thanks, Jitendra.
Kavya

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Example of DependsOnMethod in TestNG
public class dependsonM { @Test public void login() { System.out.println("login"); } @Test (dependsOnMethods = {"login"}) public void email() { //Intentionally I am failing this testcase Assert.assertTrue(false);...
S

Sarthak C.

0 0
0

Puzzle: A black man dressed all in black, wearing a black mask, stands at a crossroads in a totally black-painted to..........
Puzzle: A black man dressed all in black, wearing a black mask, stands at a crossroads in a totally black-painted town. All of the streetlights in town are broken. There is no moon. A black-painted car...

TestNG
TestNG Concepts TestNG: TestNG is an automation framework to run the test cases, test suites and do parallel testing. It is an advanced version of Junit. It consists of many features like annotations,...

Seven Qualities of Highly Effective Testers
Want to make a career in Software Industry? Are you looking Software Testing as your career? Do you know what makes a Tester successful? Seven Qualities of Highly Effective Testers: Every profession...

Puzzle: There is a boat, which is completely filled with fuel such that even if a bird comes and sit over then it cannot bear
Puzzle: There is a boat, which is completely filled with fuel such that even if a bird comes and sit over then it cannot bear its weight and will get sink. Now after running few kilometers an eagle came...

Recommended Articles

A lot of students who look forward to build a career in IT are keen to know if Software Testing could be stepping stone for them. Software testing is processes by means quality of the software is tested and improved. It is primarily done to figure out the differences between expected output and the actual output in software...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Looking for Software Testing classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for Software Testing Classes?

The best tutors for Software Testing Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Software Testing with the Best Tutors

The best Tutors for Software Testing Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more