Practice high-yield Computer Science & IT MCQs on Machine Learning — Part 1 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 simple term, machine learning is
Correct Answer: Option C — both A and B
Detailed Academic Explanation:
Machine learning, in simple terms, can be described as follows: Option A: Training based on historical data Machine learning involves training algorithms or models using historical data to learn patterns, relationships, and trends within the data. This training process enables the machine to make predictions or decisions based on new, unseen data. So, Option A is a fundamental aspect of machine learning. Option B: Prediction to answer a query Machine learning is often used for making predictions or providing answers to queries by analyzing data patterns. It uses the knowledge gained during training to make informed decisions or predictions when presented with new data. Therefore, Option B is another key characteristic of machine learning. Option C: Both A and B Machine learning encompasses both training models based on historical data (Option A) and using these models to make predictions or answer queries (Option B). Therefore, Option C correctly represents the nature of machine learning as it involves both aspects. Option D: Automization of complex tasks While machine learning can automate tasks and processes, it is primarily focused on learning from data and making predictions or decisions. While automation can be a result of machine learning, it is not the core definition of the field. So, Option D is not as precise in describing what machine learning is. In summary, machine learning is best described as a combination of training models based on historical data and using those models for predictions and queries, making Option C the most accurate description.
💡Key Conceptual Anchor:Machine Learning
Question 2 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is the best machine learning method?
Correct Answer: Option D — all of the above
Detailed Academic Explanation:
Which of the following is the best machine learning method? Option A: Scalable Machine learning methods should ideally be scalable, meaning they can handle large datasets and grow in complexity as needed. Scalability is a crucial factor in real-world applications, making Option A a valuable consideration. Option B: Accuracy Accuracy is a fundamental measure of a machine learning method's performance. It represents how well a model's predictions align with actual outcomes. While high accuracy is desirable, it may not be the sole criterion for determining the "best" method, as other factors, such as scalability and speed, also play a role. Option C: Fast Speed is another critical aspect of machine learning methods, especially in applications where real-time or near-real-time processing is required. A fast machine learning method can provide quick insights and decisions, which can be crucial in various domains. Option D: All of the Above The "best" machine learning method depends on the specific use case and requirements. There is no one-size-fits-all answer. In some situations, scalability might be the top priority, while in others, accuracy or speed could be more critical. Therefore, considering Option D as the answer acknowledges that the choice of the best method can vary depending on the context. In summary, the "best" machine learning method is context-dependent, and it may involve considerations of scalability, accuracy, and speed. Thus, Option D recognizes the multifaceted nature of this decision.
💡Key Conceptual Anchor:Machine Learning
Question 3 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The output of training process in machine learning is
Correct Answer: Option A — machine learning model
Detailed Academic Explanation:
The output of the training process in machine learning is: Option A: Machine Learning Model The primary output of the training process in machine learning is the machine learning model itself. During training, the model learns patterns and relationships within the training data, and the result is a trained model that can make predictions or classifications when given new data. So, Option A is the correct answer. Option B: Machine Learning Algorithm While machine learning algorithms are essential components of the training process, they are not the direct output of training. Algorithms are used to train the model, but the model is the end result. Therefore, Option B is not the correct answer. Option C: Null The output of the training process is not null; it is a trained machine learning model. So, Option C is not the correct answer. Option D: Accuracy Accuracy is a performance metric used to evaluate the quality of a machine learning model. It is not the direct output of the training process but rather a measure of how well the model performs. Therefore, Option D is not the correct answer. In summary, the primary output of the training process in machine learning is the trained machine learning model, making Option A the correct choice.
💡Key Conceptual Anchor:Machine Learning
Question 4 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Application of machine learning methods to large databases is called
Correct Answer: Option A — data mining.
Detailed Academic Explanation:
Application of machine learning methods to large databases is called: Option A: Data Mining The process of applying machine learning techniques to large databases to discover patterns, relationships, and valuable information is commonly referred to as data mining. Data mining is a critical application of machine learning in handling vast datasets. So, Option A is the correct answer. Option B: Artificial Intelligence Artificial intelligence (AI) is a broader field that encompasses machine learning as one of its subfields. While AI may involve machine learning, it is not specifically focused on the application of machine learning to large databases. Therefore, Option B is not the correct answer. Option C: Big Data Computing Big data computing refers to the processing and analysis of large volumes of data, but it does not specifically imply the application of machine learning methods. Machine learning can be part of big data computing, but the term "big data computing" is not synonymous with applying machine learning to large databases. Therefore, Option C is not the correct answer. Option D: Internet of Things The Internet of Things (IoT) is a concept related to connecting physical devices and objects to the internet. While machine learning may play a role in processing data generated by IoT devices, it does not directly describe the application of machine learning methods to large databases. Therefore, Option D is not the correct answer. In summary, the application of machine learning methods to large databases is commonly known as data mining, making Option A the correct choice.
💡Key Conceptual Anchor:Machine Learning
Question 5 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
If machine learning model output involves target variable then that model is called as
Correct Answer: Option B — predictive model
Detailed Academic Explanation:
If a machine learning model's output involves the target variable, then that model is called: Option A: Descriptive Model A descriptive model is primarily focused on describing the relationships and patterns in the data. While it may involve the target variable, it doesn't necessarily predict it. Therefore, Option A is not the correct answer. Option B: Predictive Model A predictive model is designed to predict or estimate the target variable based on input features and data patterns. If a machine learning model's output involves the target variable, it is indeed a predictive model. So, Option B is the correct answer. Option C: Reinforcement Learning Reinforcement learning is a specific type of machine learning where agents learn to make decisions to maximize rewards over time. While it may involve target variables in the form of rewards or goals, it is not necessarily the same as a model whose output directly involves the target variable. Therefore, Option C is not the correct answer. Option D: All of the Above While descriptive and predictive models are relevant, reinforcement learning does not fit the description of a model whose output directly involves the target variable. Therefore, Option D is not the correct answer. In summary, if a machine learning model's output involves the target variable, it is called a predictive model, making Option B the correct choice.
💡Key Conceptual Anchor:Machine Learning
Question 6 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What are the different Algorithm techniques in Machine Learning?
Correct Answer: Option A — supervised learning and semi-supervised learning
Detailed Academic Explanation:
What are the different algorithm techniques in Machine Learning? Option A: Supervised Learning and Semi-Supervised Learning Supervised learning involves training a machine learning model using labeled data, where the target variable is known. Semi-supervised learning combines both labeled and unlabeled data for training. These are indeed different algorithm techniques in machine learning, making Option A a correct choice. Option B: Unsupervised Learning and Transduction Unsupervised learning involves training models on unlabeled data to discover patterns or groupings in the data. Transduction, on the other hand, is not a commonly recognized machine learning technique. So, Option B is not the correct answer. Option C: Both A & B Both supervised learning (Option A) and unsupervised learning (part of Option B) are indeed different algorithm techniques in machine learning. However, transduction (the other part of Option B) is not commonly mentioned as a core machine learning technique. Therefore, Option C is not the correct answer. Option D: None of the Mentioned Since at least one of the options (Option A) represents different algorithm techniques in machine learning, Option D is not the correct answer. In summary, the different algorithm techniques in machine learning include supervised learning and semi-supervised learning, as described in Option A .
💡Key Conceptual Anchor:Machine Learning
Question 7 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is not Machine Learning?
Correct Answer: Option B — rule based inference
Detailed Academic Explanation:
Which of the following is not Machine Learning? Option A: Artificial Intelligence Artificial intelligence (AI) is a broad field that encompasses various subfields, including machine learning. Machine learning is a subset of AI. So, Option A is not the correct answer because AI includes machine learning. Option B: Rule-Based Inference Rule-based inference refers to making decisions or drawing conclusions based on predefined rules and logic. This approach does not involve learning from data, which is a core characteristic of machine learning. Therefore, Option B is the correct answer as it is not considered a part of machine learning. Option C: Both A and B As explained, artificial intelligence (Option A) includes machine learning, but rule-based inference (Option B) is not considered a part of machine learning. Therefore, Option C is not the correct answer. Option D: None of the Mentioned Since at least one of the options (Option B) is not considered a part of machine learning, Option D is the correct answer. In summary, rule-based inference (Option B) is not a component of machine learning, making Option B the correct choice.
💡Key Conceptual Anchor:Machine Learning
Question 8 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What is 'Overfitting' in Machine learning?
Correct Answer: Option A — when a statistical model describes random error or noise instead of
Detailed Academic Explanation:
What is 'Overfitting' in Machine Learning? Option A: When a statistical model describes random error or noise instead of Overfitting in machine learning occurs when a statistical model fits the training data too closely, capturing random noise or error in the data instead of the underlying patterns. So, Option A is a correct description of overfitting. Option B: Robots are programmed so that they can perform the task based on data they gather from Option B does not describe overfitting in machine learning. It appears to be unrelated to the concept of overfitting. Option C: While involving the process of learning 'overfitting' occurs. Option C is a vague statement that mentions overfitting but does not provide a clear explanation. It lacks specificity in describing the concept. Option D: A set of data is used to discover the potentially predictive relationship Option D does not accurately describe overfitting. It seems to be related to the general process of using data to discover predictive relationships but does not address the issue of overfitting. In summary, overfitting in machine learning occurs when a statistical model fits the training data too closely, capturing random error or noise instead of the underlying patterns, as described in Option A .
💡Key Conceptual Anchor:Machine Learning
Question 9 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
If machine learning model output doesnot involves target variable then that model is called as
Correct Answer: Option A — descriptive model
Detailed Academic Explanation:
If a machine learning model's output does not involve the target variable, then that model is called: Option A: Descriptive Model A descriptive model is primarily focused on describing the relationships and patterns in the data. It may not necessarily involve predicting the target variable. Therefore, Option A is a valid description. Option B: Predictive Model A predictive model is designed to predict or estimate the target variable based on input features and data patterns. If a machine learning model's output does not involve the target variable, it is not a predictive model. So, Option B is not the correct answer. Option C: Reinforcement Learning Reinforcement learning is a specific type of machine learning where agents learn to make decisions to maximize rewards over time. While it may involve target variables in the form of rewards or goals, it does not necessarily imply predicting the target variable. Therefore, Option C is not the correct answer. Option D: All of the Above Since at least one of the options (Option A) represents a model that does not involve the target variable, Option D is not the correct answer. In summary, a machine learning model that does not involve the target variable is called a descriptive model, making Option A the correct choice.
💡Key Conceptual Anchor:Machine Learning
Question 10 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which are two techniques of Machine Learning ?
Correct Answer: Option A — Genetic Programming and Inductive Learning
Detailed Academic Explanation:
Which are two techniques of Machine Learning? Option A: Genetic Programming and Inductive Learning Genetic programming and inductive learning are indeed two techniques of machine learning. Genetic programming involves evolving computer programs to solve problems, while inductive learning is about inferring rules from data. So, Option A is a correct description of machine learning techniques. Option B: Speech Recognition and Regression Speech recognition and regression are specific applications or tasks within machine learning but do not represent machine learning techniques themselves. They are use cases for applying machine learning techniques. Therefore, Option B is not the correct answer. Option C: Both A and B While Option A correctly lists two machine learning techniques, Option B includes specific tasks or applications rather than techniques. Therefore, Option C is not the correct answer. Option D: None of the Mentioned Since at least one of the options (Option A) represents two machine learning techniques, Option D is not the correct answer. In summary, Genetic Programming and Inductive Learning (Option A) are two examples of machine learning techniques.
💡Key Conceptual Anchor:Machine Learning
Question 11 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What characterize unlabeled examples in machine learning
Correct Answer: Option A — there is no prior knowledge
Detailed Academic Explanation:
What characterizes unlabeled examples in machine learning? Option A: There is no prior knowledge Unlabeled examples in machine learning typically do not have associated target labels or outcomes. This means there is no prior knowledge or information about the specific categories or values these examples belong to. So, Option A accurately characterizes unlabeled examples. Option B: There is no confusing knowledge Option B, stating "there is no confusing knowledge," does not adequately describe unlabeled examples in machine learning. It does not address the absence of labels or the lack of prior knowledge about these examples. Option C: There is prior knowledge Option C is not an accurate description of unlabeled examples. Unlabeled examples are typically characterized by the absence of prior knowledge or labels. Option D: There is plenty of confusing knowledge Option D, mentioning "plenty of confusing knowledge," is not an appropriate characterization of unlabeled examples. Unlabeled examples are typically blank slates without known categories or values. In summary, unlabeled examples in machine learning are characterized by the absence of prior knowledge or target labels, as described in Option A .
💡Key Conceptual Anchor:Machine Learning
Question 12 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What characterize is hyperplance in geometrical model of machine learning?
Correct Answer: Option A — a plane with 1 dimensional fewer than number of input attributes
Detailed Academic Explanation:
What characterizes a hyperplane in the geometrical model of machine learning? Option A: A plane with 1 dimensional fewer than the number of input attributes In the geometrical model of machine learning, a hyperplane is a flat subspace of one dimension less than the number of input attributes or features. It separates data points in space, and this separation is achieved with one dimension less than the original feature space. So, Option A accurately characterizes a hyperplane. Option B: A plane with 2 dimensional fewer than the number of input attributes Option B describes a hyperplane as having two dimensions fewer than the number of input attributes, which is not a correct characterization. A hyperplane typically has one dimension less than the feature space. Option C: A plane with 1 dimensional more than the number of input attributes Option C suggests that a hyperplane has one dimension more than the number of input attributes, which is not accurate in the geometrical model of machine learning. Option D: A plane with 2 dimensional more than the number of input attributes Option D describes a hyperplane as having two dimensions more than the number of input attributes, which is not a correct characterization. A hyperplane typically has one dimension less than the feature space. In summary, a hyperplane in the geometrical model of machine learning is characterized by being a plane with one dimension fewer than the number of input attributes, as described in Option A .
💡Key Conceptual Anchor:Machine Learning
Question 13 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Imagine a Newly-Born starts to learn walking. It will try to find a suitable policy to learn walking after repeated falling and getting up.specify what type of machine learning is best suited?
Correct Answer: Option D — reinforcement learning
Detailed Academic Explanation:
Imagine a newly-born starts to learn walking. It will try to find a suitable policy to learn walking after repeated falling and getting up. Specify what type of machine learning is best suited? Option A: Classification Classification is not the most suitable type of machine learning for this scenario. Classification typically involves assigning data points to predefined categories or classes. It may not capture the continuous and dynamic nature of learning to walk. Option B: Regression Regression involves predicting a continuous numerical output based on input features. While it allows for continuous predictions, it may not be the best fit for the scenario described, which involves learning a policy for walking rather than predicting specific values. Option C: K-Means Algorithm The K-Means algorithm is a clustering technique that is not suitable for learning to walk. It is used to partition data into clusters, which does not align with the concept of learning a policy for a dynamic task like walking. Option D: Reinforcement Learning Reinforcement learning is the most appropriate type of machine learning for the scenario described. It involves learning a policy through trial and error, where actions are taken in an environment to maximize rewards. In the context of a newborn learning to walk, this aligns with the process of repeated falling and getting up to find a suitable walking policy. So, Option D is the correct choice. In summary, reinforcement learning is the most suitable type of machine learning for a newborn learning to walk, as it involves learning a policy through trial and error and maximizing rewards.
💡Key Conceptual Anchor:Machine Learning
Question 14 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What are the popular algorithms of Machine Learning?
Correct Answer: Option D — all
Detailed Academic Explanation:
What are the popular algorithms of Machine Learning? Option A: Decision Trees and Neural Networks (Back Propagation) Decision trees and neural networks (back propagation) are indeed popular machine learning algorithms. Decision trees are used for classification and regression tasks, while neural networks, especially those trained with backpropagation, are widely used for various machine learning tasks, including deep learning. Option B: Probabilistic Networks and Nearest Neighbor Probabilistic networks, such as Bayesian networks, and nearest neighbor algorithms are also popular in machine learning. They are used for tasks involving probabilistic modeling and similarity-based classification. Option C: Support Vector Machines Support Vector Machines (SVMs) are a well-known and widely used machine learning algorithm for classification and regression tasks. SVMs are known for their effectiveness in finding decision boundaries in complex data. Option D: All The correct answer is Option D – all of the mentioned algorithms (Decision Trees, Neural Networks, Probabilistic Networks, Nearest Neighbor, and Support Vector Machines) are indeed popular algorithms in the field of machine learning. In summary, popular machine learning algorithms include Decision Trees, Neural Networks (Back Propagation), Probabilistic Networks, Nearest Neighbor, and Support Vector Machines, as indicated in Option D .
💡Key Conceptual Anchor:Machine Learning
Question 15 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
A machine learning problem involves four attributes plus a class. The attributes have 3, 2, 2, and 2 possible values each. The class has 3 possible values. How many maximum possible different examples are there?
Correct Answer: Option D — 72
Detailed Academic Explanation:
A machine learning problem involves four attributes plus a class. The attributes have 3, 2, 2, and 2 possible values each. The class has 3 possible values. How many maximum possible different examples are there? Option A: 12 To calculate the maximum possible different examples, you can multiply the number of possible values for each attribute and the class together: 3 (attribute 1) x 2 (attribute 2) x 2 (attribute 3) x 2 (attribute 4) x 3 (class) = 72. So, the correct answer is not Option A . Option B: 24 Option B is not the correct answer because it doesn't reflect the correct calculation for the maximum possible different examples. Option C: 48 Option C is not the correct answer because it also does not represent the correct calculation for the maximum possible different examples. Option D: 72 The correct answer is Option D . To find the maximum possible different examples, you can multiply the number of possible values for each attribute and the class together: 3 (attribute 1) x 2 (attribute 2) x 2 (attribute 3) x 2 (attribute 4) x 3 (class) = 72. In summary, the maximum possible different examples for this machine learning problem is 72, as correctly represented in Option D .
💡Key Conceptual Anchor:Machine Learning
Question 16 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
In machine learning, an algorithm (or learning algorithm) is said to be unstable if a small change in training data cause the large change in the learned classifiers. True or False: Bagging of unstable classifiers is a good idea
Correct Answer: Option A — TRUE
Detailed Academic Explanation:
In machine learning, instability refers to the sensitivity of an algorithm to changes in the training data. When an algorithm is unstable, small variations in the training data can lead to significant changes in the learned classifiers. Bagging, which stands for Bootstrap Aggregating, is a technique that aims to reduce the variance and improve the stability of machine learning models. By combining predictions from multiple unstable classifiers trained on different subsets of the data, bagging can often produce a more robust and stable ensemble model. Therefore, Option A: TRUE is the correct answer. Bagging of unstable classifiers is generally a good idea to enhance the overall performance of a machine learning model.
💡Key Conceptual Anchor:Machine Learning
Question 17 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is characteristic of best machine learning method ?
Correct Answer: Option D — all above
Detailed Academic Explanation:
Machine learning methods can vary widely in terms of their characteristics and suitability for different tasks. The "best" machine learning method depends on the specific requirements and goals of the problem at hand. Let's evaluate each option: Option A: fast Speed or efficiency is an important characteristic for machine learning methods, especially in real-time or time-sensitive applications. However, being fast alone does not necessarily make a method the best choice, as accuracy and scalability are also important considerations. Option B: accuracy Accuracy is a crucial characteristic of a machine learning method. A good method should provide accurate predictions or classifications on the given data. However, accuracy alone may not be sufficient if the method is not fast or scalable. Option C: scalable Scalability is another important factor, especially when dealing with large datasets or the need to process data efficiently at scale. Scalability ensures that the method can handle growing data without a significant drop in performance. However, scalability alone does not make a method the best choice if it lacks accuracy. Option D: all above The "all above" option suggests that the best machine learning method should possess all three characteristics: being fast, accurate, and scalable. This is a reasonable choice because the best machine learning method should ideally combine speed, accuracy, and scalability to be effective in a wide range of applications. In conclusion, the best machine learning method is one that is fast, accurate, and scalable . Therefore, Option D: all above is the correct answer.
💡Key Conceptual Anchor:Machine Learning
Question 18 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Machine learning techniques differ from statistical techniques in that machine learning methods
Correct Answer: Option A — typically assume an underlying distribution for the data.
Detailed Academic Explanation:
Machine learning techniques and statistical techniques are related fields, but they have distinct differences in their approaches and characteristics. Option A: typically assume an underlying distribution for the data. In statistical techniques, it is common to assume specific probability distributions for the data, and many statistical methods are based on these assumptions. In contrast, machine learning methods often do not make strong assumptions about the underlying data distribution. Instead, they focus on learning patterns and relationships directly from the data. Option B: are better able to deal with missing and noisy data. Machine learning methods often have techniques and algorithms designed to handle missing and noisy data effectively. They can adapt to imperfect data and still make predictions or classifications, whereas statistical methods may struggle with data quality issues. Option C: are not able to explain their behavior. This statement is not entirely accurate. Machine learning methods can be interpretable to some extent, and efforts have been made to develop explainable AI techniques. While some complex machine learning models may be less interpretable than traditional statistical models, they are not inherently incapable of explaining their behavior. Option D: have trouble with large-sized datasets. Machine learning methods are often well-suited for large-sized datasets, and many machine learning algorithms can scale to handle massive amounts of data. In fact, they are frequently used in big data analytics and large-scale applications. In summary, the key differences between machine learning and statistical techniques lie in their approaches to data assumptions, handling missing/noisy data, and explainability. Therefore, the correct answer is Option A: typically assume an underlying distribution for the data.
💡Key Conceptual Anchor:Machine Learning
Question 19 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What is Model Selection in Machine Learning?
Correct Answer: Option A — The process of selecting models among different mathematical models, which are used to describe the same data set
Detailed Academic Explanation:
Model selection in machine learning refers to the process of choosing the most appropriate model or algorithm from a set of candidate models to make predictions or capture relationships within a given dataset. Option A: The process of selecting models among different mathematical models, which are used to describe the same data set. This option correctly defines model selection in machine learning. It involves comparing and choosing from different mathematical models to find the one that best fits and describes the data. Option B: when a statistical model describes random error or noise instead of the underlying relationship. This statement appears to describe a situation where a model fails to capture the true underlying relationship in the data and instead models random error or noise. However, it is not the primary definition of model selection. Option C: Find interesting directions in data and find novel observations/database cleaning. This option seems to describe the process of exploratory data analysis and data preprocessing rather than model selection itself. Option D: All above. This option suggests that all of the statements (A, B, and C) are correct definitions of model selection. While option A is indeed a correct definition, options B and C are not. Therefore, Option D is not the correct choice. In conclusion, the correct definition of model selection in machine learning is Option A: The process of selecting models among different mathematical models, which are used to describe the same data set.
💡Key Conceptual Anchor:Machine Learning
Question 20 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Some people are using the term . . . . . . . . instead of prediction only to avoid the weird idea that machine learning is a sort of modern magic.
Correct Answer: Option A — Inference
Detailed Academic Explanation:
The term used instead of prediction only to avoid the weird idea that machine learning is a sort of modern magic is Option A: Inference . In machine learning, inference refers to the process of drawing conclusions or making educated guesses based on a model that has been trained on data. It involves using the model to make predictions or extract meaningful information from new data, which helps demystify the idea of machine learning as a kind of magical black box.
💡Key Conceptual Anchor:Machine Learning
Question 21 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The average squared difference between classifier predicted output and actual output.
Correct Answer: Option A — mean squared error
Detailed Academic Explanation:
The measure described, which represents the average squared difference between the predicted output of a classifier and the actual output, is known as Option A: mean squared error . Mean squared error is a common metric used to evaluate the performance of machine learning models, with lower values indicating better predictive accuracy. Option B: root mean squared error is a closely related metric that represents the square root of the mean squared error. It is also used for assessing model performance, and it provides a measure in the same units as the original data. Option C: mean absolute error measures the average absolute difference between predicted and actual values, but it does not square the differences as in mean squared error. Option D: mean relative error is not a standard metric for measuring prediction accuracy and is not commonly used in the context of machine learning. In conclusion, the correct term for the described measure is Option A: mean squared error .
💡Key Conceptual Anchor:Machine Learning
Question 22 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following methods do we use to find the best fit line for data in Linear Regression?
Correct Answer: Option A — Least Square Error
Detailed Academic Explanation:
In Linear Regression, the method used to find the best fit line for data is Option A: Least Square Error . This technique minimizes the sum of the squared differences (errors) between the predicted values and the actual values in the dataset. The goal is to find the line that minimizes the overall error, making it the "best fit" line for the data. Option B: Maximum Likelihood is not the primary method for finding the best fit line in Linear Regression. Maximum Likelihood is a statistical method used in other modeling techniques, but it is not the standard approach in Linear Regression. Option C: Logarithmic Loss is typically associated with logistic regression and classification problems, not Linear Regression. Option D: Both A and B suggests that both Least Square Error and Maximum Likelihood are used to find the best fit line in Linear Regression. While Maximum Likelihood can be applied in some cases, the primary and standard method is Least Square Error. Therefore, the correct method for finding the best fit line in Linear Regression is Option A: Least Square Error .
💡Key Conceptual Anchor:Machine Learning
Question 23 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Following are the descriptive models
Correct Answer: Option D — both a and c
Detailed Academic Explanation:
Descriptive models in machine learning are used to describe and summarize the relationships and patterns within data without making predictions. Clustering is a descriptive modeling technique that groups similar data points together based on certain characteristics or features. Association rule is another descriptive modeling technique used to discover interesting relationships between variables in large datasets. Therefore, Option D is correct because it includes both clustering (Option A) and association rule (Option C) as descriptive models.
💡Key Conceptual Anchor:Machine Learning
Question 24 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Assume that you are given a data set and a neural network model trained on the data set. You are asked to build a decision tree model with the sole purpose of understanding/interpreting the built neural network model. In such a scenario, which among the following measures would you concentrate most on optimising?
Correct Answer: Option C — fidelity of the decision tree model, which is the fraction of instances on which the neural network and the decision tree give the same output
Detailed Academic Explanation:
In this scenario, the primary goal is to understand or interpret the neural network model using a decision tree. Fidelity measures how faithfully the decision tree model represents the behavior of the neural network model. It calculates the fraction of instances on which both models provide the same output. Therefore, optimizing Option C ensures that the decision tree model accurately reflects the predictions of the neural network model, aiding in its interpretation.
💡Key Conceptual Anchor:Machine Learning
Question 25 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What are common feature selection methods in regression task?
Correct Answer: Option C — all above
Detailed Academic Explanation:
In regression tasks, common feature selection methods include: Option A: correlation coefficient - This method evaluates the strength and direction of the linear relationship between each feature and the target variable. Option B: greedy algorithms - Greedy algorithms iteratively select features based on certain criteria, such as maximizing predictive performance or minimizing error. Therefore, Option C encompasses both of these common feature selection methods, making it the correct choice.
💡Key Conceptual Anchor:Machine Learning
Question 26 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Regarding bias and variance, which of the following statements are true? (Here 'high' and 'low' are relative to the ideal model. i. Models which overfit are more likely to have high bias ii. Models which overfit are more likely to have low bias iii. Models which overfit are more likely to have high variance iv. Models which overfit are more likely to have low variance
Correct Answer: Option C — iii and iv
Detailed Academic Explanation:
i. False. Models that overfit tend to have low bias because they capture the training data's noise and details, leading to a smaller bias towards the training set. ii. False. As mentioned in (i), models that overfit typically have low bias, not high bias. iii. True. Overfitting often leads to high variance because the model captures noise in the training data, resulting in a model that performs well on the training set but poorly on unseen data. iv. True. Overfitting is characterized by capturing noise and spurious patterns from the training data, leading to low variance since the model's predictions are tightly fitted to the training data. Therefore, Option C is correct as it includes the true statements iii and iv.
💡Key Conceptual Anchor:Machine Learning
Question 27 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following can only be used when training data are linearlyseparable?
Correct Answer: Option A — linear hard-margin svm
Detailed Academic Explanation:
Linear hard-margin SVM is designed to find a hyperplane that separates classes with a clear margin and assumes that the data is linearly separable. It aims to maximize the margin while maintaining no training errors, which is only feasible when the data is linearly separable. Options B, C, and D are not constrained by linear separability: Option B: linear logistic regression - Logistic regression can be used with both linearly separable and non-linearly separable data. Option C: linear soft-margin SVM - Soft-margin SVM allows for some misclassifications (errors) and is suitable for non-linearly separable data. Option D: the centroid method - The centroid method is not specifically designed for linear separability and can be applied to various types of data. Therefore, the only option that requires linear separability is Option A: linear hard-margin SVM.
💡Key Conceptual Anchor:Machine Learning
Question 28 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Wrapper methods are hyper-parameter selection methods that
Correct Answer: Option C — are useful mainly when the learning machines are "black boxes"
Detailed Academic Explanation:
Wrapper methods are hyper-parameter selection methods that involve training multiple models with different subsets of features and selecting the best subset based on performance metrics. They are particularly useful when the underlying learning algorithms are "black boxes," meaning their internal workings are not easily interpretable or understood. Option A is incorrect because wrapper methods can be computationally intensive since they involve training multiple models. Option B is incorrect because whether wrapper methods are prone to overfitting depends on their implementation and the data. Option D is incorrect because wrapper methods can be valuable in certain scenarios, especially when interpretability is not a primary concern. Therefore, the correct answer is Option C: are useful mainly when the learning machines are "black boxes".
💡Key Conceptual Anchor:Machine Learning
Question 29 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Given that we can select the same feature multiple times during the recursive partitioning of the input space, is it always possible to achieve 100% accuracy on the training data (given that we allow for trees to grow to their maximum size) when building decision trees?
Correct Answer: Option B — No
Detailed Academic Explanation:
In decision tree algorithms like ID3 or C4.5, where features can be selected multiple times during recursive partitioning, it is indeed possible to achieve 100% accuracy on the training data. This occurs when the decision tree model perfectly memorizes all the training data, leading to each instance being correctly classified during training. However, achieving 100% accuracy on training data does not necessarily mean the model will generalize well to unseen data. Overfitting can occur, where the model captures noise or anomalies specific to the training data, leading to poor performance on new data. Therefore, the correct answer is Option A: Yes.
💡Key Conceptual Anchor:Machine Learning
Question 30 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
In many classification problems, the target dataset is made up of categorical labels which cannot immediately be processed by any algorithm. An encoding is needed and scikit-learn offers at least . . . . . . . . valid options
Correct Answer: Option B — 2
Detailed Academic Explanation:
In many classification problems, the target dataset consists of categorical labels that cannot be directly processed by machine learning algorithms. Therefore, encoding techniques are needed to convert categorical labels into a numerical format that algorithms can handle. Scikit-learn offers at least two valid options for encoding categorical labels: Label Encoding and One-Hot Encoding. Therefore, the correct answer is Option B: 2.
💡Key Conceptual Anchor:Machine Learning
Question 31 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Computers are best at learning
Correct Answer: Option A — facts.
Detailed Academic Explanation:
Computers excel at learning and executing procedures. They are adept at following predefined steps and algorithms to perform tasks. While they can process facts, concepts, and principles to some extent, their strength lies in executing procedures efficiently and accurately. Procedures involve a series of steps or instructions that dictate how a task should be carried out, making them the most suitable domain for computer learning. Therefore, the correct answer is Option C: procedures.
💡Key Conceptual Anchor:Machine Learning
Question 32 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
what is Feature scaling done before applying K-Mean algorithm?
Correct Answer: Option A — in distance calculation it will give the same weights for all features
Detailed Academic Explanation:
Feature scaling is performed before applying the K-Means algorithm to ensure that all features contribute equally to the distance computations. When features are on different scales, those with larger magnitudes may dominate the distance calculations, leading to biased results. By scaling the features, each feature contributes proportionally to the distance calculation, ensuring that no single feature dominates. This helps in achieving better cluster formation based on the actual distribution of data points. Therefore, the correct answer is Option A: in distance calculation it will give the same weights for all features.
💡Key Conceptual Anchor:Machine Learning
Question 33 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is true about Naive Bayes?
Correct Answer: Option C — Both A and B
Detailed Academic Explanation:
Naive Bayes algorithm assumes that all the features in a dataset are independent of each other given the class label. This is why it's termed "naive" because it simplifies the model by assuming independence between features, even though this assumption might not hold true in all cases. Option A is incorrect because Naive Bayes does not assume that all features are equally important; it only assumes independence. Option C is incorrect because Naive Bayes assumes feature independence but does not assume that all features are equally important. Therefore, the correct answer is Option B: Assumes that all the features in a dataset are independent.
💡Key Conceptual Anchor:Machine Learning
Question 34 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
KDD represents extraction of
Correct Answer: Option B — knowledge
Detailed Academic Explanation:
KDD stands for Knowledge Discovery in Databases. It represents the process of extracting useful knowledge or information from large volumes of data. This process involves various steps such as data cleaning, data preprocessing, data mining, and interpretation of the results to extract valuable insights or knowledge from the data. Therefore, the correct answer is Option B: knowledge.
💡Key Conceptual Anchor:Machine Learning
Question 35 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Linear Regression is a . . . . . . . . machine learning algorithm.
Correct Answer: Option A — supervised
Detailed Academic Explanation:
Linear Regression is a supervised machine learning algorithm. In supervised learning, the algorithm learns from labeled data, where each example in the training dataset consists of input features and their corresponding target labels. In the case of linear regression, the algorithm learns to predict a continuous target variable based on one or more input features. Therefore, the correct answer is Option A: supervised.
💡Key Conceptual Anchor:Machine Learning
Question 36 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
You are given reviews of few netflix series marked as positive, negative and neutral. Classifying reviews of a new netflix series is an example of
Correct Answer: Option A — supervised learning
Detailed Academic Explanation:
In supervised learning, the model is trained on a labeled dataset, where each input (in this case, the Netflix reviews) is associated with a corresponding output label (positive, negative, or neutral). The goal is to teach the model to predict the correct label for new, unseen data based on the patterns it learned from the labeled examples. Supervised learning uses labeled data to train the model, and the model is evaluated based on how accurately it classifies new, unlabeled data. In this case, since the reviews are already labeled as positive, negative, or neutral, this is a typical example of supervised learning.
💡Key Conceptual Anchor:Machine Learning
Question 37 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
This clustering algorithm initially assumes that each data instance represents a single cluster.
Correct Answer: Option A — agglomerative clustering
Detailed Academic Explanation:
Agglomerative clustering is a type of hierarchical clustering technique. Initially , each data instance is considered as a separate cluster. Clusters are merged step by step based on a defined similarity measure. This process continues until all data points form a single cluster or meet a stopping criterion. Key Point: It is a bottom-up approach to clustering.
💡Key Conceptual Anchor:Machine Learning
Question 38 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
100 people are at party. Given data gives information about how many wear pink or not, and if a man or not. Imagine a pink wearing guest leaves, what is the probability of being a man Given Data: Man Not a Man Total Wearing Pink 20 30 50 Not Wearing Pink 30 20 50 Total 50 50 100
Correct Answer: Option A — 0.4
Detailed Academic Explanation:
Given Data: The question asks for the probability that a pink-wearing guest is a man . Therefore, we consider only the guests who are wearing pink. There are 50 pink-wearing guests , out of whom 20 are men . Conditional Probability: P(Man | Pink) = Number of Pink-wearing Men / Total Number of Pink-wearing Guests = 20 / 50 = 0.4 Therefore, the probability that a pink-wearing guest is a man is 0.4 . Hence, the correct answer is Option A: 0.4.
💡Key Conceptual Anchor:Machine Learning
Question 39 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The probability that a person owns a sports car given that they subscribe to automotive magazine is 40%. We also know that 3% of the adult population subscribes to automotive magazine. The probability of a person owning a sports car given that they don't subscribe to automotive magazine is 30%. Use this information to compute the probability that a person subscribes to automotive magazine given that they own a sports car
Correct Answer: Option D — 0.0396
Detailed Academic Explanation:
0.0396 is the correct answer to “The probability that a person owns a sports car given that they subscribe to automotive magazine is 40%. We also know that 3% of the adult population subscribes to automotive magazine. The probability of a person owning a sports car given that they don't subscribe to automotive magazine is 30%. Use this information to compute the probability that a person subscribes to automotive magazine given that they own a sports car”. This question is standard in competitive examination syllabi for Machine Learning.
💡Key Conceptual Anchor:Machine Learning
Question 40 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which among the following statements best describes our approach to learning decision trees
Correct Answer: Option B — identify the best approximation of the above by the greedy approach (to identifying the partitions)
Detailed Academic Explanation:
identify the best approximation of the above by the greedy approach (to identifying the partitions) is the correct answer to “Which among the following statements best describes our approach to learning decision trees”. 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.