ML Study Hub

Home / MLF / Week 2 / Real questions

MLF week 2 - real exam questions

38 questions pulled from past papers whose wording matches this week's topics, newest first, duplicates removed. Pick your answers, then press Check answers. Figures and answer keys are the originals.

Elapsed 00:00
MLF End Term · 13 Sep 2026 · open the full paper
Practice 1MSQ3 marksselect all that apply
Consider the function question figure where is a constant. Which of the following is/are true?
  1. is continuous at for .
  2. is continuous at for .
  3. is differentiable at for .
  4. is not differentiable at for .
MLF Quiz 2 · 16 Aug 2026 · open the full paper
Practice 2MSQ4 marksselect all that apply
Consider the function Gradient descent is used to minimize with learning rate . Which of the following statements is/are correct?
  1. Gradient descent converges for every .
  2. If , the global minimum is reached in exactly one iteration for every non-zero initial point .question figure
  3. If , the global minimum is reached in exactly one iteration for every initial point .question figure
  4. If , the iterates alternate between and for any .question figure
MLF Quiz 1 · 19 Jul 2026 · open the full paper
Practice 3MCQ3 marks
What is the best linear approximation of around
  1. question figure
  2. question figure
  3. question figure
  4. question figure
MLF Quiz 1 · 19 Jul 2026 · open the full paper
Practice 4MCQ3 marks
A company manufactures a special rectangular metal sheet. The production cost (in hundreds of rupees) depends on its length meters and width meters according to . At a particular stage, the dimensions of the sheet are . The company plans to change the dimensions in the direction represented by the vector question figure and wants to determine how rapidly the production cost changes in that specific direction. Find the directional derivative of at the point in the direction of .
  1. question figure
  2. question figure
MLF End Term · 10 May 2026 · open the full paper
Practice 5MSQ3 marksselect all that apply
Which of the following is/are true?
  1. A set is convex if and only if convex-hull .
  2. If is a non-empty convex set in with a finite number of elements, then has exactly one element.
  3. If is a convex function, then is differentiable.
  4. If is a function, then the epigraph of is a subset of .
MLF End Term · 10 May 2026 · open the full paper
Practice 6MCQ3 marks
Find the best linear approximation of the function around the point .
MLF End Term · 10 May 2026 · open the full paper
Practice 7MSQ2 marksselect all that apply
Which of the following options is/are correct
  1. Set of all global minima of a convex function forms a convex set.
  2. Gradient descent algorithm is useful in constrained optimization problem.
  3. Union of two convex sets will result in a convex set always.
  4. A function cannot be a convex function if its domain is not a convex set.
MLF Quiz 2 · 12 Apr 2026 · open the full paper
Practice 8MCQ3 marks
Which of the following represents the Taylor series expansion up to the third degree term of question figure around ?
MLF Quiz 2 · 12 Apr 2026 · open the full paper
Practice 9MSQ4 marksselect all that apply
Consider a function whose graph is shown below. and correspond to local minima of . question figure We run two separate instances of gradient descent with the same learning but different initial points. (1) Starting from the point (2) Starting from the point Assume that and are very small positive quantities. Which of the following is/are true if we run gradient descent for a large number of iterations?
  1. Instance (1) will converge to the point
  2. Instance (2) will converge to the point
  3. Both instances (1) and (2) will converge to
  4. Both instances (1) and (2) will converge to
  5. Instance (1) will not converge to , but will diverge to negative infinity
  6. Instance (2) will not converge to , but will diverge to infinity
MLF Quiz 2 · 12 Apr 2026 · open the full paper
Practice 10SA4 marks
A function is minimized using the gradient descent algorithm. Let denote the value of at which is minimized.Starting from the initial point , one iteration of gradient descent is performed with a learning rate of . If denotes the point obtained after this iteration, find the value of . Enter the answer correct to one decimal place.
MLF Quiz 1 · 15 Mar 2026 · open the full paper
Practice 11MCQ2 marks
Consider the function : question figure Which of the following is true?
  1. is continuous at , but not differentiable at .
  2. is both continuous and differentiable at .
  3. is neither continuous nor differentiable at .
  4. is differentiable at , but not continuous at .
