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

Why it is difficult to improve software process, List four reasons why it i...

List four reasons why it is difficult to improve software process.   It is difficult to improve software process due to following reasons: 1. Lack of knowledge 2. Not eno

What are the two levels of testing, What are the two levels of testing? ...

What are the two levels of testing? i. Component testing Individual components are tested. Tests are derived from developer' s experience. ii. System Testing The group

What is software, What is Software Software is nothing but a collecti...

What is Software Software is nothing but a collection of computer programs that are related documents that are indented to give desired features, functionalities and good per

Define the types of requirements management, Define the types of Requiremen...

Define the types of Requirements management Requirements management comprises the below processes: 1. Identifying controls and tracking requirements. 2. Checking complete

What is meant by software change, What is meant by software change? Sof...

What is meant by software change? Software change is explained as the change in nature of software as the needs of software changes.

What is top-down strategy, What is Top-Down Strategy? Ans) Top down inte...

What is Top-Down Strategy? Ans) Top down integration is basically an approach where modules are produced and tested starting at the top level of the programming hierarchy and re

Operation of the clue-less system, A player with an active turn must make a...

A player with an active turn must make a valid move with their character or pass their turn. As a first move in the game, the player can move to the hallway that is adjacent to the

What is 4test, What is 4Test? 4Test is a test scripting language which ...

What is 4Test? 4Test is a test scripting language which is used by SilkTest to compose test scripts to perform automated tests. It's an object-oriented fourth-generation langua

What is test phase, What is Test phase? Ans) The time period in the soft...

What is Test phase? Ans) The time period in the software life cycle in which the parts of a software product are evaluated and integrated, and the software product is evaluated

How is cyclomatic complexity useful in program test, Q. How is cyclomatic c...

Q. How is cyclomatic complexity useful in program test and What is sequence of testing and  What is testability? Ans. Cyclomatic complexity measures the amount of decision lo

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