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

Explain in detail about integration testing, Explain in detail about Integr...

Explain in detail about Integration testing. It is a systematic method for constructing the program structure. Incremental integration - The program is constructed and

Produce a use case diagram, ZeroJet, a new low cost airline, wants a brand ...

ZeroJet, a new low cost airline, wants a brand new web-based system to allow people to book seats for flights on-line.  They want an automated check in system which has no staff.

Explain in detail about the real time systems, Explain in detail about the ...

Explain in detail about the real time systems. Hard and soft real time systems. Real time and high performance. Real-Time control. Real time software design P

What is a technical analyst, What is A Technical Analyst? Ans) Technical...

What is A Technical Analyst? Ans) Technical Analysts perform test assessments and validate system/functional test needs. Depending on the project, single person might wear more

Post-production design feedback for future designs, Q. Post-production desi...

Q. Post-production design feedback for future designs ? Post-production design feedback for future designs Implementation it is introducing the designed solution into

Illustrate detailed cocomo model, Q. Illustrate Detailed COCOMO model? ...

Q. Illustrate Detailed COCOMO model? Detailed COCOMO it incorporates all characteristics of the intermediate version with an assessment of the cost driver's impact on every ste

What is a software version, What is a software version? A software versi...

What is a software version? A software version is a start release (or re-release) of a software associated with a done compilation (or recompilation) of the software.

What is masm? explain its features, Question 1 What is MASM? Explain its f...

Question 1 What is MASM? Explain its features Question 2 Explain the significance of Lexical analysis and Syntax analysis Question 3 What are macros and macro processors

What is verification represent, What is Verification represent? Verific...

What is Verification represent? Verification represents the set of actions that are performed to confirm that the software correctly implements the particular functionality.

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