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

What is manual testing, Manual testing is the part of software testing that...

Manual testing is the part of software testing that needs operator input, analysis, or evaluation. or A manual testing is a testing for which there is no automation. Instead,

Stat352-13a - minitab analyses, TASK A: Minitab analyses for Case Study tas...

TASK A: Minitab analyses for Case Study task 3 (robustness for the filler flap design; TASK3.MTW) Describe an 8-run 2-level fractional factorial experiment to check the robustne

Develop a test case for any under development application, An application w...

An application which is under development. How would you develop a test case for it? When application is under development, Business Requirement Document is used as primary doc

What is software architecture, What is software architecture The softwa...

What is software architecture The software architecture of a program or computing system is the structure or structures of the system, which comprises software components, the

What is grey box testing, Grey box testing is a software testing method tha...

Grey box testing is a software testing method that uses a combination of black box testing and white box testing. Gray box testing is not the black box testing, because the tester

What is test data generators, Q. What is Test data generators? This is...

Q. What is Test data generators? This is a difficult one as well as at least for the present is one for which no general solution exists. One of the practical problems with te

Calculates function point value for a project, Q Calculates function point ...

Q Calculates function point value for a project with the following domain characteristics: No. of I/P = 30 No. of O/P = 62 No. of user Inquiries = 24 No. of fil

FTR., Formal technical review in railway reservation system

Formal technical review in railway reservation system

What is boundary value, Explain Boundary value? (1)A data value that cor...

Explain Boundary value? (1)A data value that corresponds to a input, internal, or output value specified for a system or component. (2) A value which lies at, or just inside

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