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 special value testing, Special Value Testing: It is the form of fu...

Special Value Testing: It is the form of functional testing. Special value testing happens when a tester uses his or her domain knowledge, experience with same program and informa

Creating the field selection table - database definition, Creating the Fiel...

Creating the Field Selection Table (FST) : Entering of data and creating indexes for searching is a very important feature associated with any information storage and retriev

Explain about spiral model, Q. Explain about Spiral Model? The Spiral m...

Q. Explain about Spiral Model? The Spiral model is one of the well-liked model used for large projects. This model was projected by Boehm in 1988 and it focuses on minimizing t

Define quality control, Explain Quality control This includes checking ...

Explain Quality control This includes checking the software development process to make sure that procedures and standards are being followed. There are two approaches to qu

What do you mean by core dumps, Q. What do you mean by Core dumps? Core...

Q. What do you mean by Core dumps? Core dumps are a repairing technique. A printout of all applicable memory locations is obtained and studied. All dumps must be well documente

What are the umbrella activities of a software process, What are the umbrel...

What are the umbrella activities of a software process? Software project tracking and control. Risk management. Software Quality Assurance. Formal Technical Reviews.

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

Event management information system in uml, Company Universal Consulting is...

Company Universal Consulting is a large consulting firm that specializes in IT consulting services for the Healthcare industry. The company employs over 2,000 dedicated IT professi

Define cohesion & coupling, Define cohesion & coupling? Give suitable examp...

Define cohesion & coupling? Give suitable examples.  Coupling : Coupling refers to the strength of the relationship among modules in a system. Coupling shows how strongly dif

Define behavioural modelling, Define Behavioural Modelling. The state t...

Define Behavioural Modelling. The state transition diagram shows the characteristics of a system by depicting its states and the events that cause the system to change state

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