ML Study Hub

Home / Past papers / MLF Quiz 1 / this paper

IIT M FOUNDATION AN EXAM QDF2 26 Oct - 26 Oct 2025

MLF Quiz 118 questions40 marks12 MCQ · 4 SA · 2 MSQFoundation / afternoon / QDF2
Elapsed 00:00
Q1MCQ1 mark
A bank wants to decide whether a loan applicant should be given a loan or not, based on features like income, credit score and past records. Which of the following machine learning techniques is applicable for this scenario?
  1. Regression
  2. Classification
  3. Clustering
  4. Dimensionality Reduction
Q2MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q3MSQ2 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q4SA3 marks
question figure
Q5SA3 marks
question figure
Q6SA2 marks
question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q7MCQ3 marks
Which of these models has the smallest squared loss on this training dataset?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q8MCQ2 marks
question figure
  1. No
  2. Yes
  3. Insufficient information to answer the question
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q9MCQ3 marks
Which of the following sets forms a basis for the row space of A?
  1. {(1, 0, 2), (0, 1,−1)}
  2. {(1, 0, 2), (0, 1,−1), (0, 0,−1)}
  3. {(1, 0, 2), (0,−1, 1), (0,−1,−4)}
  4. {(0, 1,−1), (0, 0,−4)}
Q10MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q11MSQ2 marksselect all that apply
Which of the following is/are true?
  1. A is an orthogonal matrix
  2. A is invertible
  3. A is symmetric
Q12MCQ3 marks
Which of the following is true?
  1. A does not have real eigenvalues
  2. A has two distinct real eigenvalues
  3. A has two real eigenvalues, not necessarily distinct
Comprehension passage - the questions below it refer to this
There is no common data for this question. There are three independent sub-questions for which you have to answer True/False.
Q13MCQ2 marks
If a square matrix A is diagonalizable, then A is invertible.
  1. True
  2. False
Q14MCQ1 mark
The eigenvalues of a real symmetric matrix are real.
  1. True
  2. False
Q15MCQ2 marks
A square matrix A of shape n x n is diagonalizable if and only if it has n distinct eigenvalues.
  1. True
  2. False
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q16MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q17SA2 marks
question figure
Q18MCQ2 marks
question figure
  1. (A)
  2. (B)

Answer key

  1. Q1 (MCQ, 1 marks): B
  2. Q2 (MCQ, 3 marks): A
  3. Q3 (MSQ, 2 marks): B, C, D
  4. Q4 (SA, 3 marks): 72
  5. Q5 (SA, 3 marks): 1024
  6. Q6 (SA, 2 marks): 0
  7. Q7 (MCQ, 3 marks): A
  8. Q8 (MCQ, 2 marks): A
  9. Q9 (MCQ, 3 marks): B
  10. Q10 (MCQ, 2 marks): C
  11. Q11 (MSQ, 2 marks): A, B
  12. Q12 (MCQ, 3 marks): A
  13. Q13 (MCQ, 2 marks): B
  14. Q14 (MCQ, 1 marks): A
  15. Q15 (MCQ, 2 marks): B
  16. Q16 (MCQ, 2 marks): A
  17. Q17 (SA, 2 marks): 1
  18. Q18 (MCQ, 2 marks): A

Concepts this paper tests

Auto-generated summary from the source site. Handy as a checklist; the lessons above explain each idea from scratch.

Here’s a structured summary of core topics, concepts, principles, and equations for the "Diploma Level: Machine Learning Foundations" exam, along with Mermaid knowledge graphs to visualize relationships.


1. Core Topics & Concepts

A. Machine Learning Basics

  1. Supervised Learning

    • Classification (e.g., loan approval: Yes/No based on features like income, credit score).

      • Algorithms: Logistic Regression, Decision Trees, SVM, k-NN.
    • Regression (predicting continuous values, e.g., house prices).

      • Algorithms: Linear Regression, Polynomial Regression.
    • Loss Functions:

      • Squared Loss (MSE): L(y,y^)=(y−y^)2L(y, \hat{y}) = (y - \hat{y})^2 (used in regression).
      • Log Loss (Cross-Entropy): Used in classification.
  1. Unsupervised Learning

    • Clustering (e.g., customer segmentation).

      • Algorithms: k-Means, Hierarchical Clustering.
    • Dimensionality Reduction (e.g., PCA, t-SNE).
  1. Model Evaluation

    • Overfitting/Underfitting.
    • Train-Test Split, Cross-Validation.