MLF Quiz 1 · 15 Mar 2026 · open the full paper
Practice 12SA2 marks
Consider the function given by question figure . If the best linear approximation to at is given as , find . Your answer should be an integer.
MLF Quiz 1 · 15 Mar 2026 · open the full paper
Practice 13SA3 marks
Find the directional derivative of the function given by at the point in the direction of the vector question figure . Your answer should be an integer.
MLF End Term · 21 Dec 2025 · open the full paper
Practice 14SA3 marks
Let be a continuous random variable with the probability density function: question figure What is the value of
MLF End Term · 21 Dec 2025 · open the full paper
Practice 15MCQ2 marks
Comprehension passage for this question
A company aims to minimize its production cost, represented by the following quadratic function: The company applies the gradient descent algorithm to minimize this function, starting with an initial guess of and using a step size (learning rate) of question figure , where Based on the above data, answer the given subquestions.
Find the updated point after the first iteration of the gradient descent algorithm.
MLF End Term · 21 Dec 2025 · open the full paper
Practice 16MCQ3 marks
Let . Find the directional derivative of at the point in the direction of unit vector along .
  1. question figure
  2. question figure
  3. question figure
  4. question figure
MLF Quiz 1 · 27 Oct 2024 · open the full paper
Practice 17MSQ4 marksselect all that apply
Determine which of the following limits yields a finite value.
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
MLF Quiz 2 · 04 Aug 2024 · open the full paper
Practice 18MCQ2 marks
Which of the following statements about choosing the learning rate in gradient descent is incorrect?
  1. A small learning rate can lead to slow convergence.
  2. A large learning rate can cause the loss function to fluctuate around theminimum.
  3. A large learning rate can cause divergence.
  4. A small learning rate always causes the training to progress very quickly.
MLF Quiz 2 · 04 Aug 2024 · open the full paper
Practice 19SA3 marks
Consider a function f(x,y) = (x − 1)2 + (y − 2)2 . Using a gradient descent algorithm, with an initial guess of (0, 0) and learning rate of 0.1, what will be the absolute difference between the value of the function after first and second iteration? Enter the answer correct to three decimal places.
MLF Quiz 2 · 04 Aug 2024 · open the full paper
Practice 20SA3 marks
The value of a function at point 25 is 5. The values of the function’s first and second order derivatives at this point are 0.1 and -0.002 respectively. What will be the function’s approximate value at the point 25.1? (Enter the answer correct up to three decimal places).
MLF Quiz 1 · 07 Jul 2024 · open the full paper
Practice 21MCQ3 marks
Which of the following statements is true for a function f(x, y) that is differentiable at a point (a, b)?
  1. The directional derivative exists in every direction.
  2. The directional derivative is the same in every direction.
  3. The directional derivative can only be calculated along the axes.
  4. The directional derivative does not exist.
MLF End Term · 28 Apr 2024 · open the full paper
Practice 22SA3 marks
Comprehension passage for this question
Based on the above data, answer the given subquestions. question figure
Find the number of discontinuous points.
MLF End Term · 28 Apr 2024 · open the full paper
Practice 23SA3 marks
Comprehension passage for this question
Based on the above data, answer the given subquestions. question figure
Find the number of points where the function is not differentiable.
MLF Quiz 2 · 24 Mar 2024 · open the full paper
Practice 24SA3 marks
The value of a function at point 5 is 10. The values of the function’s first and second order derivatives at this point are 5 and 2 respectively. What will be the function’s approximate value at the point 5.1? (Enter the answer correct up to two decimal places).
MLF End Term · 24 Dec 2023 · open the full paper
Practice 25MSQ3 marksselect all that apply
Which of the following functions is/are continuous?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
MLF Quiz 2 · 03 Dec 2023 · open the full paper
Practice 26MCQ3 marks
Consider a function f(x, y) = x2 + y2 − 4x − 2y + 5. Using gradient descent algorithm, with an initial guess of (3, 2) and learning rate of 0.1, what will be the value of (x, y) after one iteration?
  1. x = 3.2, y = 2.2
  2. x = 3, y = 2
  3. x = 1.8,y = 0.8
  4. x = 2.8, y = 1.8
MLF Quiz 1 · 29 Oct 2023 · open the full paper
Practice 27MSQ3 marksselect all that apply
question figure
  1. f is discontinuous at x = 0.
  2. f is differentiable.
  3. f is not differentiable at x = 0.
  4. f'(0) = 0
MLF End Term · 03 Sep 2023 · open the full paper
Practice 28MSQ2 marksselect all that apply
Which of the following statements accurately describes the key difference between classification and regression models?
  1. In classification, the output variable is continuous and real-valued, while inregression, it is categorical.
  2. Regression models are used for predicting probabilities, whereas classificationmodels focus on predicting absolute values.
  3. Classification models aim to find decision boundaries to separate data intoclasses, while regression models seek to predict a numeric value.
  4. In regression, the commonly used loss function is mean squared error, whilein classification, 0 -1 loss is typically employed.
