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 class level methods, What is Class Level Methods? Ans) A class (...

What is Class Level Methods? Ans) A class (and its operations) is the module mainly concentrated on in OO environments. From here it should increase to other classes and sets of

System analyst, Explain the role and functions of a Systems Analyst in the ...

Explain the role and functions of a Systems Analyst in the overall project development.

What is failure-directed testing, What is Failure-directed Testing Ans) ...

What is Failure-directed Testing Ans) Testing based on the information of the types of errors made in the earlier period that are likely for the system under test.

Determine the level 4 of key process areas, Determine the Level 4 of key pr...

Determine the Level 4 of key process areas Level 4 KPAs: 1)      Quantitative Process Management (QP): It states quantitative standards for software process. 2)

Designing website, I have to make assets for the design that i have done fo...

I have to make assets for the design that i have done for the website but i dont know how to do it can you please help me?

Define software measurement, Define software measurement. A software me...

Define software measurement. A software measurement is a method or method that applies software calculates to a class of software engineering objects to attain a predefined goa

Full form of fast, FAST stands for :- FAST :- Facilitated Application...

FAST stands for :- FAST :- Facilitated Application Specification Technique

Explain a variable, Explain a variable? "Variables" are data items in a ...

Explain a variable? "Variables" are data items in a program whose values can change.

What is a technical analyst, What is A Technical Analyst? Ans) Technical...

What is A Technical Analyst? Ans) Technical Analysts perform test assessments and validate system/functional test needs. Depending on the project, single person might wear more

Explain reverse engineering, REVERSE ENGINEERING :- It is a process of exa...

REVERSE ENGINEERING :- It is a process of examining software with a view to understanding its design and specification. In this, source code and portable code are the input

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