Practice high-yield Computer Science & IT MCQs on Machine Learning — 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
Which of the following techniques would perform better for reducing dimensions of a data set?
Correct Answer: Option A — removing columns which have too many missing values
Detailed Academic Explanation:
removing columns which have too many missing values is the correct answer to “Which of the following techniques would perform better for reducing dimensions of a data set”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 2 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
. . . . . . . . can be adopted when it's necessary to categorize a large amount of data with a few complete examples or when there's the need to impose some constraints to a clustering algorithm.
Correct Answer: Option B — Semi-supervised
Detailed Academic Explanation:
Semi-supervised is the correct answer to “. . . . . . . . can be adopted when it's necessary to categorize a large amount of data with a few complete examples or when there's the need to impose some constraints to a clustering algorithm.”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 3 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Binarize parameter in BernoulliNB scikit sets threshold for binarizing of sample features.
Correct Answer: Option A — TRUE
Detailed Academic Explanation:
TRUE is the correct answer to “Binarize parameter in BernoulliNB scikit sets threshold for binarizing of sample features.”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 4 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What would you do in PCA to get the same projection as SVD?
Correct Answer: Option A — transform data to zero mean
Detailed Academic Explanation:
transform data to zero mean is the correct answer to “What would you do in PCA to get the same projection as SVD”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 5 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The . . . . . . . . of the hyperplane depends upon the number of features.
Correct Answer: Option A — dimension
Detailed Academic Explanation:
dimension is the correct answer to “The . . . . . . . . of the hyperplane depends upon the number of features.”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 6 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What is the approach of basic algorithm for decision tree induction?
Correct Answer: Option A — greedy
Detailed Academic Explanation:
greedy is the correct answer to “What is the approach of basic algorithm for decision tree induction”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 7 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Can we extract knowledge without apply feature selection
Correct Answer: Option A — Yes
Detailed Academic Explanation:
Yes is the correct answer to “Can we extract knowledge without apply feature selection”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 8 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Suppose there are 25 base classifiers. Each classifier has error rates of e = 0.35. Suppose you are using averaging as ensemble technique. What will be the probabilities that ensemble of above 25 classifiers will make a wrong prediction? Note: All classifiers are independent of each other
Correct Answer: Option B — 0.06
Detailed Academic Explanation:
0.06 is the correct answer to “Suppose there are 25 base classifiers. Each classifier has error rates of e = 0.35. Suppose you are using averaging as ensemble technique. What will be the probabilities that ensemble of above 25 classifiers will make a wrong prediction? Note: All classifiers are independent of each other”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 9 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
When the number of classes is large Gini index is not a good choice.
Correct Answer: Option A — TRUE
Detailed Academic Explanation:
TRUE is the correct answer to “When the number of classes is large Gini index is not a good choice.”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 10 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Data used to build a data mining model.
Correct Answer: Option A — training data
Detailed Academic Explanation:
training data is the correct answer to “Data used to build a data mining model.”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 11 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
This technique associates a conditional probability value with each data instance.
Correct Answer: Option B — logistic regression
Detailed Academic Explanation:
logistic regression is the correct answer to “This technique associates a conditional probability value with each data instance.”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 12 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What is the purpose of the Kernel Trick?
Correct Answer: Option A — to transform the data from nonlinearly separable to linearly separable
Detailed Academic Explanation:
to transform the data from nonlinearly separable to linearly separable is the correct answer to “What is the purpose of the Kernel Trick”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 13 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Having multiple perceptrons can actually solve the XOR problem satisfactorily: this is because each perceptron can partition off a linear part of the space itself, and they can then combine their results.
Correct Answer: Option C — true - perceptrons can do this but are unable to learn to do it - they have to be explicitly hand-coded
Detailed Academic Explanation:
true - perceptrons can do this but are unable to learn to do it - they have to be explicitly hand-coded is the correct answer to “Having multiple perceptrons can actually solve the XOR problem satisfactorily: this is because each perceptron can partition off a linear part of the space itself, and they can then combine their results.”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 14 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Can we calculate the skewness of variables based on mean and median?
Correct Answer: Option B — FALSE
Detailed Academic Explanation:
FALSE is the correct answer to “Can we calculate the skewness of variables based on mean and median”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 15 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
It is possible to design a Linear regression algorithm using a neural network?
Correct Answer: Option A — TRUE
Detailed Academic Explanation:
TRUE is the correct answer to “It is possible to design a Linear regression algorithm using a neural network”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 16 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
If Linear regression model perfectly first i.e., train error is zero, then . . . . . . . .
Correct Answer: Option C — Couldn't comment on Test error
Detailed Academic Explanation:
Couldn't comment on Test error is the correct answer to “If Linear regression model perfectly first i.e., train error is zero, then . . . . . . . .”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 17 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Increase in size of a convolutional kernel would necessarily increase the performance of a convolutional network.
Correct Answer: Option B — FALSE
Detailed Academic Explanation:
FALSE is the correct answer to “Increase in size of a convolutional kernel would necessarily increase the performance of a convolutional network.”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 18 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
To control the size of the tree, we need to control the number of regions. One approach to do this would be to split tree nodes only if the resultant decrease in the sum of squares error exceeds some threshold. For the described method, which among the following are true? a. It would, in general, help restrict the size of the trees b. It has the potential to affect the performance of the resultant regression/classification model c. It is computationally infeasible
Correct Answer: Option A — a and b
Detailed Academic Explanation:
a and b is the correct answer to “To control the size of the tree, we need to control the number of regions. One approach to do this would be to split tree nodes only if the resultant decrease in the sum of squares error exceeds some threshold. For the described method, which among the following are true? a. It would, in general, help restrict the size of the trees b. It has the potential to affect the performance of the resultant regression/classification model c. It is computationally infeasible”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 19 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is the difference between stacking and blending?
Correct Answer: Option D — none of these
Detailed Academic Explanation:
none of these is the correct answer to “Which of the following is the difference between stacking and blending”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 20 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Logistic regression is a . . . . . . . . regression technique that is used to model data having a . . . . . . . . outcome.
Correct Answer: Option D — nonlinear, binary
Detailed Academic Explanation:
nonlinear, binary is the correct answer to “Logistic regression is a . . . . . . . . regression technique that is used to model data having a . . . . . . . . outcome.”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 21 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
In following type of feature selection method we start with empty feature set
Correct Answer: Option A — forward feature selection
Detailed Academic Explanation:
forward feature selection is the correct answer to “In following type of feature selection method we start with empty feature set”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 22 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Neural Networks are complex . . . . . . . . with many parameters.
Correct Answer: Option A — linear functions
Detailed Academic Explanation:
linear functions is the correct answer to “Neural Networks are complex . . . . . . . . with many parameters.”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 23 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
How it's possible to use a different placeholder through the parameter . . . . . . . .
Correct Answer: Option D — missing_values
Detailed Academic Explanation:
missing_values is the correct answer to “How it's possible to use a different placeholder through the parameter . . . . . . . .”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 24 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is a categorical data?
Correct Answer: Option A — branch of bank
Detailed Academic Explanation:
branch of bank is the correct answer to “Which of the following is a categorical data”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 25 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The F-test
Correct Answer: Option C — considers the reduction in error when moving from the reduced model to the complete model
Detailed Academic Explanation:
Option "considers the reduction in error when moving from the reduced model to the complete model" is the correct answer for this question under Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 26 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Linear Regression is a supervised machine learning algorithm.
Correct Answer: Option A — TRUE
Detailed Academic Explanation:
TRUE is the correct answer to “Linear Regression is a supervised machine learning algorithm.”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 27 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following are supervised learning applications
Correct Answer: Option A — Spam detection, Pattern detection, Natural Language Processing
Detailed Academic Explanation:
Spam detection, Pattern detection, Natural Language Processing is the correct answer to “Which of the following are supervised learning applications”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 28 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is a good test dataset characteristic?
Correct Answer: Option C — both A and B
Detailed Academic Explanation:
both A and B is the correct answer to “Which of the following is a good test dataset characteristic”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 29 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Features being classified is . . . . . . . . of each other in Nave Bayes Classifier
Correct Answer: Option A — independent
Detailed Academic Explanation:
independent is the correct answer to “Features being classified is . . . . . . . . of each other in Nave Bayes Classifier”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 30 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The gini index is not biased towards multivalued attributed.
Correct Answer: Option B — FALSE
Detailed Academic Explanation:
FALSE is the correct answer to “The gini index is not biased towards multivalued attributed.”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 31 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
This unsupervised clustering algorithm terminates when mean values computed for the current iteration of the algorithm are identical to the computed mean values for the previous iteration.
Correct Answer: Option C — k-means clustering
Detailed Academic Explanation:
k-means clustering is the correct answer to “This unsupervised clustering algorithm terminates when mean values computed for the current iteration of the algorithm are identical to the computed mean values for the previous iteration.”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 32 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
In syntax of linear model lm(formula,data,..), data refers to . . . . . . . .
Correct Answer: Option B — Vector
Detailed Academic Explanation:
Vector is the correct answer to “In syntax of linear model lm(formula,data,..), data refers to . . . . . . . .”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 33 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
This clustering algorithm terminates when mean values computed for the current iteration of the algorithm are identical to the computed mean values for the previous iteration Select one:
Correct Answer: Option A — k-means clustering
Detailed Academic Explanation:
k-means clustering is the correct answer to “This clustering algorithm terminates when mean values computed for the current iteration of the algorithm are identical to the computed mean values for the previous iteration Select one:”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 34 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
scikit-learn offers the class. . . . . . . ., which is responsible for filling the holes using a strategy based on the mean, median, or frequency
Correct Answer: Option D — Imputer
Detailed Academic Explanation:
Imputer is the correct answer to “scikit-learn offers the class. . . . . . . ., which is responsible for filling the holes using a strategy based on the mean, median, or frequency”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 35 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following function provides unsupervised prediction ?
Correct Answer: Option D — none of the mentioned
Detailed Academic Explanation:
none of the mentioned is the correct answer to “Which of the following function provides unsupervised prediction”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 36 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
In the last decade, many researchers started training bigger and bigger models, built with several different layers that's why this approach is called . . . . . . . .
Correct Answer: Option A — Deep learning
Detailed Academic Explanation:
Deep learning is the correct answer to “In the last decade, many researchers started training bigger and bigger models, built with several different layers that's why this approach is called . . . . . . . .”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 37 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following statement(s) can be true post adding a variable in a linear regression model? 1. R-Squared and Adjusted R-squared both increase 2. R-Squared increases and Adjusted R-squared decreases 3. R-Squared decreases and Adjusted R-squared decreases 4. R-Squared decreases and Adjusted R-squared increases
Correct Answer: Option A — 1 and 2
Detailed Academic Explanation:
1 and 2 is the correct answer to “Which of the following statement(s) can be true post adding a variable in a linear regression model? 1. R-Squared and Adjusted R-squared both increase 2. R-Squared increases and Adjusted R-squared decreases 3. R-Squared decreases and Adjusted R-squared decreases 4. R-Squared decreases and Adjusted R-squared increases”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 38 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following option is true about k-NN algorithm?
Correct Answer: Option C — it can be used in both classification and regression
Detailed Academic Explanation:
it can be used in both classification and regression is the correct answer to “Which of the following option is true about k-NN algorithm”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 39 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Feature can be used as a
Correct Answer: Option C — both a and b
Detailed Academic Explanation:
both a and b is the correct answer to “Feature can be used as a”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 40 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The average positive difference between computed and desired outcome values.
Correct Answer: Option D — mean positive error
Detailed Academic Explanation:
mean positive error is the correct answer to “The average positive difference between computed and desired outcome values.”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
✓Link copied to clipboard
Continue Your Practice
Advanced Mapreduce Concepts — Part 1
Master the next curriculum module with 40 exam-standard MCQs.
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.