MLF End Term · 03 Sep 2023 · open the full paper
Practice 29MSQ3 marksselect all that apply
Which of the following statements regarding gradient descent is/are correct?
  1. If the step size is chosen as 1, we may “not always” arrive as close to theoptimal solution even after many number of iterations.
  2. Solution obtained for optimization problem is the local minimum of itsobjective function.
  3. Solution obtained for optimization problem is the global minimum of itsobjective function.
  4. Gradient descent converges to the global optimum in the case of convexfunctions.
  5. Gradient descent does not converge to the global optimum in the case ofconvex functions.
MLF End Term · 30 Apr 2023 · open the full paper
Practice 30MSQ2 marksselect all that apply
Which of the following statements regarding classification and regression models are correct ?
  1. The task of the regression algorithm is to map the input value (x) with thecontinuous output variable (y) but the task of the classification algorithm is to map the inputvalue(x) with the discrete output variable(y).
  2. In Classification, we try to find the decision boundary, which can divide thedataset into different classes but In Regression, we try to find the best fit line, which can predictthe output more accurately.
  3. The Classification Algorithm can be further divided into Linear and Non-linearclassifier and the regression algorithms can be divided into Binary regression and Multi-classregression.
  4. The task of the regression algorithm is to map the input value (x) with thediscrete output variable (y) but the task of the classification algorithm is to map the input value(x)with the continuous output variable(y).
MLF End Term · 30 Apr 2023 · open the full paper
Practice 31MSQ3 marksselect all that apply
A student wants to purchase a snack from a bakery to meet certain dietary requirements by chossing the best combination of brownies and cheesecake. The student is following some new diet trend which requires her to eat maximum of 6 brownies and maximum of 10 cakes. Also total number of brownies and cakes together the student eats should be greater than 12. The cost of 1 piece of brownie(x1) and 1 piece of cake(x2) is 50 units and 80 units respectively. Her goal is to satisfy these requirements at minimal cost.
  1. question figure
  2. question figure
  3. question figure
  4. question figure
MLF End Term · 11 Dec 2022 · open the full paper
Practice 32MSQ3 marksselect all that apply
question figure
  1. It is Convex function.
  2. Its Hessian matrix is indefinite.
  3. (0, 0) is a local minima of this function.
  4. (0, 0) is a local maxima of this function.
MLF End Term · 11 Dec 2022 · open the full paper
Practice 33MCQ3 marks
Let f be a function of three variables. The eigenvalues of Hessian of f are 2, 4, 1. Then what does f give ?
  1. Minima.
  2. Maxima.
  3. Saddle.
  4. It can be either maxima or minima.
MLF End Term · 11 Dec 2022 · open the full paper
Practice 34MSQ3 marksselect all that apply
Which of the following is not true about the function f(x) = x2 + y2 + 2xy ?
  1. It is Convex function.
  2. Its Hessian matrix is indefinite.
  3. (0, 0) is a local minima of this function.
  4. (0, 0) is a local maxima of this function.
MLF End Term · 11 Dec 2022 · open the full paper
Practice 35MCQ3 marks
question figure
  1. Minima
  2. Maxima
  3. Saddle
  4. It can be either maxima or minima
MLF End Term · 07 Aug 2022 · open the full paper
Practice 36SA1 mark
Comprehension passage for this question
Based on the above data, answer the given subquestions. question figure
Compute the equation of the function’s linear approximation at point (2,3). If the equation of the linear approximation is L = ax + by + c, then provide the value of a. NOTE: Enter your answer to the nearest integer.
MLF End Term · 07 Aug 2022 · open the full paper
Practice 37SA1 mark
Comprehension passage for this question
Based on the above data, answer the given subquestions. question figure
Compute the equation of the function’s linear approximation at point (2,3). If the equation of the linear approximation is L = ax + by + c, then provide the value of b. NOTE: Enter your answer upto two decimal.
MLF End Term · 07 Aug 2022 · open the full paper
Practice 38SA1 mark
Comprehension passage for this question
Based on the above data, answer the given subquestions. question figure
Compute the equation of the function’s linear approximation at point (2,3). If the equation of the linear approximation is L = ax + by + c, then provide the value of c. NOTE: Enter your answer upto two decimal.