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

Software availability, Software Availability: In the present day conte...

Software Availability: In the present day context, software suppliers have realised the potential demand and also the special requirements of library and information professio

Reverse engineering, explain the effect of reverse engineering of software ...

explain the effect of reverse engineering of software development #

Advantage of software package, Advantage of software package: Advantag...

Advantage of software package: Advantages accrue from this situation. Some of these are mentioned below:  i)  An efficient software package requires at least 4 to 5 man yea

What is lload testing, Load testing is testing an application under heavy l...

Load testing is testing an application under heavy loads, like the testing of a web site under a range of loads to verify at what point the system response time will degrade or fai

Illustrate intermediate COCOMO model, Q.Illustrate Intermediate COCOMO mode...

Q.Illustrate Intermediate COCOMO model ? The intermediate COCOMO model approximation the software development effort by using 15 cost drivers' variables besides the size variab

Explain common coupling with example, Q. Explain Common coupling with examp...

Q. Explain Common coupling with example? Common coupling: General coupling is when two modules share the same global data (example a global variable). Changing of the shared

What are the types of software maintenance, What are the types of software ...

What are the types of software maintenance? Corrective maintenance - Means the maintenance for correcting the software faults. Adaptive maintenance - Means maintenance f

Discuss in details about rapid prototyping techniques, Discuss in details a...

Discuss in details about rapid prototyping techniques. Executable specification languages. Used to animate the system specification. It is shown in a formal, mathemati

What is ripple effect, Q. What is ripple effect? How does it affect the sta...

Q. What is ripple effect? How does it affect the stability of a program? Ans. The ripple effect is a term used to explain a situation where like the ever expanding ripples

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