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

V-model and spiral model, Question 1 V-Model and Spiral Model, Waterfall M...

Question 1 V-Model and Spiral Model, Waterfall Model are of the software development processes. Companies are using these models to have a systematic and defined approach in softw

What is software architecture, What is software architecture The softwa...

What is software architecture The software architecture of a program or computing system is the structure or structures of the system, which comprises software components, the

How many types of traceability in software engineering, How many types of t...

How many types of traceability in software engineering? i. Source traceability - These are generally the links between requirement to stakeholders who suggests these requiremen

How can we re-engineering of any product, How can we re-engineering of any ...

How can we re-engineering of any product One additional difficulty in adopting this approach is large investment which exists in software system maintenance. It requires additi

Explain the information flow continuity, What is meant by Information flow ...

What is meant by Information flow Continuity? When we refine a fundamental model for a system, the information flow continuity should be maintained .ie, input & output to each

Explain how to define severity rating in your project, Explain how to defin...

Explain how to define Severity Rating in your project. Severity rating is a combination of three factors: - The frequency of the problem occurrence. It could be common / ra

Illustrate about web-testing, Illustrate about web-testing - Web testin...

Illustrate about web-testing - Web testing is software testing concentrating on web applications. - It assists in addressing issues before making the application live to pub

The advantages of using these specific languages of srs, What are the advan...

What are the advantages of using these specific languages of SRS?      The major benefit of using a natural language is that both client and superior understand the language. T

What is the key process areas, What is the Key Process Areas SEI has a...

What is the Key Process Areas SEI has associated key process areas(KPAs) with every maturity level. KPA is an indicative measurement of goodness of software engineering functi

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