Nature of roots of a quadratic equation, Software Engineering

Assignment Help:

Consider a program for the purpose of the nature of roots of a quadratic equation. Its input is the triple of positive integers say a, b, c as well as values in the interval [0,100]. The program output possibly one of the following:

[Not a quadratic equation; Real roots; Imaginary roots; Equal roots]. Design the boundary value test cases as well as robust test cases for the program.

Ans Quadratic equation will be of type:

ax2 + bx + c = 0

Roots are real if ( 4 ) 0 2 b - ac >

Roots are imaginary if ( 4 ) 0 2 b - ac <

Roots are equal if ( 4 ) 0 2 b - ac =

Equation isn't quadratic if a=0

The boundary value test cases are

1200_Nature of roots of a quadratic equation.png

As we know robust test cases are 6n+1 therefore in 3 variable input cases total numbers of test cases are 19 as given below:

1013_Nature of roots of a quadratic equation1.png


Related Discussions:- Nature of roots of a quadratic equation

Explain incremental testing, Incremental integration testing is permanent t...

Incremental integration testing is permanent testing of an application as new functionality is recommended. This may need that various aspects of an application's functionality are

What is test suite, What is Test Suite - It is a collection of tests t...

What is Test Suite - It is a collection of tests that are used to validate the behavior of an application or product. - Generally a test Suite is a high level concept, grou

Computing fundamentals, Construct an E-R diagram for a department store dat...

Construct an E-R diagram for a department store database. This database contains information about customers, items they order, departments in the store, employees, and suppliers o

What is parallel testing, Testing a new or an changed data processing syste...

Testing a new or an changed data processing system with the similar source data that is used in another system. The other system is taken as the standard of comparison.

Software document, explain software document.create the necessary documents...

explain software document.create the necessary documents for employee management system.

Explain in detail about system testing, Explain in detail about system test...

Explain in detail about system testing. System testing Stress testing Performance testing Security testing

RMMM Planner, Give a complete example that how to tackle with it.

Give a complete example that how to tackle with it.

Legacy Challenge, What is the Legacy Challenge in Software Engineering?

What is the Legacy Challenge in Software Engineering?

What are the misunderstanding arises in software development, What are the ...

What are the misunderstanding arise in software development Some of the common misunderstandings regarding software development are given below. 1.  Correcting errors is eas

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