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 behavioral modelling, Define Behavioral Modelling The state tran...

Define Behavioral Modelling The state transition diagram represents the behavior of a system by depicting its states and the events that cause the system to change state.

The sequence of testing, The sequence of testing is: a) Unit testing: ...

The sequence of testing is: a) Unit testing: b) Integration testing: Alpha Testing- Beta testing Acceptance Testing

List the principles of a software design, List the principles of a software...

List the principles of a software design. i. The design process should not undergo from "tunnel vision". ii. The design should be traceable to the analysis model. iii. Th

Software requirements analysis, What types of models are formed during soft...

What types of models are formed during software requirements analysis?   Functional and behavioral

Discuss about throw-away prototyping, Discuss about Throw-away prototyping ...

Discuss about Throw-away prototyping Objective: The principal aims of this model is to validate or to gain the system requirements. It is developed to minimise requi

Define the estimation models, Write short notes on estimation models. E...

Write short notes on estimation models. Empirical estimation models can be used to complement decomposition techniques and present a potentially important approach in their own

Explain about the software metrics, SOFTWARE METRICS Measurement is fun...

SOFTWARE METRICS Measurement is fundamental to an engineering discipline and software engineering is no exception. Software metric is a quantitative measure which is derived fr

What is delphi model, What is Delphi model? In Delphi method, a number ...

What is Delphi model? In Delphi method, a number of parameters to be considered based on as experts estimates. The group estimate is taken as on  an average of the weighted

What are the benefits of incremental model, What are the Benefits of increm...

What are the Benefits of incremental model This model is acceptable when there is less number of person involved in the project. Technical risks can be handle with every

What is inheritance, Q. What is Inheritance? Inheritance:- Inheritance...

Q. What is Inheritance? Inheritance:- Inheritance is defined as the property of objects by which instances of a class can have access to data and programs contained in a previ

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