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

Mca, encoded micro instruction vs unecoded micro instruction

encoded micro instruction vs unecoded micro instruction

What is usability, What is Usability? Ans) "Usability" means simple of u...

What is Usability? Ans) "Usability" means simple of use; the simple with which a user can learn to control, prepare inputs for, and intended the outputs of a software product.

Software Metrics, How to interpret software metrics(any metrics)...i need a...

How to interpret software metrics(any metrics)...i need an example

Cairs library management system , CARS-LMS: In this section let us try...

CARS-LMS: In this section let us try to learn about a different software package, which is commonly used in some of the libraries abroad. The package is known as CAIRS/LMS or

Write definition of erd, Write definition of ERD? Entity Relationship D...

Write definition of ERD? Entity Relationship Diagram shows the graphical presentation of the object relationship pair. It is above all used in database applications.

Program for users to play the game of brick, Hello I need Solution for How...

Hello I need Solution for How">http://www.expertsmind.com/questions/program-for-users-to-play-the-game-of-brick-30137058.aspx, How much it Will COst?

What do you understand by user-centred design, Problem: (a) What do yo...

Problem: (a) What do you understand by user-centred design and why is it important? (b) Explain how Prototyping and the Participatory Design approach are useful to the d

Describe briefly the idea behind the gqm paradigm, Problem: (a) Define ...

Problem: (a) Define measurement and briefly summarize the representation condition for measurement. (b)  Software metrics is a term that embraces many activities, all of whi

What is procedure, What is Procedure? Ans) The step-by-step method follo...

What is Procedure? Ans) The step-by-step method followed to make sure that standards are met.

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

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