Explore topic-wise MCQs in Artificial Intelligence.

This section includes 940 Mcqs, each offering curated multiple-choice questions to sharpen your Artificial Intelligence knowledge and support exam preparation. Choose a topic below to get started.

251.

Conditional probability is a measure of the probability of an event given that another

A. true
B. false
Answer» B. false
252.

In given image, P(H)is                  probability.

A. posterior
B. prior
Answer» C.
253.

In given image, P(H|E) is                  probability.

A. posterior
B. prior
Answer» B. prior
254.

Bayes Theorem is given by where 1. P(H) is the probability of hypothesis H being true.2. P(E) is the probability of the evidence(regardless of the hypothesis).3. P(E|H) is the probability of the evidence given that hypothesis is true.4. P(H|E) is the probability of the hypothesis given that the evidence is there.

A. true
B. false
Answer» B. false
255.

Features being classified is                    of each other in Nave Bayes Classifier

A. independent
B. dependent
C. partial dependent
D. none
Answer» B. dependent
256.

Features being classified is independent of each other in Nave Bayes Classifier

A. false
B. true
Answer» C.
257.

Naive Bayes classifiers is                             Learning

A. supervised
B. unsupervised
C. both
D. none
Answer» B. unsupervised
258.

Naive Bayes classifiers are a collection------------------of algorithms

A. classification
B. clustering
C. regression
D. all
Answer» B. clustering
259.

Suppose you plotted a scatter plot between the residuals and predicted values in linear regression and you found that there is a relationship between them. Which of the following conclusion do you make about this situation?

A. a)since the there is a relationship means our model is not good
B. b)since the there is a relationship means our model is good
C. c)cant say
D. d)none of these
Answer» B. b)since the there is a relationship means our model is good
260.

Which of the following statement is true about outliers in Linear regression?

A. a)linear regression is sensitive to outliers
B. b)linear regression is not sensitive to outliers
C. c)cant say
D. d)none of these
Answer» B. b)linear regression is not sensitive to outliers
261.

Overfitting is more likely when you have huge amount of data to train?

A. true
B. false
Answer» C.
262.

Which of the following is true about Residuals ?

A. lower is better
B. b)higher is better
C. c)a or b depend on the situation
D. d)none of these
Answer» B. b)higher is better
263.

Which of the following methods do we use to find the best fit line for data in Linear Regression?

A. a)least square error
B. b)maximum likelihood
C. logarithmic loss
D. both a and b
Answer» B. b)maximum likelihood
264.

It is possible to design a Linear regression algorithm using a neural network?

A. true
B. false
Answer» B. false
265.

Linear Regression is a supervised machine learning algorithm.

A. true
B. false
Answer» B. false
266.

In the mathematical Equation of Linear Regression Y?=??1 + ?2X + ?, (?1, ?2) refers to

A. (x-intercept, slope)
B. (slope, x-intercept)
C. (y-intercept, slope)
D. (slope, y-intercept)
Answer» D. (slope, y-intercept)
267.

In syntax of linear model lm(formula,data,..), data refers to

A. matrix
B. vector
C. array
D. list
Answer» C. array
268.

Function used for linear regression in R is

A. lm(formula, data)
B. lr(formula, data)
C. lrm(formula, data)
D. regression.linear(formula, data)
Answer» B. lr(formula, data)
269.

In a simple linear regression model (One independent variable), If we change the input variable by 1 unit. How much output variable will change?

A. by 1
B. no change
C. by intercept
D. by its slope
Answer» E.
270.

Which of the following metrics can be used for evaluating regression models?i) R Squaredii) Adjusted R Squarediii) F Statisticsiv) RMSE / MSE / MAE

A. ii and iv
B. i and ii
C. ii, iii and iv
D. i, ii, iii and iv
Answer» E.
271.

If Linear regression model perfectly first i.e., train error is zero, then

A. test error is also always zero
B. test error is non zero
C. couldnt comment on test error
D. test error is equal to train error
Answer» D. test error is equal to train error
272.

adopts a dictionary-oriented approach, associating to each category label a progressive integer number.

A. labelencoder class
B. labelbinarizer class
C. dictvectorizer
D. featurehasher
Answer» B. labelbinarizer class
273.

In many classification problems, the target             is made up of categorical labels which cannot immediately be processed by any algorithm.

A. random_state
B. dataset
C. test_size
D. all above
Answer» C. test_size
274.

The parameter            allows specifying the percentage of elements to put into the test/training set

A. test_size
B. training_size
C. all above
D. none of these
Answer» D. none of these
275.

What are common feature selection methods in regression task?

A. correlation coefficient
B. greedy algorithms
C. all above
D. none of these
Answer» D. none of these
276.

Can a model trained for item based similarity also choose from a given set of items?

A. yes
B. no
Answer» B. no
277.

What is PCA, KPCA and ICA used for?

A. principal components analysis
B. kernel based principal component analysis
C. independent component analysis
D. all above
Answer» E.
278.

