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

Define graph matrix and connection matrix, Define graph matrix and connecti...

Define graph matrix and connection matrix.      Graph matrix: A graph matrix is a square matrix whose size (i.e., number of rows and columns) is equivalent to the number of n

Illustrate the features of function count, Q. Illustrate the Features of fu...

Q. Illustrate the Features of function count? Features:- Function point goes forward is independent of the language tools or methodologies used for implementation.

Developing prototype software, Introduction Energy consumer in the comp...

Introduction Energy consumer in the computer system is getting critical all around the globe now. Therefore, the ability to figure out the components that consume energy in sys

Senior project, in which platform can i best develop a college financial/ac...

in which platform can i best develop a college financial/accounting system? what modules can it entail?

Differentiate between failures and faults, Differentiate between failures a...

Differentiate between failures and faults.   Failure:- Failure is the departure of external results of program operation from requirements. So failure is dynamic. Failure can

What is cardinality in data modelling, What is cardinality in data modellin...

What is cardinality in data modelling? Cardinality in data modeling, cardinality verifies how the number of occurrences of one object is related to the number of occurrences of

Incremental model, four circumstances where incremental model is appropriat...

four circumstances where incremental model is appropriate?

Software engineering, Software Engineering A  high technology system e...

Software Engineering A  high technology system encompasses a  number of  elements like   people, hardware, software, database, documentation, and process.  System engineering

What is internal interrupt, Internal Interrupt Cause because of illegal...

Internal Interrupt Cause because of illegal or erroneous use of an instruction or data. Internal interrupts are also known as traps. Internal interrupts are initiated because o

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