Q1. Which type of machine learning algorithm falls under the category of 'unsupervised learning'?
Options: a) Logistic Regression, b) Linear Regression, c) None, d) K-means Clustering
Answer: d) K-means Clustering (Correct)
Explanation: Unsupervised learning algorithms discover patterns and natural clusters from unlabeled data without predefined target variables. K-means is a clustering algorithm, whereas Logistic and Linear Regression are supervised.
Q2. A programming approach where we are required to match a specific pattern
Options: a) Explicit Programming, b) Implicit Programming, c) Deterministic Programming, d) Non-Deterministic programming
Answer: a) Explicit Programming (Correct)
Explanation: In conventional (explicit) programming, human programmers define hardcoded rules/regex to match a specific pattern. Machine learning uses implicit programming where patterns are learned from data.
Q3. Gradient Descent is
Options: a) A classification method, b) A regression method, c) An optimizer, d) A loss function
Answer: c) An optimizer (Correct)
Explanation: Gradient Descent is an iterative optimization algorithm used to minimize the loss function and update model parameters (weights and biases).
Q4. Which statement is correct:
Options: a) Cant say, b) SSE is better than MSE performance matrix for linear regression, c) MSE is better than SSE performance matrix for linear regression, d) Both SSE and MSE equality good
Answer: c) MSE is better than SSE performance matrix for linear regression (Correct)
Explanation: SSE depends on sample size (increases as more data points are added). MSE divides SSE by n, providing an average squared error that allows fair comparison across datasets.
Q5. Cut off value in classification problem is decided by the developer based on the need to application
Options: True, False
Answer: True (Correct)
Explanation: The decision threshold is chosen based on application requirements (e.g., minimizing false negatives in medical diagnosis vs false positives in spam filtering).
Q6. Regression is a type of un-supervised method and classification is a supervised method.
Options: True, False
Answer: False (Correct)
Explanation: Both regression and classification are supervised learning methods; regression predicts continuous numbers while classification predicts discrete classes.
Q7. Which of the following evaluation metrics can be used to evaluate a model while modeling a continuous/numerical output variable?
Options: a) Squared-Error, b) Accuracy, c) AUC-ROC, d) Recall
Answer: a) Squared-Error (Correct)
Explanation: Squared-Error (SSE, MSE, RMSE) evaluates continuous regression predictions. Accuracy, AUC-ROC, and Recall are categorical classification metrics.
Q8. Accuracy is highest in classification with Cut off value = 0.5
Options: True, False
Answer: False (Correct)
Explanation: A 0.5 threshold does not guarantee optimal accuracy, particularly on imbalanced datasets where tuning the cutoff improves performance.
Q9. Hold out method is a type of:
Options: a) Training Method, b) Machine learning method, c) Data splitting method, d) Data Extraction, e) Data transformation
Answer: c) Data splitting method (Correct)
Explanation: The holdout method partitions a dataset into distinct training and testing subsets.
Q10. Linear Regression is a supervised machine learning algorithm.
Options: True, False
Answer: True (Correct)
Explanation: Linear regression requires ground-truth continuous target labels to fit coefficients.
Q11. Unsupervised algorithm can not be applied if the dataset has a target variable.
Options: True, False
Answer: False (Correct)
Explanation: Unsupervised algorithms can still run on such datasets by omitting/ignoring the target column.
Q12. In supervised learning, target/class variable can be:
Options: a) Only Numerical Variable, b) All, c) Only Nominal Variable, d) Only Categorical Variable
Answer: b) All (Correct)
Explanation: Supervised learning handles continuous numerical variables (regression) as well as categorical, nominal, or ordinal targets (classification).
Q13. Supervised algorithm can not be applied if a target variable is missing in the dataset.
Options: True, False
Answer: True (Correct)
Explanation: Supervised learning requires target labels to compute error and optimize parameters.
Q14. Predicting whether a given flight will be delayed or not.
Options: a) Descriptive Analytics, b) Regression Problem, c) Un-supervised problem, d) Classification Problem
Answer: d) Classification Problem (Correct)
Explanation: Flight delay (delayed vs not delayed) is a discrete categorical outcome.
Q15. Unlabeled data used in:
Options: a) Supervised Learning, b) Training, c) Un-Supervised Learning, d) preprocessing
Answer: c) Un-Supervised Learning (Correct)
Explanation: Unsupervised algorithms operate on unlabeled data lacking pre-assigned target tags.
Q16. In a simple linear regression model (One independent variable), If we change the input variable by 1 unit, how much output variable will change?
Options: a) by its slope (coefficient), b) by intercept, c) no change, d) by 1
Answer: a) by its slope (coefficient) (Correct)
Explanation: The slope represents the rate of change in y per 1-unit change in x.
Q17. Which statement is correct:
Options: a) Can not say, b) Multiple Regression is better than logistic regression, c) Polynomial Regression is better than logistic regression, d) Logistic Regression is better than Polynomial regression
Answer: a) Can not say (Correct)
Explanation: Linear/polynomial regression and logistic regression solve different problems (continuous prediction vs categorical classification); neither is universally superior.