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

What is structured programming and why is it important, What is structured ...

What is structured programming and why is it important? Structured programming is a programming which was coined in the late 1960's to mean programming without using go to stat

Illustrate about the managed level of maturity model, Level 4 (Managed) ...

Level 4 (Managed) Organisation satisfies all the requirements of level-3. At this level quantitative standards are set for software processes andproducts. Project analysis is

Define test methodology and test scenario, Define Test Methodology and  Te...

Define Test Methodology and  Test Scenario Testing methodology verifies how an application will be tested and what will be tested. Example of methodologies: waterfall, agile

Define the structural testing, Q. Define the Structural Testing? For a ...

Q. Define the Structural Testing? For a moment it called white-box testing. At this point derivations of test cases are according to the program structure. Knowledge of the pro

What are the elements of design model, What are the elements of design mode...

What are the elements of design model? i. Data design ii. Component-level design iii. Interface design iv. Architectural design

Write about the types of project plan, Write about the types of project pla...

Write about the types of project plan. Quality plan - This plan explains the quality procedures and standards that will be used in a project. Validation plan - This plan explai

What do you understand by black box testing, Q. What do you understand by b...

Q. What do you understand by black box testing? Black Box Testing:-Black Box Testing is as well called behavioural testing focuses on the functional requirements of the softwar

Describe design walk throughs, Describe design walk throughs A design wa...

Describe design walk throughs A design walkthrough is a quality practice that allows designers to obtain an early validation of design decisions related to the development and t

Discuss about rad model, Discuss about RAD Model Rapid Application D...

Discuss about RAD Model Rapid Application Development Model is the one type of incremental model. Gains the high speed development utilising component based construction.

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