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

State the working of system evaluation, State the Working of System Evaluat...

State the Working of System Evaluation compare final solution with original requirement identify any limitations in system identify any necessary improvements which

System analyst, Explain the role and functions of a Systems Analyst in the ...

Explain the role and functions of a Systems Analyst in the overall project development.

What is verification represent, What is Verification represent? Verific...

What is Verification represent? Verification represents the set of actions that are performed to confirm that the software correctly implements the particular functionality.

Define query language, Define query language? A query is a statement re...

Define query language? A query is a statement requesting the retrieval of information. The portion of DML that includes information retrieval is known as a query language.

What are the levels of testing, What are the two levels of testing? i. ...

What are the two levels of testing? i. Component testing Individual components are tested. Tests are produced from developer's experience. ii. System Testing The group

Data Flow Diagram, I need help creating a DFD for an assignment. Is there a...

I need help creating a DFD for an assignment. Is there anyway you could help?

Explain sci, What is SCI? Software Configuration Item is information th...

What is SCI? Software Configuration Item is information that is carried as part of the software engineering process.

Explain the seven model primitives in 3d lingo, (a) Copying a graphic imag...

(a) Copying a graphic image from the Web can be as easy as pointing to it and clicking the right mouse button or performing a screen capture. The question is, under what circumsta

What is compatibility testing, What is Compatibility testing - It's a n...

What is Compatibility testing - It's a non-functional test performed on a software system or component for checking its compatibility with the other parts in computing environm

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