ML Study Hub

Home / MLF / Week 7 / Real questions

MLF week 7 - real exam questions

14 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 Quiz 2 · 16 Aug 2026 · open the full paper
Practice 1MSQ4 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 End Term · 10 May 2026 · open the full paper
Practice 2MSQ2 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 3MSQ4 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 4SA4 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 End Term · 21 Dec 2025 · open the full paper
Practice 5MCQ1 mark
Comprehension passage for this question
Consider the following constrained optimization problem: question figure Answer the sub-questions assuming that we take a very small step in the direction of interest.
Is a potential candidate at which the problem could have a local minimum
  1. Yes
  2. No
MLF End Term · 21 Dec 2025 · open the full paper
Practice 6MCQ2 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 7SA3 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.
Compute the value of after the second iteration, i.e., .
MLF Quiz 2 · 04 Aug 2024 · open the full paper
Practice 8MCQ2 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 9SA3 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 · 03 Dec 2023 · open the full paper
Practice 10MCQ3 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 End Term · 03 Sep 2023 · open the full paper
Practice 11MSQ3 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 · 11 Dec 2022 · open the full paper
Practice 12MSQ3 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 13MCQ3 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 14MSQ3 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.