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 a cohesive module, What is a cohesive module? A cohesive module...

What is a cohesive module? A cohesive module performs only "one task" in software procedure with few interaction with other modules. It means cohesive module serve only one thi

Write down the concept of functional independence, Write down the concept o...

Write down the concept of Functional independence.  a. Functional independence is gained by developing modules with "single minded" function and an "aversion" to extreme intera

Define process specification, Define Process Specification. Process Sp...

Define Process Specification. Process Specification is used to explain all flow model processes that appear at the final level of refinement. Check & Convert pressure Ch

Define black box testing, Define Black box testing Black box testing ...

Define Black box testing Black box testing Black-box test design care for the system as a "black-box", so it doesn't explicitly use knowledge of the internal structure. It ta

Explain in detail about scm, Explain in detail about SCM. Software C...

Explain in detail about SCM. Software Configuration Management is an umbrella activity which is used throughout the software process. SCM Activities Identify cha

JAVA PROGRAMMING, Write a test program that read an integer n and call a me...

Write a test program that read an integer n and call a method to display a pattern as follows: 1 2 1 3 2 1 4 3 2 1 ... n n-1 ... 3 2 1 The method header is

Software methodology, how to choose a software methodology for a software p...

how to choose a software methodology for a software project

What is the meaning of real time system, What is the meaning of Real time s...

What is the meaning of Real time system? Real time system is a software system where the correct functionalities of the system are dependent upon results evaluated by the syste

What is affinity diagram, A group process that takes large quantity of lang...

A group process that takes large quantity of language data, like as a list developed by brainstorming, and separates it into categories.

What is dfd, What is DFD? Data Flow Diagram depicts the information flo...

What is DFD? Data Flow Diagram depicts the information flow and the transforms that are applied on the data as it moves from input to output.

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