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

The roles of project stakeholders, The roles of project stakeholders :- ...

The roles of project stakeholders :- Offer resources (time, money, ...) to the project team Instruct developers about their business Be precise and specific about requir

What is meant by information flow continuity, What is meant by Information ...

What is meant by Information flow Continuity? When we refine a fundamental model for a system, the information flow continuity must be maintained .ie, input & output to every r

Explain about mutation testing, Q. Explain about Mutation testing? Mut...

Q. Explain about Mutation testing? Mutation testing In mutation testing the software is initial tested by using an preliminary test suite built up from the different white bo

Explain how to define severity rating in your project, Explain how to defin...

Explain how to define Severity Rating in your project. Severity rating is a combination of three factors: - The frequency of the problem occurrence. It could be common / ra

What is cocomo, Software project Management & Quality Assurance 1. Brie...

Software project Management & Quality Assurance 1. Briefly explain various activities involved in project management. 2. What is COCOMO? Write necessary steps for cost estim

Describe any 4 characteristics of distributed systems, QUESTION - Character...

QUESTION - Characteristics of DSs (a) List and describe any 4 characteristics of distributed systems. (b) State the criterion for a system to be considered as not a distrib

What are the causes behind to perform white box testing, What are the cause...

What are the causes behind to perform white box testing? There are three main reasons behind performing the white box testing. 1. Programmers may have some incorrect assumpt

ER Diagram, ER Diagram for Safe Home System

ER Diagram for Safe Home Systems

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