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

Software engineering questions answers, i am looking for software questions...

i am looking for software questions answers for my assignment module.

Explain activities of software maintenance, Q. Explain activities of softwa...

Q. Explain activities of software maintenance? The Software maintenance is a broad activity that includes enhancement of capabilities, error correction, deletion of obsolete ca

Case study - conference management system, This case study looks at the req...

This case study looks at the requirements for an information system to manage the organisation of an international academic conference. An academic conference consists of presenta

What is software re-engineering, What is software re-engineering? No fu...

What is software re-engineering? No functionality is added to the system. Rather than, the system is modified to compose it easier to understand and change. System re-engineeri

Project, How to create A system to incorporate uploading and display of dif...

How to create A system to incorporate uploading and display of different media types on the web e.g. audio, video, graphics, text, power point files, excel files, Word files on the

Explain the software architecture, What is software architecture? The ...

What is software architecture? The software architecture of a program or computing system is the structure or structures of the system, which comprises software methods, the e

Illustrate functions that dynamic testing tools supports, Q. Illustrate Fun...

Q. Illustrate Functions that dynamic testing tools supports? Functions that dynamic testing tools supports: 1: input setting it is selecting of the test data that the test

Explain critical design review, Explain critical design review The purp...

Explain critical design review The purpose of critical design review is to make sure that the detailed design satisfies the specifications laid down during system design. The

Illustrate about the software process technology, Illustrate about the  SO...

Illustrate about the  SOFTWARE PROCESS TECHNOLOGY   Software industry considers software development like a process. According to Rumbaugh and Booch, "A process defines who is

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