WorksheetsQuiz I: III B.Sc Physics Numerical Methods and C++ Programming
Total questions: 20
Worksheet time: 30mins
The value of x for which f(x)=0 is called a ______.
Derivative
Root
Limit
Iteration
Equations involving algebraic and exponential functions together are called ______ equations.
Linear
Rational
Transcendental
Polynomial
The Newton–Raphson method requires evaluating the ______ of the function.
Integral
Factor
Derivative
Limit
A polynomial equation involves only ______ powers of x.
Infinite
Fractional
Integral
Negative
The Bisection method always converges because it depends on the ______ theorem.
Rolle’s
Mean-value
Intermediate
Taylor
In the Bisection method, the interval is repeatedly ______.
Multiplied
Halved
Added
Squared
Newton–Raphson method uses a ______ approximation to the curve.
Parabolic
Circular
Tangent
Cubic
The Newton–Raphson method may fail when f′(x)= ______.
1
0
2
3
Newton–Raphson method converges ______.
Linearly
Quadratically
Cubically
Logarithmically
Bisection requires the function to change ______ over the interval.
Constant
Value
Sign
Shape
Interpolation with equally spaced points uses Newton ______ formula.
Central
Forward
Limit
Tangent
Fitting a straight line uses the method of least ______.
Values
Roots
Squares
Sums
Least squares method minimizes the sum of squared ______.
Products
Errors
Slopes
Factors
Newton forward interpolation uses ______ differences.
Central
Backward
Forward
Hybrid
In Newton’s forward interpolation formula, the parameter p is defined as
p = x / h
p = (x − x₀) / h
p = h / (x − x₀)
p = x − x₀
The first forward difference of a tabulated function is defined as
Δy = yₙ₊₁ − yₙ₋₁
Δy = yₙ − yₙ₋₁
Δy = yₙ₊₁ − yₙ
Δy = yₙ₊₂ − yₙ
The method of fitting a straight line by least squares assumes the form
y = ax² + bx + c
y = aeᵇˣ
y = ax + b
y = a log x + b
Which feature of C++ makes it suitable for developing large and complex software systems?
Machine-level programming
Object-oriented programming
Platform dependency
Limited library support
While fitting a polynomial curve of degree n using least squares, the number of normal equations formed is
n − 1
2n
n
n + 1
Which of the following statements correctly declares a constant integer in C++?
int const x = 10;
int x = const 10;
const x int = 10;
constant int x = 10;
