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

Disadvantage of software package, Disadvantage of Software package: Th...

Disadvantage of Software package: There are some disadvantages which need to be looked into. They are:  i)  A commercial software package will have a number of built-in

Structured analysis and structured design, Differentiate between structured...

Differentiate between structured analysis and structured design.  The aim of structured analysis is to transform the textual explanation of a problem into a graphic model. Duri

What do you mean by reverse engineering, Q. What do you mean by REVERSE ENG...

Q. What do you mean by REVERSE ENGINEERING? REVERSE ENGINEERING:-It is a process of analyzing software with a outlook to understanding its design and specification. In t

What is software requirement specification, What is Software requirement Sp...

What is Software requirement Specification (SRS)? Software Requirement Specification Document is the output of requirement examines stage of the software development life cycle

Project, hello, i am struggling with my final year project and i dont have ...

hello, i am struggling with my final year project and i dont have that huge amount of time to do it??

Define object and class associations, Q. Define Object and class associatio...

Q. Define Object and class associations? Object/class associations:- Objects/classes interact with each other. Multiplicity defines how many instances of one object/class can

What are the objectives of software design, What are the objectives of soft...

What are the objectives of software design? Objectives of software design                         The objective of the design phase is to plan a solution of the difficulty

Define sandwich testing, Define sandwich testing. Testing joins the ide...

Define sandwich testing. Testing joins the ideas of bottom-up and top-down testing by explaining a certain target layer in the hierarchy of the module.

Software requirments, #questionFrame Diagrams We discussed the importance o...

#questionFrame Diagrams We discussed the importance of framing a problem in order to understand the problem better and be able to develop a solution more quickly and easily. In thi

Define the optimising level of maturity model, Level 5 (Optimising) O...

Level 5 (Optimising) Organisation satisfies all the requirements of level-4. This is final level. Organisation at this maturity level is considered almost perfect. At this st

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