Determine the test cases using boundary value analysis, Software Engineering

Assignment Help:

Q. Consider a program which computes the square root of an input integer between 0 and 5000. Determine the equivalence class test cases. Determine the test cases using boundary value analysis also.

Ans. For a program that calculates the square root of an input integer which can assume values in the range of 0 to 5000 there are three equivalence classes The set of negative integers the set of integers in the range of 0 and 5000 as well as the integers larger than 5000. Consequently the test cases must include representatives for each of the three equivalence classes and a possible test set can be: {-5,500,6000}. Boundary value analysis initiates selection of test cases at the boundaries of the different equivalence classes. For a function that calculates the square root of integer values in the range of 0 and 5000, the test cases must include the following values: {0, -1,5000,5001}.


Related Discussions:- Determine the test cases using boundary value analysis

Define system modeling, Define System Modeling? Explain the processe...

Define System Modeling? Explain the processes that serve requirements of the view under consideration. Shows the behaviour of the processes and the assumptions on which t

Realistic approach to the development of large-scale systems, Q. Realistic ...

Q. Realistic approach to the development of large-scale systems? There are a number of advantages of Spiral model that makes it a realistic approach to development of large-sca

List the principles of a software design, List the principles of a software...

List the principles of a software design. i. The design process should not suffer from "tunnel vision". ii. The design should be traceable to the analysis model. iii. The

What is data binding, Q. What is Data Binding? Ans. The matrix that at...

Q. What is Data Binding? Ans. The matrix that attempts to imprison the module-level concept of coupling is data binding. Data binding are a calculate that captures the data in

How to ensure the smooth implementation of system, Probelm: (a) Compare...

Probelm: (a) Compare Supply Chain Management (SCM) and Customer Relationship Management (CRM) . How are they similar? How are they different? Your answer should show the differ

What is quality assurance (qa), (1)The planned systematic activities essent...

(1)The planned systematic activities essential to make sure that a component, module, or system conforms to established technical requirements. (2) All actions that are taken to

Program input initiated interpput, what are the basic advantages of using i...

what are the basic advantages of using interrput-initiated data transfer over transfer under progrm control without an interrput

State the level 3 of kpas, State the level 3 of KPAs Level 3 KPAs: ...

State the level 3 of KPAs Level 3 KPAs: 1)   Organisation Process Focus (OPF): Organisations responsibility is fixed for software process activities which improve the ul

What is risk assessment, What is Risk Assessment? Ans) A associated impa...

What is Risk Assessment? Ans) A associated impact and its comprehensive evaluation of the risk

Explain test archiving systems, Q. Explain Test archiving systems? Tes...

Q. Explain Test archiving systems? Test archiving systems: the goal is to keep follow of series of tests ant to act as the basis for documenting that the tests have been done

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd