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 bottom-up strategy, Bottom-up approach, as the name suggests, is th...

Bottom-up approach, as the name suggests, is the differing of the Top-down method. This process begins with building and testing the low level modules first, working its way up

Explain the various phases of SDLC, Explain the Various phases of SDLC ...

Explain the Various phases of SDLC Various phases of SDLC are defined as below: Requirements Analysis Design Coding Software Testing Maintenance.

Enhance the effectiveness of visual support, Question: a) Discuss which...

Question: a) Discuss which communication method/s you would use in the following situations. Justify your answer. i. Congratulating an employee on obtaining a promotion.

Describe software development life cycle activities, Question: (a) Des...

Question: (a) Describe with a pictorial representation ISO 12207 software development life cycle activities. (b) A public library is considering the implementation of

Assignment projects, I want to make assignements regarding software enginee...

I want to make assignements regarding software engineering.

What are the general activities in design process, What are the general act...

What are the general activities in design process? i. System structuring - The system is separated into principle subsystems components and communications among these subsystem

Explain the test case, Test Case A test case is a unit level document d...

Test Case A test case is a unit level document describing the inputs, steps of implementation and the expected result of each test condition for each requirement from the BRD.

What is defect analysis, What is Defect Analysis? Ans) Using defects as ...

What is Defect Analysis? Ans) Using defects as data for regularly quality improvement. Defect analysis usually to classify defects into categories and recognize possible causes

Software Metircs, I have a comprehensive question for Software Metrics ...i...

I have a comprehensive question for Software Metrics ...it is 16 question

Describe system testing, Q. Describe system testing? Ans. System testi...

Q. Describe system testing? Ans. System testing: System test are designed to validate a completely developed systems with a view to assuring that it meets its requirements

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