Machine Learning Algorithms — Part 2 MCQs with Explanations
Practice high-yield Computer Science & IT MCQs on Machine Learning Algorithms — Part 2 with worked academic solutions for PPSC, FPSC, CSS, PMS, NTS.
Questions
40
Difficulty Level
Exam-Level
Target Exams
PPSC, FPSC, CSS...
Estimated Time
48 mins
Exam-Level PPSC FPSC CSS PMS NTS
Verified for Commission Syllabus • Oct 14, 2026
40
Verified Practice Questions
Interactive test mode with detailed academic worked solutions
Live Progress|0/40 answered
✓0 correct
✗0 wrong
0% score
🎉 Set complete! All 40 questions answered.
Question 1 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
In machine learning, what is the primary objective of a genetic algorithm?
Correct Answer: Option C — To find optimal solutions
Detailed Academic Explanation:
To find optimal solutions is the correct answer to “In machine learning, what is the primary objective of a genetic algorithm”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
What is the primary purpose of a convolutional neural network (CNN) in machine learning?
Correct Answer: Option D — To classify images based on features
Detailed Academic Explanation:
To classify images based on features is the correct answer to “What is the primary purpose of a convolutional neural network (CNN) in machine learning”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which machine learning algorithm is commonly used for time series forecasting and predicting stock prices?
Correct Answer: Option C — Recurrent Neural Network (RNN)
Detailed Academic Explanation:
Recurrent Neural Network (RNN) is the correct answer to “Which machine learning algorithm is commonly used for time series forecasting and predicting stock prices”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
In machine learning, what is the term for the process of splitting the dataset into three parts: training, validation, and testing sets?
Correct Answer: Option C — Data Splitting
Detailed Academic Explanation:
Data Splitting is the correct answer to “In machine learning, what is the term for the process of splitting the dataset into three parts: training, validation, and testing sets”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
What is the primary purpose of a k-means clustering algorithm in machine learning?
Correct Answer: Option B — To group similar data points
Detailed Academic Explanation:
To group similar data points is the correct answer to “What is the primary purpose of a k-means clustering algorithm in machine learning”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following can be used to create the most common graph types?
Correct Answer: Option A — qplot
Detailed Academic Explanation:
qplot is the correct answer to “Which of the following can be used to create the most common graph types”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following library is used for boosting generalized additive models?
Correct Answer: Option A — gamBoost
Detailed Academic Explanation:
gamBoost is the correct answer to “Which of the following library is used for boosting generalized additive models”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following is used to assist the quantitative trader in the development?
Correct Answer: Option A — quantmod
Detailed Academic Explanation:
quantmod is the correct answer to “Which of the following is used to assist the quantitative trader in the development”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Model based prediction considers relatively easy version for covariance matrix.
Correct Answer: Option B — False
Detailed Academic Explanation:
False is the correct answer to “Model based prediction considers relatively easy version for covariance matrix.”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following model sums the importance over each boosting iteration?
Correct Answer: Option A — Boosted trees
Detailed Academic Explanation:
Boosted trees is the correct answer to “Which of the following model sums the importance over each boosting iteration”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Correct Answer: Option C — False positive=correctly identified
Detailed Academic Explanation:
False positive=correctly identified is the correct answer to “Point out the wrong combination.”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following is correct use of cross validation?
Correct Answer: Option D — All of the mentioned
Detailed Academic Explanation:
All of the mentioned is the correct answer to “Which of the following is correct use of cross validation”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following is statistical boosting based on additive logistic regression?
Correct Answer: Option A — gamBoost
Detailed Academic Explanation:
gamBoost is the correct answer to “Which of the following is statistical boosting based on additive logistic regression”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
False is the correct answer to “True positive means correctly rejected.”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
All of the mentioned is the correct answer to “Which of the following is a common error measure”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following package tools are present in caret?
Correct Answer: Option D — all of the mentioned
Detailed Academic Explanation:
all of the mentioned is the correct answer to “Which of the following package tools are present in caret”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following argument is used to set importance values?
Correct Answer: Option A — scale
Detailed Academic Explanation:
scale is the correct answer to “Which of the following argument is used to set importance values”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following can be used to create sub–samples using a maximum dissimilarity approach?
Correct Answer: Option B — maxDissim
Detailed Academic Explanation:
maxDissim is the correct answer to “Which of the following can be used to create sub–samples using a maximum dissimilarity approach”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
The preProcess class can be used for many operations on predictors.
Correct Answer: Option A — True
Detailed Academic Explanation:
True is the correct answer to “The preProcess class can be used for many operations on predictors.”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following method options is provided by train function for bagging?
Correct Answer: Option D — all of the mentioned
Detailed Academic Explanation:
all of the mentioned is the correct answer to “Which of the following method options is provided by train function for bagging”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following function can be used to create balanced splits of the data?
Correct Answer: Option B — createDataPartition
Detailed Academic Explanation:
createDataPartition is the correct answer to “Which of the following function can be used to create balanced splits of the data”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
caret stands for classification and regression training.
Correct Answer: Option A — True
Detailed Academic Explanation:
True is the correct answer to “caret stands for classification and regression training.”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
For k cross-validation, larger k value implies more bias.
Correct Answer: Option B — False
Detailed Academic Explanation:
False is the correct answer to “For k cross-validation, larger k value implies more bias.”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
For most classification models, each predictor will have a separate variable importance for each class.
Correct Answer: Option A — True
Detailed Academic Explanation:
True is the correct answer to “For most classification models, each predictor will have a separate variable importance for each class.”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Correct Answer: Option A — In sample error < out sample error
Detailed Academic Explanation:
In sample error < out sample error is the correct answer to “Which of the following expression is true”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
The function preProcess estimates the required parameters for each operation.
Correct Answer: Option A — True
Detailed Academic Explanation:
True is the correct answer to “The function preProcess estimates the required parameters for each operation.”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following is correct about regularized regression?
Correct Answer: Option A — Can help with bias trade-off
Detailed Academic Explanation:
Can help with bias trade-off is the correct answer to “Which of the following is correct about regularized regression”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following is not a machine learning algorithm?
Correct Answer: Option A — SVG
Detailed Academic Explanation:
SVG is the correct answer to “Which of the following is not a machine learning algorithm”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
False is the correct answer to “Predictive analytics is same as forecasting.”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following is one of the largest boost subclass in boosting?
Correct Answer: Option B — gradient boosting
Detailed Academic Explanation:
gradient boosting is the correct answer to “Which of the following is one of the largest boost subclass in boosting”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Accuracy is the correct answer to “Which of the following is a categorical outcome”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following function is used to generate the class distances?
Correct Answer: Option B — predict.classDist
Detailed Academic Explanation:
predict.classDist is the correct answer to “Which of the following function is used to generate the class distances”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
The advantage of using a model-based approach is that is more closely tied to the model performance.
Correct Answer: Option A — True
Detailed Academic Explanation:
True is the correct answer to “The advantage of using a model-based approach is that is more closely tied to the model performance.”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following is correct order of working?
Correct Answer: Option A — questions → input data → algorithms
Detailed Academic Explanation:
questions → input data → algorithms is the correct answer to “Which of the following is correct order of working”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following curve analysis is conducted on each predictor for classification?
Correct Answer: Option B — ROC
Detailed Academic Explanation:
ROC is the correct answer to “Which of the following curve analysis is conducted on each predictor for classification”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following is correct with respect to random forest?
Correct Answer: Option A — Random forest are difficult to interpret but often very accurate
Detailed Academic Explanation:
Random forest are difficult to interpret but often very accurate is the correct answer to “Which of the following is correct with respect to random forest”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
For k cross-validation, smaller k value implies less variance.
Correct Answer: Option A — True
Detailed Academic Explanation:
True is the correct answer to “For k cross-validation, smaller k value implies less variance.”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
The principal components are equal to left singular values if you first scale the variables.
Correct Answer: Option B — False
Detailed Academic Explanation:
False is the correct answer to “The principal components are equal to left singular values if you first scale the variables.”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following function can be used to identify near zero-variance variables?
Correct Answer: Option C — nearZeroVar
Detailed Academic Explanation:
nearZeroVar is the correct answer to “Which of the following function can be used to identify near zero-variance variables”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
Which of the following can be used to impute data sets based only on information in the training set?
Correct Answer: Option B — preProcess
Detailed Academic Explanation:
preProcess is the correct answer to “Which of the following can be used to impute data sets based only on information in the training set”. This question is standard in competitive examination syllabi for Machine Learning Algorithms.
In competitive commission exams (FPSC, PPSC, KPPSC, SPSC, CSS, PMS), questions are frequently phrased with distractor options designed to catch rote learners. Whenever you answer an MCQ, read the Detailed Academic Explanation and Conceptual Anchor to understand why the remaining options are incorrect.