Machine learning MCQs

Machine learning MCQs

The following Machine learning MCQs have been compiled by our experts through research, in order to test your knowledge of the subject of Machine learning. We encourage you to answer these multiple-choice questions to assess your proficiency.
Please continue by scrolling down.

1:
In relation to machine learning, XGBoos it provides interfaces for which of the following options?
i) C++
ii) R
iii) Python
iv) Julia

A.  

All options 1). ii). iii). and iv)

B.  

Only options i). ii). and iii)


C.  

Only options i) and in

D.  

Only options i) and iii)

2:

What is the time complexity for breadth-f‌irst search algorithm? Given, d = depth.

A.  

bd 

B.  

O bd/2

C.  

O bd/3

D.  

O bd/4

3:

What will be the output of the following code in MATLAB?
z = [3 4 -2 6]:
Q = [6 8; 9 -4];
polyva|m(z, Q)

A.  

ans:
1802 3448
1754 158  


B.  

ans =
2802 2448
2754 -258 

C.  

ans =
2726 2536
2759 -254

D.  

ans =
2815 2496
2704 -222

4: Which of the following statements is/are correct about an Artif‌icial Neural Network (ANN)?

A.   The behaviour of an ANN is dependent on the weights that are specified for the units.

B.   The behaviour of an ANN is dependent on the transfer function that is specif‌ied for the units.

