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

Asked by Last Modified  

1 Answer

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

How is software testing career at present situation?
Its very good, as the industry is growing more and more people are required with Software testing skill set.
Shivshankar
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
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?
Hello, Good morning! I recommend following couple of options for you in order to showcase your skills and share your experience among others. 1. Build your strong profile over elance or freelance portal....
Nilambari
1 0
7
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

Software Development Life Cycle Methodologies.
In this, I'm going to explain types of Software Development Life Cycle methods In earlier days many organisations follows these model: 1. Waterfall Model 2. Prototype Model 3. Incremental Model 4....

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...

What Points Determines A Candidate Is Fit For A QA Job Or Not?
Following are some(base) Points Which Determine a Candidate is Fit for the QA Job or Not: 1.On Curiosity and passion: Being a software tester means being curious for everything. You need to mirror a child...
I

Icreative Solution

0 0
0

Puzzle: There is a lotus (or any flower) in a pool which doubles its size every day, on the 20th day it would be.
Puzzle: There is a lotus (or any flower) in a pool which doubles its size every day, on the 20th day it would be enough to cover the complete pool. On which day the size of the lotus was half the size...

Priority in TestNG
public class Priority { @Test (priority=1)public void login() {System.out.println("login");} @Testpublic void email1() {System.out.println("email1");} @Test (priority=-2)public void email2() {System.out.println("email2");} //I...
S

Sarthak C.

0 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