AI and ML (CS2227) Midterm Apr 2025 Question Paper

RV University Midterm exam for AI and ML (CS2227), held Apr 2025, with 8 questions. Also searched as ML, AIML. Last updated 2026-11-14.

Questions

  1. 1. During ML model evaluation, you observe:Model A: Low training accuracy, low testing accuracyModel B: High training accuracy, low testing accuracyWhich conclusion is correct?a. Both Model A and Model B are underfittingb. Model A is underfitting; Model B is overfittingc. Both Model
  2. 2. Increasing in Lasso or Ridge regularization generally:a. Increases variance b. Decreases biasc. Increases bias and decreases variance d. Has no effect
  3. 3. Given the multiple linear regression equation: ( y = theta0 + theta1 x1 + theta2 x2 )Which of the following statements is false?a. If ( theta2 ) is negative, an increase in ( x2 ) leads to decrease in yb. The equation assumes a nonlinear relationship between y and ( x1, x2 )c. Th
  4. 4. The gradient of the loss / cost function w.r.t. parameter is -4, the learning rate (n) = 0.05, and the current parameter value is 10. What will be the updated parameter after one gradient descent step?
  5. 5. Given the actual values (2, 3), (4, 4), (6, 6), and predictions:Model A: (2, 3), (4, 5), (6, 6.5)Model B: (2, 2.5), (4, 3.5), (6, 6.5)Which model has better predictive performance? Also, justify your answer.
  6. 7. Match the Terms with the Scenario:Positive Class - Disease and Negative Class - HealthyTerm a. True Positive ( TP ) Scenario 1. A lab test for a disease correctly identifies a patient who is actually healthy as being healthy.2. A lab test for a disease correctly identifies a pati
  7. 8. Consider a simple linear regression model with the cost function:( J(theta0, theta1) = frac{1}{2m} sum{i=1}^{m} (htheta(xi) - yi)^2 )where the hypothesis function is: ( htheta(x) = theta0 + theta1x )Given the dataset: (-1, 2), (3, 3), (4, 2). Assume the initial values of paramete
  8. 9. Predicted Pneumonia Actual Flu 300 50 20 Actual COVID 10 250 30 Actual Pneumonia 15 25 220 From the above given confusion matrix for 3 Class classification. Find the a. True Negative for COVID [1 M]b. Recall (Sensitivity) for Pneumonia [2 M]c. Precision for Flu [2 M]

More AI and ML papers

Browse more RVU papers

RVU Midterm previous year question papers · RVU School of Computer Science and Engineering (SoCSE) question papers