C.   Only (Dis correct.

D.   Only (ii)is correct.

E.   Both (i)and (ii)are correct.

F.   Neither (i)nor (ii)is correct

5: Which of the following statements is/ are correct about the Vowpal Wabbit?

A.   It does not allow the use of non-linear features.

B.   It can be used as a machine learning option in Microsoft Azure.

C.   Both options a and b

D.   Neither option 8 nor b

6:

In relation to machine learning, which of the following options is the DevOps tool for many real time monitoring dashboards of time series metrics?


A.  

Grafana 

B.  

Kibana

C.  

JupyterLab

D.  

Zepplein

7: Which of the following capabilities do Expert Systems possess?

A.   Substituting human decision makers.

B.   Predicting results.

C.   Refining their own knowledge

D.   Possessing human capabilities.

8: Which of the following is incorrect about machine learning?

A.   It does not require a human expert or programmer.

B.   It is cheap and f‌lexible.

C.   It does not require labeled data.

D.   It is used in pattern recognition.

9:

Which of the following methods attempts to fit the new predictor to the residual errors that has been made by the previous predictor?


A.  

AdaBoost 

B.  

Gradient Boosting

C.  

None of the above.

10:

Which of the following options is a Python library that allows the user to def‌ine, optimize, and evaluate the mathematical expressions, especially the ones with multi-dimensional arrays?


A.  

Torch 

B.  

Theano 

C.  

Shogun

D.  

Pattern

11: Simulation is appropriate under which of the following conditions?

A.   If cost exceeds savings.

B.   If a plan is visualized with animated simulation.

C.   If resource/time is not available.

D.   If system behavior is very complex.

12: Which of the following is a machine learning tool with application programming interface for C?

A.   Deeplearning4j

B.   LIBSVM

C.   Waff‌les

D.   GoLearn

13: Verification uses gray-box testing method.

A.   True

B.   False

14: In relation to machine learning classif‌ication, which of the following options is the correct way for defining recall?

A.   True Positive/ (True Positive + False Negative)

B.   True Positive/ (False Positive + False Negative)

C.   True Positive/ (True Positive + False positive)

D.   True Positive/ (True Negative + False Negative)

15: Which of the following types of data can be handled by the decision tree algorithm used for classification?

A.   Numerical data

B.   Categorical data

C.   Both numerical and categorical data

16:

in relation to machine learning classification, which of the following is an ensemble algorithm based on bagging?


A.  

Random Forest 

B.  


Naive Bayes


C.  

Decision Trees

D.  

SVM

17:

Which of the following elements of a typical reinforcement learning algorithm def‌ines the goals of a learner as a numerical value?


A.  

A model of the environment.

B.  

A value function.   

C.  

A reward function.   

D.  

A policy.

18: Which of the following simulation tools rely on a transaction-flow approach toward modeling systems?

A.   Hybrid simulator

B.   Continuous simulator

C.   Discrete event simulator

D.   Agent-based simulator

19: What is the accuracy of the Logistic Regression classif‌ication algorithm?

A.   80.11%

B.   82.53%

C.   84.60%

D.   86.27%

20:

Which of the following machine learning techniques are implemented by Apache Mahout?


(i)Classification


(ii)Clustering


(iii)Recommendation


A.  

Only (nand (ii)

B.  

Only (ii)and (iii) 

C.  

Only (f‌iand (iii)

D.  

All (i), (ii)and Gil)

21: Which of the following is/ are the large margin classifier(s)?

A.   SVM

B.   Boosting

C.   Both SVM and Boosting

22:

What will be the output of the following code in MATLAB?

M=(864;372;193]

N = circshift(M,[-1 2])


A.  

M=

8 6 4

3 7 2

1 9 3

N=

2 3 7

3 1 9

4 8 6 


B.  

M:

8 6 4

3 7 2

1 9 3

N=

7 2 3

9 3 1

6 4 8 

C.  

M:
864
372
193
N:
732
913
684

D.  

M:
864
372
193
N:
139
327
846

23:

What will be the output of the following code in MATLAB?

Z=[428;735;612]

sort(Z, 1)


A.  

 Z:

4 2 8

7 3 5

6 1 2

ans=

2 4 8

3 5 7

1 2 6

B.  

 z:

4 2 8

7 3 5

6 1 2

ans=

4 2 8

6 1 2

7 3 5  


C.  

z:

428

735

612

ans=

412

625

738

D.  

Z  =

428

735

612

ans=

126

248

357


24: With respect to Data Mining Query Language, which of the following is the syntax for characterization?

A.   mine characteristics [ as [pattern_name)]

B.   {matching {metapattern}}

C.   mine characteristics [as pattern_name]

D.   analyze classifying_attribute_or_dimension

E.   O mine characteristics [as pattern_name] analyze [measure(s)}

F.   mine Characteristics [as pattern_name] analyze prediction_attribute_or_dimension

G.   {set [attribute_or_dimension_i= value_i}]

25:

Which of the following data warehousing approaches is/are used to integrate heterogeneous databases?

(i)Ouery-driven approach

(ii)Update-driven approach


A.  

Only (i)   

B.  

Only (ii) 

C.  

Both (i)and (ii)

D.  

Neither (i)nor (ii)

26:

Which of the following SimPy function calls is/are used in marking a thread as runnable when it is first created?


A.  

activateO 

B.  

simulateo

C.  

reactivateo

D.  

Both a and b

27: Which of the following is NOT an advantage of simulation modelling and analysis?

A.   Multiple performance metrics to analyze system configurations.

B.   Identification of bottlenecks in the flow of information.

C.   Test hypotheses of the system for feasibility.

D.   Excellent schedule and budget planning.

E.   Decision tree algorithm is a type of:

F.   Decision tree algorithm is a type of:

G.   Supervised learning.

H.   unsupervised learning.

I.   reinforcement learning.

28: Which of the following statements is/are correct about unsupervised machine learning?

A.   Its algorithms learn to predict the output from input data.

B.   Its algorithms learn to inherent the structure from input data.

C.   It is used against data that has historical labels.

D.   Both b and c are correct.

29: Logistic regression can be used with which of the following types of dependent variables?

A.   Integer

B.   Float

C.   Binary (Yes/No response)

D.   All of the above.

30: Which ofthe following boosting algorithms implements regularization that helps in reducing overfitting?

A.   XGBoost

B.   AdaBoost

C.   Gradient Boost

D.   Neither of the above.

31: What is the accuracy of Naive Bayes algorithm used for classif‌ication?

A.   78.93%

B.   83.25%

C.   80.11%

D.   86.72%

32:

Which of the following SimPy operations is used for indicating the passage of a certain amount of time within a thread?


A.  

yield request

B.  

yield release 

C.  

yield hold    

D.  

yield passivate

33:

Which of the following is a Python tool that extends the functionality of NumPy and SciPy packages and provides functions for performing classif‌ication. regression, clustering and dimensionality reduction,

model selection. and preprocessing?


A.  

RapidMiner  

B.  

Weka3 

C.  

Scikit-Learn    

D.  

Shogun

34: Which of the following statements is/ are correct about the C45 classification technique?

A.   It can deal with both continuous features as well as discrete features.

B.   It can be used for small as well as large datasets.

C.   It has low processing time.

D.   All of the above.

35: Which of the following algorithms does not scale up well as compared to the other for very large datasets?

A.   LibLinear

B.   Vowpal Wabbit

C.   LibSVM

D.   All of the above scale very well for large datasets.

36: What is the function of ridge regression?

A.   It uses L1 regularization.

B.   It is used when data suffers from multi-collinearity.

C.   It shrinks coefficients to zero.

D.   It uses absolute values in the penalty function.

37: Simulation languages offer less flexibility than application-oriented simulators.

A.   True

B.   False

38:

Which of the following is NOT a characteristic of the NlCeSim simulator, which uses machine learning techniques?


A.  

Flexible 

B.  

Static 

C.  

Open-source

D.  

Dynamic

39: Which of the following statements is correct about validation?

A.   It uses black-box and white-box testing.

B.   It does not execute a code.

C.   It involves human-based checking of files and documents.

D.   It is a static mechanism.

40: In relation to artificial neural network, which of the following options is designed for working with sequence prediction problems?

A.   Multilayer Perceptrons (MLPs)

B.   Convolutional Neural Networks (CNNs)

C.   Recurrent Neural Networks (RNNs)

D.   None of the above.

41:

In relation to artificial neural network, the Recurrent Neural Networks (RNN), should NOT be used for which of the following types of data?


A.  

Speech data  

B.  

Generative Model 

C.  

Tabular data  

D.  

Text data

42: Which of the following is NOT applicable to speech recognition application in machine learning?

A.   It is used in hands-free computing.

B.   It aims to understand and comprehend the spoken word.

C.   It is used in menu navigation.

D.   It is speaker-dependent.

43: ln machine learning, logistic regression:

A.   requires a linear relationship between independent and dependent variables.

B.   supports multi-collinearity.

C.   requires small sample sizes.

D.   is used for classif‌ication problems.

44:

Which of the following techniques can be used for solving the attribute conditional density estimation problem in the Bayesian Network classif‌ication method?


A.  

Decision-tree structured conditional probability   

B.  

Greedy learning algorithm  

C.  

Prototype selection

D.  


Gaussian kernel function  


45:

Choose the answer to the following question from the options given in the image.

In machine learning, which of the given functions in the image is used to measure the size of vectors?

A.  


B.  

B

C.  

C

D.  

46:

In the SVM classif‌ication approach, which of the following options is used for solving the issue of the low-sparse SVM classifier?


A.  

Risk area SVM 

B.  

Fuzzy SVMs 

C.  

Cluster Support Vector Machine   

D.  

Prototype selection

47: Which of the following defines the F-score measure to assess the quality of text retrieval?

A.   F-score = recall x precision / (recall - precision)/ 2

B.   F-score = |[Relevant} f‌l {Retrieved}l / l[Retrieved]l

C.   F-score = |{Relevant} fl [Retrieved}l / l[Relevant]|

D.   F-score = recall x precision / (recall + precision)/ 2

48:

Which of the following tools is used for processing, analyzing and visualizing the large data sets and can provide native support for Apache Spark distributed computing?


A.  

Zeppelin 

B.  

Jupyter

C.  

Kibana

D.  

Tableau

49: Which of the following is NOT a multi-class classif‌ier?

A.   Classif‌ication of spam and non-spam emails

B.   Classif‌ication of crop types

C.   Classif‌ication of mood

D.   All of the above are multi-class identif‌iers.

50: A multi-layer perceptron (MLP)is a:

A.   finite cyclic graph.

B.   inf‌inite cyclic graph

C.   inf‌inite acyclic graph

D.   finite acyclic graph.