Mathematics · Quantitative Aptitude
Polynomial and Quadratic Equations
239 QuestionsPolynomial and quadratic equations involve finding the roots of expressions with varying degrees. The focus is on the relationship between coefficients and roots, symmetric functions, and solving higher degree polynomials. This topic is a core component of algebra in competitive testing.
Roots of quadratic equationsSymmetric root functionsCubic polynomialsRoot approximation methodsSum and product of roots
Polynomial and Quadratic Equations Questions
Reveal answer
Fill a bubble to check yourself
Reveal answer
Fill a bubble to check yourself
Reveal answer
Fill a bubble to check yourself
Reveal answer
Fill a bubble to check yourself
Reveal answer
Fill a bubble to check yourself
Reveal answer
Fill a bubble to check yourself
Reveal answer
Fill a bubble to check yourself
Reveal answer
Fill a bubble to check yourself
Reveal answer
Fill a bubble to check yourself
The following is comment written for a C function
/* This function computes the roots of a quadratic equation
a.x<sup>2</sup>+b.x+c = 0. The function stores two real roots
in *root1 and *root2 and returns the status of validity of
roots. It handles four different kinds of cases.
(i) When coefficient a is zero irrespective of discriminant
(ii) When discriminant is positive
(iii) When discrimanant is zero
(iv) When discrimanant is negative
Only in cases (ii) and (iii), the stored roots are valid.
Otherwise 0 is stored in the roots, the function returns 0 when the roots are valid and -1 otherwise.
The function also ensures root1 greater than or equal to root2.
int get_QuadRoots float a, float b, float c, float *root1, float *root2;
*/
A software test engineer is assigned the job of doing black box testing. He comes up with the following test cases, many of which are redundant.
| Test Case | Input set | Expected Output set |
| --- | --- | --- |
| a | b | |
| T1 | 0.0 | 0.0 |
| T2 | 0.0 | 1.0 |
| T3 | 1.0 | 2.0 |
| T4 | 4.0 | -12.0 |
| T5 | 1.0 | -2.0 |
| T6 | 1.0 | 1.0 |
Which one of the following options provide the set of non-redundant tests using equivalence class, partitioning approach from input perspective for black box testing?
Reveal answer
Fill a bubble to check yourself
Reveal answer
Fill a bubble to check yourself
Reveal answer
Fill a bubble to check yourself
Reveal answer
Fill a bubble to check yourself
Reveal answer
Fill a bubble to check yourself
Reveal answer
Fill a bubble to check yourself