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

Write definition of erd, Write definition of ERD? Entity Relationship D...

Write definition of ERD? Entity Relationship Diagram shows the graphical presentation of the object relationship pair. It is above all used in database applications.

List the guidelines for data design, List the guidelines for data design. ...

List the guidelines for data design. i. Apply systematic analysis on data. ii. Identify data structures and related operations. iii. Establish data dictionary. iv. Use

Explain the information flow continuity, What is meant by Information flow ...

What is meant by Information flow Continuity? When we refine a fundamental model for a system, the information flow continuity should be maintained .ie, input & output to each

What is function point, Q. What is function point? Ans. Function po...

Q. What is function point? Ans. Function point methods the functionality from the user point of view that is on the basis of what the user request and receives in return. C

Explain the software quality assurance, Software Quality Assurance and Soft...

Software Quality Assurance and Software Quality Control SQA verifies if the process that is followed to form a product is effective and does not have process defects while SQC

COCOMO model, What is the correct order in which a software project manager...

What is the correct order in which a software project manager estimates various project parameters while using COCOMO?

Analyses the system design process of a project, Write a report which criti...

Write a report which critically analyses the system design process of a project. Projects might include designing a light rail network for a city, more environmentally-conscious bu

Explain effort adjustment factor, Q. Explain effort adjustment factor? ...

Q. Explain effort adjustment factor? All of the 15 attributes receives a rating on a six-point scale that ranges from very low to extra high (in importance or value). An endeav

Factory method, For this assignment you will create a program called MMWord...

For this assignment you will create a program called MMWordFix (Multi-Mode WordFix). This program prompts the user to select one of three word filters (uppercase, lowercase, encryp

Database schema, Question This question refers to the database Schema....

Question This question refers to the database Schema. Express the following queries in SQL: (a) List the First Name, Last Name and telephone number of all employees who wer

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