B. Linear Algebra (Critical for ML)

  1. Matrices & Vectors

    • Row Space: Span of the rows of a matrix AA.
    • Basis: Linearly independent vectors that span a space.

      • Example: For A=[10201−100−1]A = \begin{bmatrix} 1 & 0 & 2 \\ 0 & 1 & -1 \\ 0 & 0 & -1 \end{bmatrix}, a basis for the row space is {(1,0,2), (0,1,-1), (0,0,-1)}.
    • Rank: Number of linearly independent rows/columns.
  1. Matrix Properties

    • Orthogonal Matrix: ATA=IA^T A = I (columns are orthonormal).
    • Invertible Matrix: det⁡(A)≠0\det(A) \neq 0, AA−1=IAA^{-1} = I.
    • Symmetric Matrix: A=ATA = A^T.
    • Eigenvalues/Eigenvectors:

      • Av=λvA \mathbf{v} = \lambda \mathbf{v}.
      • Real Symmetric Matrices: Always have real eigenvalues.
      • Diagonalizable Matrix: A=PDP−1A = PDP^{-1} (requires nn linearly independent eigenvectors, not necessarily distinct eigenvalues).
  1. Special Matrices

    • Positive Definite: All eigenvalues > 0.
    • Singular Matrix: det⁡(A)=0\det(A) = 0 (non-invertible).

C. Calculus & Optimization (For ML Models)

  1. Gradient Descent:

    • Update rule: θ=θ−α∇J(θ)\theta = \theta - \alpha \nabla J(\theta).
    • Used to minimize loss functions (e.g., MSE, Log Loss).
  1. Partial Derivatives:

    • Critical for computing gradients in multivariate functions.

D. Probability & Statistics (For ML)

  1. Probability Distributions:

    • Gaussian (Normal), Bernoulli, Binomial.
  2. Bayes’ Theorem:

    • P(A∣B)=P(B∣A)P(A)P(B)P(A|B) = \frac{P(B|A)P(A)}{P(B)}.
  3. Maximum Likelihood Estimation (MLE):

    • Finds parameters that maximize the likelihood of observed data.

2. Key Equations

TopicEquationNotes
Linear Regressiony^=wTx+b\hat{y} = w^T x + bww: weights, bb: bias.
Squared LossL(y,y^)=(y−y^)2L(y, \hat{y}) = (y - \hat{y})^2Used in regression.
Log LossL(y,y^)=−[ylog⁡(y^)+(1−y)log⁡(1−y^)]L(y, \hat{y}) = -[y \log(\hat{y}) + (1-y) \log(1-\hat{y})]Used in classification.
Gradient Descentθnew=θold−α∇J(θ)\theta_{new} = \theta_{old} - \alpha \nabla J(\theta)α\alpha: learning rate.
Eigenvalue EquationAv=λvA \mathbf{v} = \lambda \mathbf{v}λ\lambda: eigenvalue, v\mathbf{v}: eigenvector.
Matrix InverseAA−1=IA A^{-1} = IOnly if det⁡(A)≠0\det(A) \neq 0.
Orthogonal MatrixATA=IA^T A = IColumns are orthonormal.
Determinantdet⁡(A)=0\det(A) = 0 ⇒ Singular (non-invertible).

Graph 2: Linear Algebra Concepts

Graph 3: Optimization in ML

Graph 4: Probability & Statistics


4. Exam Tips

  1. Classification vs. Regression:

    • Use classification for discrete outputs (e.g., Yes/No).
    • Use regression for continuous outputs (e.g., house price).
  1. Linear Algebra:

    • A matrix is invertible iff det⁡(A)≠0\det(A) \neq 0.
    • A matrix is orthogonal iff ATA=IA^T A = I.
    • Real symmetric matrices always have real eigenvalues.
    • Diagonalizable ≠ n distinct eigenvalues (only needs nn linearly independent eigenvectors).
  1. Basis & Row Space:

    • A basis must be linearly independent and span the space.
    • Example: For A=[10201−1000]A = \begin{bmatrix} 1 & 0 & 2 \\ 0 & 1 & -1 \\ 0 & 0 & 0 \end{bmatrix}, the row space basis is {(1,0,2), (0,1,-1)}.
  1. Eigenvalues:

    • If a matrix has complex eigenvalues, it’s not diagonalizable over the reals.
    • Symmetric matrices are always diagonalizable.
  1. Gradient Descent:

    • Smaller learning rate (α\alpha) ⇒ slower convergence.
    • Too large α\alpha ⇒ divergence.
  1. True/False Questions:

    • "Diagonalizable ⇒ Invertible"? False (e.g., zero matrix is diagonalizable but singular).
    • "Real symmetric ⇒ real eigenvalues"? True.
    • "n distinct eigenvalues ⇒ diagonalizable"? True, but the converse is false.