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 a Hindi teacher.
which class?
Amrita
0 0
6
Need career switch from manual/QTP to a testing domain which is in demand and has less skilled resources..Please advise
You can join my training classes on Selenium using java. That helps to boost your career and salary as well..!
Bhavya
Hello, I am new in iOS development. What is the best way of learning iOS and Programming also?
You could start learning objective C for iOS app development. Please contact us for more information.
Vikas

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

Ask a Question

Related Lessons

Testers are the headlight of the project.
A project is like a road trip. Some projects are simple and routine, like driving to the store in broad daylight. But most projects worth doing are more like driving a truck off-road, in the mountains,...

Samad Ansari

0 0
0

Puzzle : In a factory, there are 10 machine which produces exactly 1 kg of sugar box. But unfortunately 1 machine among them is ............
Puzzle : In a factory, there are 10 machine which produces exactly 1 kg of sugar box. But unfortunately 1 machine among them is defective and produces 900 gm sugar box. How you find the defective one?Note:...

Puzzle:There are three boxes. One is labeled apples, another is labeled oranges. The last one is labeled apples an..................
Puzzle: There are three boxes. One is labeled apples, another is labeled oranges. The last one is labeled apples and oranges. You know that each one is labeled incorrectly. You may ask me to pick one fruit...

Software Testing Course
Software testing course. Software testing training course What is software testing? Why is testing necessary? Testing Participants Testing Principles Best Practices in Testing Skills For Testing Software...

Practices & Strategies For Test Automation
Q)What are the Best Practices and Strategies for Test Automation? A)Below are some best practices & strategies for Test Automation: 1.Hire a Dedicated Automation Engineer or Team:This is a basic...
I

ICreative Solution

1 0
0

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