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

What are the skills required for a software tester?
Analytical skills and logical thinking. Keep on learning and update yourself everytime.
Misha
I want to do online software testing course. Manual + Automation.
I would recommend a free course of JAVA, Selenium, and Manual testing for you. No charges for tuition at the student home. Online is good but I don't provide that. 100 % free and world class education.
Baby
I want to post my availability to work as a freelancer for doing Software development or testing related work, or even technical content writing. How can I place myself on UrbanPro?
Hi Nilambari, Please contact us for more details. We will suggest you to find more opportunities on this. Regards, paradhu, Infowink Technologies.
Nilambari
1 0
7
Who is better - Manual Tester or Automation Tester?
Its the validation and verification that matters. Either you do it manually or you do it through an automated script(automation tesing). The ability to busting the code is needed. And if you have automation...
Maneesh Jha

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

Ask a Question

Related Lessons

Puzzle: A Milkman has 2 Empty Jugs and milk
Puzzle: A Milkman has 2 Empty Jugs and milkSize of- Jug A is 3 Ltr and Jug B is 5 LtrHow can he measure exactly one liter without wasting any milk?Solution:Step 1: Fill Jug A with...

Effective Test Automation by Example - Video lesson
Test automation needs lot of Porcess planning, designing and implementation. Once these are defined then one can identify the right tool for the application and also to the level of organzational...

WE <3 TEST AUTOMATION..but do WE know AUTOMATION ANTIPATTERNS!?
MIND THE AUTOMATION ANTIPATTERNS! * TESTING PYRAMID * The goal of test automation is to accelerate the feedback cycle. In order to achieve this goal it is important to use the right mix of diferent...

What is debugging? and its importance
Debugging is a step by step process of identifying the errors present in the code. The question here is what kind of mistakes? Usually errors are of two types.1. Syntax errors2. Logical errors.Syntax...

How to Shape Your Software Testing Career?
When I met with the students they ask or can say its a frequently ask question "How much Scope of Testing is?" "What the pay package I will get?" "Is career secure in Software Testing?" "I will learn...

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