Computational Methods: 25 MCQs with answers

All 25 multiple-choice questions from this kit, free and with no sign-up.

Warm-up · 14 questions

Q1. Which of the following is the correct statement of Rolle's theorem for a function $f(x)$ on $[a,b]$?

Beginner
A $f$ is continuous on $[a,b]$, differentiable on $(a,b)$, and $f(a)=f(b)$ implies there exists $c \in (a,b)$ such that $f'(c)=1$. B $f$ is continuous on $[a,b]$, differentiable on $(a,b)$, and $f(a)=f(b)$ implies there exists $c \in (a,b)$ such that $f''(c)=0$. C $f$ is continuous on $[a,b]$, differentiable on $(a,b)$, and $f(a)=f(b)$ implies there exists $c \in (a,b)$ such that $f'(c)=f(c)$. D $f$ is continuous on $[a,b]$, differentiable on $(a,b)$, and $f(a)=f(b)$ implies there exists $c \in (a,b)$ such that $f'(c)=0$.
Show answer & explanation

$f$ is continuous on $[a,b]$, differentiable on $(a,b)$, and $f(a)=f(b)$ implies there exists $c \in (a,b)$ such that $f'(c)=0$.

Rolle's theorem states that if a function is continuous on $[a,b]$, differentiable on $(a,b)$, and $f(a)=f(b)$, then there exists at least one point $c$ in $(a,b)$ where the derivative is zero.

Q2. Which method is used to find the root of $x^3 - 2x - 5 = 0$ correct to three decimal places?

Beginner
A Regula falsi method B Newton-Raphson method C Secant method D Bisection method
Show answer & explanation

Secant method

The secant method is specifically mentioned in the problem for finding the root of $x^3 - 2x - 5 = 0$.

Q3. Which of the following is NOT a step in the Newton-Raphson method?

Beginner
A Choosing two initial guesses B Computing the derivative of the function C Iterating using $x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}$ D Checking for convergence
Show answer & explanation

Choosing two initial guesses

Newton-Raphson requires only one initial guess, not two. The secant method requires two initial guesses.

Q4. In the context of numerical differentiation, what does the forward difference $\Delta f(x)$ approximate?

Beginner
A The integral of $f$ at $x$. B The function value at $x+1$. C The second derivative of $f$ at $x$. D The first derivative of $f$ at $x$.
Show answer & explanation

The first derivative of $f$ at $x$.

The forward difference $\Delta f(x) = f(x+h) - f(x)$ approximates the first derivative when divided by $h$.

Q5. Rolle's theorem is a special case of the Mean Value Theorem.

Beginner
A True B False
Show answer & explanation

True

Rolle's theorem is indeed a special case of the Mean Value Theorem where $f(a)=f(b)$.

Q6. What is the primary purpose of numerical methods in computational mathematics?

Beginner
A To provide exact solutions to all mathematical problems B To simplify algebraic expressions C To approximate solutions to mathematical problems D To eliminate the need for computers
Show answer & explanation

To approximate solutions to mathematical problems

Numerical methods are designed to approximate solutions to mathematical problems that may not have exact solutions.

Q7. What does interpolation refer to in numerical techniques?

Beginner
A Finding the exact value of a function B Estimating values between known data points C Calculating derivatives of functions D Solving differential equations
Show answer & explanation

Estimating values between known data points

Interpolation is the process of estimating unknown values that fall within the range of known data points.

Q8. In the context of numerical differentiation, what does the backward difference represent?

Beginner
A $\Delta f(x) = f(x) + f(x-h)$ B $\Delta f(x) = f(x+h) - f(x)$ C $\Delta f(x) = f(x+h) + f(x-h)$ D $\Delta f(x) = f(x) - f(x-h)$
Show answer & explanation

$\Delta f(x) = f(x) - f(x-h)$

The backward difference is defined as $\Delta f(x) = f(x) - f(x-h)$, representing the change in function value over a backward step.

Q9. What is the main characteristic of the trapezoidal rule in numerical integration?

Beginner
A It uses rectangles to estimate the area under a curve B It requires polynomial fitting C It approximates the area using trapezoids D It is only applicable to linear functions
Show answer & explanation

It approximates the area using trapezoids

The trapezoidal rule approximates the area under a curve by dividing it into trapezoids rather than rectangles.

Q10. What is the purpose of the Lagrange interpolation formula?

Beginner
A To find the derivative of a function B To compute integrals exactly C To construct a polynomial that passes through given points D To solve differential equations
Show answer & explanation

To construct a polynomial that passes through given points

The Lagrange interpolation formula is used to construct a polynomial that exactly passes through a given set of points.

Q11. What is the primary difference between the forward and backward difference in numerical differentiation?

Beginner
A Backward is more accurate than forward B Forward is used for integration, backward for differentiation C They are identical D Forward uses future points, backward uses past points
Show answer & explanation

Forward uses future points, backward uses past points

The forward difference uses future points ($f(x+h)$), while the backward difference uses past points ($f(x-h)$).

Q12. Which of the following is a common application of numerical methods?

Beginner
A Solving algebraic equations exactly B Simulating physical systems C Finding exact roots of polynomials D Performing symbolic integration
Show answer & explanation

Simulating physical systems

Numerical methods are widely used to simulate physical systems where exact solutions are difficult or impossible to obtain.

Q13. What is the term for the error that occurs in numerical methods?

Beginner
A Relative error B Estimation error C Absolute error D Numerical error
Show answer & explanation

Numerical error

Numerical error refers to the difference between the true value and the approximated value obtained through numerical methods.