What would you do in PCA to get the same projection as SVD?

A. transform data to zero mean
B. transform data to zero median
C. not possible
D. none of these
Answer» B. transform data to zero median
279.

A feature F1 can take certain value: A, B, C, D, E, & F and represents grade of students from a college.Which of the following statement is true in following case?

A. feature f1 is an example of nominal variable.
B. feature f1 is an example of ordinal variable.
C. it doesnt belong to any of the above category.
D. both of these
Answer» C. it doesnt belong to any of the above category.
280.

performs a PCA with non-linearly separable data sets.

A. sparsepca
B. kernelpca
C. svd
D. none of the mentioned
Answer» C. svd
281.

Which of the following selects only a subset of features belonging to a certain percentile

A. selectpercentile
B. featurehasher
C. selectkbest
D. all above
Answer» B. featurehasher
282.

There are also many univariate methods that can be used in order to select the best features according to specific criteria based on              .

A. f-tests and p-values
B. chi-square
C. anova
D. all above
Answer» B. chi-square
283.

scikit-learn also provides a class for per- sample normalization, Normalizer. It can apply              to each element of a dataset

A. max, l0 and l1 norms
B. max, l1 and l2 norms
C. max, l2 and l3 norms
D. max, l3 and l4 norms
Answer» C. max, l2 and l3 norms
284.

If you need a more powerful scaling feature, with a superior control on outliers and the possibility to select a quantile range, there's also the class              .

A. robustscaler
B. dictvectorizer
C. labelbinarizer
D. featurehasher
Answer» B. dictvectorizer
285.

How it's possible to use a different placeholder through the parameter             .

A. regression
B. classification
C. random_state
D. missing_values
Answer» E.
286.

is much more difficult because it's necessary to determine a supervised strategy to train a model for each feature and, finally, to predict their value

A. removing the whole line
B. creating sub-model to predict those features
C. using an automatic strategy to input them according to the other known values
D. all above
Answer» C. using an automatic strategy to input them according to the other known values
287.

What is Test set?

A. test set is used to test the accuracy of the hypotheses generated by the learner.
B. it is a set of data is used to discover the potentially predictive relationship.
C. both a & b
D. none of above
Answer» B. it is a set of data is used to discover the potentially predictive relationship.
288.

What is Overfitting in Machine learning?

A. when a statistical model describes random error or noise instead of underlying relationship overfitting occurs.
B. robots are programed so that they can perform the task based on data they gather from sensors.
C. while involving the process of learning overfitting occurs.
D. a set of data is used to discover the potentially predictive relationship
Answer» B. robots are programed so that they can perform the task based on data they gather from sensors.
289.

Which of the following sentence is correct?

A. machine learning relates with the study, design and
B. data mining can be defined as the process in which the
C. both a & b
D. none of the above
Answer» D. none of the above
290.

During the last few years, many              algorithms have been applied to deep neural networks to learn the best policy for playing Atari video games and to teach an agent how to associate the right action with an input representing the state.

A. logical
B. classical
C. classification
D. none of above
Answer» E.
291.

Which of the following are supervised learning applications

A. spam detection, pattern detection, natural language processing
B. image classification, real-time visual tracking
C. autonomous car driving, logistic optimization
D. bioinformatics, speech recognition
Answer» B. image classification, real-time visual tracking
292.

if there is only a discrete number of possible outcomes (called categories), the process becomes a           .

A. regression
B. classification.
C. modelfree
D. categories
Answer» C. modelfree
293.

Reinforcement learning is particularly efficient when                         .

A. the environment is not completely deterministic
B. it\s often very dynamic
C. it\s impossible to have a precise error measure
D. all above
Answer» E.
294.

Commons unsupervised applications include

A. object segmentation
B. similarity detection
C. automatic labeling
D. all above
Answer» E.
295.

what is the function of Supervised Learning?

A. classifications, predict time series, annotate strings
B. speech recognition, regression
C. both a & b
D. none of above
Answer» D. none of above
296.

Common deep learning applications include

A. image classification, real-time visual tracking
B. autonomous car driving, logistic optimization
C. bioinformatics, speech recognition
D. all above
Answer» E.
297.

What is Training set?

A. training set is used to test the accuracy of the hypotheses generated by the learner.
B. a set of data is used to discover the potentially predictive relationship.
C. both a & b
D. none of above
Answer» C. both a & b
298.

What are the popular algorithms of Machine Learning?

A. decision trees and neural networks (back propagation)
B. probabilistic networks and nearest neighbor
C. support vector machines
D. all
Answer» E.
299.

How can you avoid overfitting ?

A. by using a lot of data
B. by using inductive machine learning
C. by using validation only
D. none of above
Answer» B. by using inductive machine learning
300.

According to        , its a key successfactor for the survival and evolution of all species.

A. claude shannon\s theory
B. gini index
C. darwins theory
D. none of above
Answer» D. none of above