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

Database management systems, Database Management Systems: These are es...

Database Management Systems: These are essentially programming frameworks, and can offer good storage and retrieval systems. They are mainly intended for programmers to intera

What is ripple effect, What is ripple effect?       The ripple effect i...

What is ripple effect?       The ripple effect is a term used to describe a situation where, like the ever expanding ripples across water when an object is dropped into it, an

Business intelligence, What are the advantages and disadvantages of using a...

What are the advantages and disadvantages of using a Business Intelligence (BI) software system in a small/medium level business?

Explain about function count - software metrics, Q. Explain about Function ...

Q. Explain about Function count? Function count:- It measures the functionality from the user point of view that is on the basis of what the user requests and receives in ret

Explain compatibility testing, Compatibility testing is testing how well so...

Compatibility testing is testing how well software performs in a certain operating system,hardware, software, or network environment.

Architecture diagram and system design, Writing a report explaining all the...

Writing a report explaining all the work in detail in a professional manner and the report should include all the steps below: 1. Draw up a final Entity-Relationship model compr

What is validation and verification testing, Explain Validation and verific...

Explain Validation and verification testing? Ans) Used as an entity to describe a procedure of review, analysis, and testing all over the software life cycle to discover errors,

What is problem, What is Problem Any deviation from defined standards. S...

What is Problem Any deviation from defined standards. Similar as defect.

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