ML Study Hub

Home / Past papers / MLP Quiz 1 / this paper

2024 July07: IIT M AN EXAM QDD2 - 07 Jul 2024

MLP Quiz 124 questions50 marks9 SA · 8 MCQ · 7 MSQafternoon / QDD2
Elapsed 00:00
Comprehension passage - the questions below it refer to this
Consider following common data and answer the given subquestions: question figure Consider following common data and answer the given subquestions:
Q1SA1 mark
What will be the output of the following code snippet? question figure What will be the output of the following code snippet? Enter -1, if you think the above code snippet will generate an error.
Q2SA1 mark
What will be the output of the following code snippet? question figure What will be the output of the following code snippet? Enter -1, if you think the above code snippet will generate an error.
Q3SA2 marks
What will be the output of the following code snippet? question figure What will be the output of the following code snippet? Enter -1, if you think the above code snippet will generate an error.
Q4SA2 marks
What will be the output of the following code snippet? question figure What will be the output of the following code snippet? Enter -1, if you think the above code snippet will generate an error.
Q5MSQ2 marksselect all that apply
Given the data, which of the following options will provide the same output?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
  6. question figure
Q6MSQ2 marksselect all that apply
If you would like to see the most frequent car manufacturers in the dataset, which of the following can be used?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
Q7MSQ2 marksselect all that apply
Which of the following choice(s) are correct ?
  1. Null values cannot be interpreted by the model hence we need to handle themaccordingly.
  2. Null values cannot be replaced because we can not manipulate the dataset.
  3. We should let the sklearn or software automatically decide how to handledifferent kinds of missing values.
  4. Different types of representation of missing values could be seen in thedataset.
Q8MSQ2 marksselect all that apply
Which of the following options are true about Pearson correlation matrix ?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q9MSQ3 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
  6. question figure
Q10MCQ2 marks
We need to preprocess the data before using it for model building due to which of the following reasons ?
  1. Due to errors in data capture, data may contain outliers or missing values.
  2. Different features may be at different scales.
  3. Data contains non numerical features.
  4. All of these
Comprehension passage - the questions below it refer to this
Consider following data and answer the given subquestions: question figure Consider following data and answer the given subquestions: Each row represents a data point. There are exactly 4 points. The index of points starts from 0 and ends at 3 (included).
Q11MCQ3 marks
Which of the following pairs have the highest euclidean distance? Note: take care of the missing values and adjust accordingly. The options refer to the indices of points.
  1. 1 and 2
  2. 0 and 2
  3. 1 and 3
  4. 2 and 3
  5. 0 and 1
  6. There is a tie between two or more options.
  7. None of these.
Q12MCQ2 marks
Which of the following pairs have the smallest euclidean distance? Note: take care of the missing values and adjust accordingly. The options refer to the indices of points.
  1. 1 and 2
  2. 0 and 2
  3. 1 and 3
  4. 2 and 3
  5. 0 and 1
  6. There is a tie between two or more options.
  7. None of these.
Comprehension passage - the questions below it refer to this
Consider following data and code snippet: question figure Consider following data and code snippet: Based on the above data, answer the given subquestions.
Q13SA2 marks
What will be the output of the following code snippet: question figure What will be the output of the following code snippet: Enter -1, if you think the above code snippet will generate an error.
Q14SA2 marks
What will be the output of the following code snippet: question figure What will be the output of the following code snippet: Enter -1, if you think the above code snippet will generate an error.
Q15SA2 marks
What will be the output of the following code snippet: question figure What will be the output of the following code snippet: Enter -1, if you think the above code snippet will generate an error.
Q16SA2 marks
What will be the output of the following code snippet: question figure What will be the output of the following code snippet: Enter -1, if you think the above code snippet will generate an error.
Q17MSQ2 marksselect all that apply
Which of the following can be used to get the simpleimputer object?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
  6. question figure
  7. question figure
Comprehension passage - the questions below it refer to this
Go through the code snippet given below and answer the given subquestions. question figure Go through the code snippet given below and answer the given subquestions.
Q18MCQ2 marks
Which of the following options will be the output of the given code?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q19MCQ2 marks
question figure
  1. -0.528
  2. 1
  3. 0.528
  4. Given code will return an error
Q20MCQ3 marks
Consider the following code: question figure Consider the following code: Which of the following may be the correct output of the above code?:
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
Q21MCQ3 marks
Consider the following code: question figure Consider the following code: Which of the following is more likely to be true?
  1. question figure
  2. question figure
  3. question figure
Q22SA2 marks
What will be the output of the following code ? question figure What will be the output of the following code ?
Q23MCQ2 marks
question figure
  1. It controls the learning rate of the stochastic regressor during training.
  2. It determines the maximum number of iterations for the training process.
  3. It defines the fraction of the validation set used for early stopping.
  4. It specifies the tolerance level for early stopping based on the change in thevalidation error.
Q24MSQ2 marksselect all that apply
Consider the following code block and if needed make appropriate assumptions: question figure Consider the following code block and if needed make appropriate assumptions: Which of the following may be appropriate to be filled in the blank space value for scoring parameter?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
  6. question figure

Answer key

  1. Q1 (SA, 1 marks): 11
  2. Q2 (SA, 1 marks): 3
  3. Q3 (SA, 2 marks): 2
  4. Q4 (SA, 2 marks): 2
  5. Q5 (MSQ, 2 marks): A, B, C, D, E
  6. Q6 (MSQ, 2 marks): A, B
  7. Q7 (MSQ, 2 marks): A, D
  8. Q8 (MSQ, 2 marks): A, C
  9. Q9 (MSQ, 3 marks): B, D
  10. Q10 (MCQ, 2 marks): D
  11. Q11 (MCQ, 3 marks): C
  12. Q12 (MCQ, 2 marks): B
  13. Q13 (SA, 2 marks): 4
  14. Q14 (SA, 2 marks): 0.5
  15. Q15 (SA, 2 marks): 1.0
  16. Q16 (SA, 2 marks): 0.4
  17. Q17 (MSQ, 2 marks): B, C
  18. Q18 (MCQ, 2 marks): A
  19. Q19 (MCQ, 2 marks): D
  20. Q20 (MCQ, 3 marks): B
  21. Q21 (MCQ, 3 marks): B
  22. Q22 (SA, 2 marks): 0.76 to 0.80
  23. Q23 (MCQ, 2 marks): D
  24. Q24 (MSQ, 2 marks): B, C

Concepts this paper tests

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

Summary of Core Topics, Concepts, Principles, and Equations

1. Pandas and NumPy

2. Scikit-Learn

3. Data Splitting

4. Mathematical Concepts

5. Handling Missing Data

6. Model Parameters