ML Study Hub

Home / Past papers / MLF End Term / this paper

Machine Learning Foundations 06 May 26 - 10 May 2026

MLF End Term16 questions40 marks8 MCQ · 4 SA · 4 MSQFoundation
Elapsed 00:00
Q1MCQ2 marks
Let be the time (in minutes) a data scientist takes to preprocess a dataset before training a model. Suppose the expected preprocessing time is 40 minutes.Using Markov’s inequality, find an upper bound on the probability that the preprocessing time is at least 1.25 times its expected value.
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q2MCQ2 marks
Let be a real matrix whose largest singular value is . Let . Which of the following is true
  1. The largest singular value of is .
  2. The smallest singular value of is .
  3. The largest singular value of is .
  4. We don't have enough information to find the largest singular value of .
Comprehension passage - the questions below it refer to this
Suppose the completion time (in minutes) of a coding assignment during a machine learning interview follows a continuous uniform distribution . Based on the above data, answer the given subquestions.
Q3SA2 marks
If the expected completion time is 150 minutes, find the value of .
Q4MCQ3 marks
What is the conditional probability that the assignment takes more than minutes given that it has already taken more than minutes
  1. question figure
  2. question figure
  3. question figure
Q5SA3 marks
Let and be two random variables having joint density function: question figure Find the value of . Enter the answer correct to three decimal places.
Q6SA3 marks
Let be a discrete random variable such that and where is an unknown constant. Consider a random sample . Find the maximum likelihood estimate of for the given sample. Enter the answer correct to one decimal place.
Q7SA3 marks
Let and be orthogonal vectors in such that Define
Q8MCQ3 marks
Find the point on the plane that is closest to the origin.
  1. question figure
Q9MCQ3 marks
Find the best linear approximation of the function around the point .
Q10MSQ2 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.
Comprehension passage - the questions below it refer to this
A logistics company transports goods using two types of vehicles: trucks ( ) and vans ( ). Each truck consumes 6 litres of fuel and requires 4 hours of driver time per trip. Each van consumes 3 litres of fuel and requires 5 hours of driver time per trip. The company must complete at least 120 litres worth of fuel usage and at least 200 driver hours per week. The cost per truck trip is Rs. 80 and per van trip is Rs. 50. Note: The company wants to fulfill these requirements at the lowest possible cost. Based on the above data, answer the given subquestions.
Q11MCQ2 marks
Which of the following correctly represents the objective function and constraints for the given problem
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q12MCQ1 mark
Which of the following is the correct Lagrangian function for the given problem
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q13MCQ1 mark
Which of the following correctly represents the complementary slackness conditions of the KKT conditions
Q14MSQ3 marksselect all that apply
Let the composition of two functions and be . Select all statements that are true in a small neighborhood around .
  1. is a convex function.
  2. is a concave function.
  3. is a non-decreasing function.
  4. is a decreasing function.
Q15MSQ3 marksselect all that apply
Consider the following two matrices question figure Which of the following options is/are correct
  1. is not positive definite.
  2. is positive definite.
  3. is positive definite.
  4. is not positive definite.
Q16MSQ4 marksselect all that apply
Consider the following dataset with two features and three observations: question figure Let be the least squares solution that minimizes question figure Select the correct option(s):
  1. question figure
  2. The minimum value of the loss function is zero.
  3. The minimum value of the loss function is strictly positive.

Answer key

  1. Q1 (MCQ, 2 marks): B
  2. Q2 (MCQ, 2 marks): A
  3. Q3 (SA, 2 marks): 120
  4. Q4 (MCQ, 3 marks): D
  5. Q5 (SA, 3 marks): 0.373 to 0.377
  6. Q6 (SA, 3 marks): 0.49 to 0.51
  7. Q7 (SA, 3 marks): 5
  8. Q8 (MCQ, 3 marks): B
  9. Q9 (MCQ, 3 marks): B
  10. Q10 (MSQ, 2 marks): A, D
  11. Q11 (MCQ, 2 marks): C
  12. Q12 (MCQ, 1 marks): B
  13. Q13 (MCQ, 1 marks): B
  14. Q14 (MSQ, 3 marks): B, D
  15. Q15 (MSQ, 3 marks): B, C
  16. Q16 (MSQ, 4 marks): A, D