Q14. In the context of interpolation, what does the term 'nodes' refer to?

Beginner
A The derivatives of the function B The coefficients of the polynomial C The values of the function at specific points D The limits of integration
Show answer & explanation

The values of the function at specific points

In interpolation, 'nodes' refer to the specific points at which the function values are known and used to estimate other values.

Building up · 7 questions

Q15. For the function $f(x) = \frac{\sin x}{e^x}$ on the interval $(0, \pi)$, what does Rolle's theorem guarantee?

Intermediate
A There exists $c \in (0, \pi)$ such that $f''(c) = 0$. B There exists $c \in (0, \pi)$ such that $f'(c) = 0$. C There exists $c \in (0, \pi)$ such that $f'(c) = 1$. D There exists $c \in (0, \pi)$ such that $f(c) = 0$.
Show answer & explanation

There exists $c \in (0, \pi)$ such that $f'(c) = 0$.

Since $f(0) = \frac{\sin 0}{e^0} = 0$ and $f(\pi) = \frac{\sin \pi}{e^{\pi}} = 0$, and $f$ is continuous and differentiable on the interval, Rolle's theorem guarantees a point $c$ where $f'(c)=0$.

Q16. What is the value of $\Delta^3 (1-x)(1-2x)(1-3x)$ when the interval of differencing is unity?

Intermediate
A $-36$ B $-6$ C $-6$ D $-6$
Show answer & explanation

—

The third forward difference of a cubic polynomial is constant and equals $6 \times$ leading coefficient $\times h^3$. Here leading coefficient is $-6$, so $\Delta^3 = -36$.

Q17. Using the Newton-Raphson method, what is the approximate value of $\sqrt[3]{24}$ correct to three decimal places?

Intermediate
A $2.884$ B $2.884$ C $2.884$ D $2.884$
Show answer & explanation

$2.884$

Solving $x^3 - 24 = 0$ by Newton-Raphson gives $x \approx 2.884$ after a few iterations.

Q18. Using Simpson's 1/3 rule with $h=0.5$, what is the approximate value of $\int_0^1 \frac{1}{1+x^2} dx$?

Intermediate
A $0.7500$ B $0.8000$ C $0.7854$ D $0.7833$
Show answer & explanation

$0.7833$

Applying Simpson's 1/3 rule with $h=0.5$ gives $\frac{0.5}{3}[f(0)+4f(0.5)+f(1)] = \frac{0.5}{3}[1+4(0.8)+0.5] = 0.7833$.

Q19. From the given table, what is the estimated number of students who obtained marks between 40 and 45?

Intermediate
A $21$ B $21$ C $21$ D $21$
Show answer & explanation

$21$

Using interpolation on the cumulative frequency, the number of students between 40 and 45 is approximately 21.

Q20. What is the primary advantage of Simpson's 1/3 rule over the trapezoidal rule?

Intermediate
A It is simpler to implement. B It is more accurate for smooth functions. C It requires fewer intervals. D It can handle discontinuous functions.
Show answer & explanation

It is more accurate for smooth functions.

Simpson's 1/3 rule uses quadratic interpolation and is generally more accurate than the trapezoidal rule for smooth functions.

Q21. The Newton-Raphson method always converges to a root regardless of the initial guess.

Intermediate
A True B False
Show answer & explanation

False

Newton-Raphson may fail to converge if the initial guess is far from the root or if the derivative is zero or near zero.

Topper level · 4 questions

Q22. In the Fibonacci search method with $n=3$, what is the minimum value of $f(x) = x^2 + \frac{54}{x}$ in $[0,5]$?

Advanced
A $27$ B $27$ C $27$ D $27$
Show answer & explanation

$27$

The minimum occurs at $x=3$, giving $f(3) = 9 + 18 = 27$.

Q23. Using Newton's method with $\epsilon=0.01$, what is the minimum value of $f(x) = 0.25x^4 - x^2 - 5x + 1$ in $[0,3]$?

Advanced
A $-10.5$ B $-10.5$ C $-10.5$ D $-10.5$
Show answer & explanation

$-10.5$

The minimum occurs at $x \approx 2.5$, giving $f(2.5) = 0.25(39.0625) - 6.25 - 12.5 + 1 = -10.5$.

Q24. Using Lagrange's formula, express $\frac{3x^2+x+1}{(x-1)(x-2)(x-3)}$ as a sum of partial fractions. What is the coefficient of $\frac{1}{x-1}$?

Advanced
A $\frac{5}{2}$ B $\frac{5}{2}$ C $\frac{5}{2}$ D $\frac{5}{2}$
Show answer & explanation

$\frac{5}{2}$

The partial fraction decomposition gives $\frac{5/2}{x-1} + \frac{-15}{x-2} + \frac{31/2}{x-3}$, so the coefficient of $\frac{1}{x-1}$ is $\frac{5}{2}$.

Q25. Using Romberg's method, what is the value of $\int_0^1 \frac{dx}{1+x}$ correct to three decimal places?

Advanced
A $0.693$ B $0.693$ C $0.693$ D $0.693$
Show answer & explanation

$0.693$

Romberg's method applied to $\int_0^1 \frac{dx}{1+x}$ gives $\ln 2 \approx 0.693$.

Make your own

Your notes can be a kit like these

Every kit here was made from real study material. Point Veda at a chapter, a PDF, a photo or a link and get notes, flashcards, practice MCQs, games and a scored test — free, in 42 languages.

  • Chapter notes
  • Flashcards
  • Practice MCQs
  • Scored tests
  • Exam prep

Get Veda free See what students get

Free to start · No ads · Works in 42 languages