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

What does a usecase diagram represent, Problem : (a) What does a UseCas...

Problem : (a) What does a UseCase Diagram represent? (b) Draw a UseCase Diagram for the above case study. (c) For any one use case give a detail use case specification.

Explain the software scope, Define software scope. The first software p...

Define software scope. The first software project management activity is the determination of software scope. Scope is defined answering the following questions. Context: Wh

Explain storage testing, This is a explanation of whether or not certain pr...

This is a explanation of whether or not certain processing conditions use many storage [memory] than estimated.

Define the minimum cardinality of a relationship, Define the Minimum cardin...

Define the Minimum cardinality of a relationship Minimum cardinality of a relationship is the minimum number of instances of second entity (student, in this case) with every in

What is software metric, What is Software metric? Any type of measureme...

What is Software metric? Any type of measurement which relate to a software system, process or related documentation Lines of code in a program, the Fog index, number of

What is a utility, "Utility" is a software tool designed to perform some re...

"Utility" is a software tool designed to perform some regularly used support function. For example, single utility is a program to print files.

What is validation testing, What are the conditions exists after performin...

What are the conditions exists after performing validation testing? After performing the validation testing there exists two conditions. The function or performance characteris

Illustrate the method of user documentation, Illustrate the method of User ...

Illustrate the method of User documentation This usually comprises: -  How to load/run the software -  How to do a search   -  How to save files   -  How to do pri

Explain smoke testing, Explain Smoke testing - Smoke testing covers all...

Explain Smoke testing - Smoke testing covers all of the fundamental functionality of application. - It is considered as the main test for checking the functionality of appli

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