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,

Cairs library management system , CARS-LMS: In this section let us try...

CARS-LMS: In this section let us try to learn about a different software package, which is commonly used in some of the libraries abroad. The package is known as CAIRS/LMS or

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

Explain practical process quality, Practical process quality Explain pr...

Practical process quality Explain process standards such as how reviews should be conducted, configuration management, etc. Monitor the development process to make sure that

Functional requirement for an library management system, Write down the fun...

Write down the functional requirement for an Library management system. The user should able to search either all of the initial set of databases or select a subset of datab

Describe the data abstraction, What does Data abstraction contains? A D...

What does Data abstraction contains? A Data abstraction is a named collection of data that describes a data object Eg: door Attributes: door type, Opening mechanism, Swing d

What is the evolution of software engineering, What is the Evolution of sof...

What is the Evolution of software engineering Any application on computer runs by software. As computer technologies have changed tremendouslyinthe last five decades, consequen

Artificial intellegence, can yo do a project on Artificial Intelligence.The...

can yo do a project on Artificial Intelligence.The topic is L-system of flowers

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