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

Explain different phases of spiral model, Q. Explain Different Phases of sp...

Q. Explain Different Phases of spiral model? 1) Planning: In this phase the objectives alternatives as well as constraints of the project are determined or documented. The ob

Need of data dictionaries, Objectives of Data dictionaries:- 1) A stand...

Objectives of Data dictionaries:- 1) A standard definition of every terms in a system that is each item of data is uniquely identified and defined. 2) Simple cross-referenci

What are the common activities in design process, What are the common activ...

What are the common activities in design process? i. System structuring - The system is subdivided into principle subsystems components and communications among these subsy

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

Elaborate on the characteristics of a good team player, Question 1: In ...

Question 1: In his book Tales of a New America, Robert Reich describes the importance of teamwork in an increasingly technological age: Rarely do even Big Ideas emerge any l

Prepare er diagram for the system, a) An ER diagram for the system. Show ...

a) An ER diagram for the system. Show all entities, relationships, cardinalities and optionalities. Also, include all intersection entities. You must use the Finkelstein  method

What is quality control, What is quality control? Ans) Quality control m...

What is quality control? Ans) Quality control means to preserve the quality of product by measuring their content , different physical parameters.

What is delphi model, What is Delphi model? In Delphi method, a number ...

What is Delphi model? In Delphi method, a number of parameters to be considered based on as experts estimates. The group estimate is taken as on  an average of the weighted

Project or process, Mentoring a class at a university. is project or proce...

Mentoring a class at a university. is project or process??

What are the different levels of cmm, Different levels of CMM: 1) Initi...

Different levels of CMM: 1) Initial (maturity level 1) 2) Repeatable (maturity level 2) 3) Defined (maturity level 3) 4)  Managed (maturity level 4) 5) Optimizing (

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