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

Define traceability, Define Traceability Traceability is the overall...

Define Traceability Traceability is the overall property of requirements specification which reflects the easiness of finding related requirements. Three different parts

Define aggregation among objects, Q. Define Aggregation among objects? ...

Q. Define Aggregation among objects? Aggregation between objects represents a relationship. It is a whole/part relationship. Aggregation may perhaps imply containment.

Dfd, explain dfd

explain dfd

Define data flow diagram, Define Data Flow Diagram. A Data flow diagram...

Define Data Flow Diagram. A Data flow diagram is a graphical representation that depicts information flow & the transforms that are applied as data move from input to output.

Process models, Ask question what is abstraction ?#Minimum 100 words accept...

Ask question what is abstraction ?#Minimum 100 words accepted#

Code restructuring, Ask quewhat is code restructuringstion #Minimum 100 wor...

Ask quewhat is code restructuringstion #Minimum 100 words accepted#

State the term software is engineered, Justify the term "Software is engine...

Justify the term "Software is engineered" Software is engineered not manufactured. Although some similarities exist between software development and hardware manufacture, the t

Software Metircs, I have a comprehensive question for Software Metrics ...i...

I have a comprehensive question for Software Metrics ...it is 16 question

Write the definition of design process, Write the definition of design proc...

Write the definition of design process. Design process is a sequence of steps carried by which the requirements are transformed into a system or software model.

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