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

Determine the levels of capability maturity model, Determine the levels of ...

Determine the levels of Capability Maturity Model(CMM). Capability Maturity Model(CMM) Level 1:Initial - Few processes are explained  and individual efforts are taken. Le

Explain quick-fix model, Explain Quick-fix Model Quick-fix Model : Thi...

Explain Quick-fix Model Quick-fix Model : This is the easiest model used for the maintenance of the software. In this model changes at the code level are made as early as poss

State procedural abstraction, State Procedural abstraction. A Procedur...

State Procedural abstraction. A Procedural abstraction is a named sequence of instructions that has a specific and limited function. Eg: Open Walk to the door, reach out &

The software life cycle model that incorporates risk factor, Explain the so...

Explain the software life cycle model that incorporates risk factor.  The problem with traditional software process models is that they do not deal adequately with the uncertai

What is infeasible path, Explain Infeasible Path? Program statement sequ...

Explain Infeasible Path? Program statement sequence that can never be implemented.

Project or process, Mentoring a class at a university. is project or proce...

Mentoring a class at a university. is project or process??

What is cycle stealing dma operation, What is cycle stealing DMA operation?...

What is cycle stealing DMA operation? Cycle Stealing: In this process, the DMA controller transfers one data word at a time, after which it must return control of the buses to

Compute the mccobes cyclomatic complexity, Q. Compute the McCobes cyclomati...

Q. Compute the McCobes cyclomatic complexity? (i) compute the McCobe's cyclomatic complexity (ii) Find out independent path Ans (i) Cyclomate complexity V (

What is Regression testing, Regression testing:- It is the re-execution ...

Regression testing:- It is the re-execution of some subset of tests that have already been conducted to make sure the changes that have not been propagated unintended side e

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