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

Database management systems, Database Management Systems: These are es...

Database Management Systems: These are essentially programming frameworks, and can offer good storage and retrieval systems. They are mainly intended for programmers to intera

Category Partition Testing and Data Flow Assignment, The following program ...

The following program will display an integral solution to the quadratic equation ax2+bx+c for integral values of a,b, and c, where a,c fall between 0 and 10, while b falls between

What are the types of traceability in software engineering, What are the va...

What are the various types of traceability in software engineering? i. Source traceability - These are basically the links from requirement to stakeholders who propose these

How is software design different from coding, How is software design differ...

How is software design different from coding ? Points of difference among software design and coding can be laid down as under:  Design : 1. Design is most vital and t

Com 101p, Peripheral devices are irrelevant to the computer

Peripheral devices are irrelevant to the computer

P, a simple text processing program with all essential functions (open and ...

a simple text processing program with all essential functions (open and save text documents, insert and delete text, search for words). We assume that text read from a file is stor

Senior project, in which platform can i best develop a college financial/ac...

in which platform can i best develop a college financial/accounting system? what modules can it entail?

Write definition of erd, Write definition of ERD? Entity Relationship D...

Write definition of ERD? Entity Relationship Diagram shows the graphical presentation of the object relationship pair. It is above all used in database applications.

What are the various kinds of system testing, What are the various types of...

What are the various types of system testing? 1. Recovery testing - is intended to check the system's capability to recover from failures. 2. Security testing - verifies tha

Equivalence class testing, Equivalence class testing Equivalence class ...

Equivalence class testing Equivalence class testing is based on partitioning the input domain of a program into a number of equivalence classes so that the test of a representa

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