wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AI QUIZ

Total questions: 100

Worksheet time: 2hrs 40mins

Name
Class
Date
1.

Identify the Problem:

We have Information of all previous general elections with respect to party, votes, Candidates, Locality, Issues in nation, etc. With All this information we need to find the winner of next general election.

a)

Classification

b)

Regression

c)

Clustering

d)

none of them

2.

Identify the problem:

We have information of all houses in a particular area like size, type and design of house, locality, colour, previous purchase etc. on the basis of these data we have to find the price of a particular house.

a)

Classification

b)

Regression

c)

Clustering

d)

Prbabilistic

3.

Identify a problem:

You have details of corona affected positive cases found in various regions. Depending upon parameters like number of increasing corona infected patients, weather conditions etc. regions are classified into red zone, Green zone and Orange Zone. On the basis of these data we have to predict the region of a city.

a)

classification

b)

regression

c)

clustering

d)

unsupervised learning

4.

State whether True or False

The most meaningful and interpretable principal components are those that have the largest eigenvalues

a)

True

b)

False

5.

Cross validation is used for

a)

Comparing predictors

b)

Selecting parameters in prediction function

c)

Selecting variables to include in a model

d)

All of the mentioned

6.

State True or False

For k cross-validation, larger k value implies more bias.

a)

True

b)

False

7.

which of the following is not a method of cross validation?

a)

Leave One Out CV

b)

K-Fold CV

c)

Stratified K-Fold CV

d)

Timeline CV

8.

If I am using all features of my dataset and I achieve 100% accuracy on my training set, but ~70% on validation set, what should I look out for?

a)

Overfitting

b)

Underfitting

c)

Bestfitting

9.

Give the correct Answer for following statements.

1. It is important to perform feature normalization before using the Gaussian kernel.

2. The maximum value of the Gaussian kernel (i.e., ) is 1.

a)

Statement 1 is True and 2 is False

b)

Statement 1 is False and 2 is True

c)

Both statements are False

d)

Both Statements are True

10.

Which is/are method to do multiclass classification?

a)

One Vs Rest

b)

One vs One

c)

All vs One

d)

One vs Other

11.

Following is Linear SVM classifier with 2 class classification problem. Now you have been given the following data in which some points are circled red that are representing support vectors.

If you remove the following any one red points from the data. Will the decision boundary change?

a)

True

b)

False

12.

Suppose you are dealing with 4 class classification problem and you want to train a SVM model on the data for that you are using One-vs-all method. Now, say for training 1 time in one vs all setting the SVM is taking 10 second. How many seconds would it require to train one-vs-all method end to end?

a)

20

b)

40

c)

80

d)

60

13.

For evaluating regression models, which of the following metrics can not be used ?

a)

R Squared

b)

Adjusted R Squared

c)

SSE

d)

MST

14.

Suppose that we have N independent variables (X1,X2… Xn) and dependent variable is Y. Now Imagine that you are applying linear regression.You found that correlation coefficient for one of it’s variable(Say X1) with Y is -0.95.

Which of the following is true for X1?

a)

Relation between the X1 and Y is weak

b)

Relation between the X1 and Y is strong

c)

Relation between the X1 and Y is nutral

d)

Correlation can’t judge the relationship

15.

Suppose that you have a dataset D1 and you design a linear regression model of degree 3 polynomial and you found that the training and testing error is “0” or in another terms it perfectly fits the data.

What will happen when you fit degree 4 polynomial in linear regression?

a)

There are high chances that degree 4 polynomial will over fit the data

b)

There are high chances that degree 4 polynomial will under fit the data

c)

Can't Predict

d)

None of these

16.

Which of the following function is used by Logistic Regression to convert the probability in between [0,1]

a)

Sigmoid

b)

polynomial

c)

square

d)

rbf

17.

Regarding Bias and Variance ,which of the following statement is True?

a)

Model which overfit has high bias and high variance

b)

Model which overfits have Low bias and low variance

c)

Model which overfits has high Bias and Low variance

d)

Model which overfits has low Bias and High Variance

18.

Which of the following is true about Lasso and Ridge Regression?

a)

Ridge regression uses subset selection of features

b)

Lasso regression uses subset selection of features

c)

Both uses subset selection of features

d)

None of them are used for subset selection of features

19.

Identify Performance measure P from following Traffic Pattern Analysis Algorithm.

a)

Predict traffic patterns at a busy intersection

b)

Tune Model with data about past traffic patterns

c)

Predict future traffic patterns

d)

None of the above

20.

Select All prime reasons for using unsupervised Machine Learning Algorithms.

a)

Finds all kind of unknown patterns in data.

b)

Help you to find features which can be useful for categorization.

c)

Help you to Predict whether a fruit is apple or not

d)

Help you to predict prize of stock

21.

Consider the above Confusion Matrix of a classifier and choose the correct statements

a)

Accuracy is 84%

b)

Misclassification Rate is 16%

c)

Type-I Error is 6

d)

Type-II Error is 10

22.

What is Machine learning?

a)

The autonomous acquisition of knowledge through the use of computer programs

b)

he autonomous acquisition of knowledge through the use of manual programs

c)

The selective acquisition of knowledge through the use of computer programs

d)

The selective acquisition of knowledge through the use of manual programs

23.

__________________ algorithms enable the computers to learn from data, and even improve themselves, without being explicitly programmed.

a)

Artificial Intelligence

b)

Machine Learning

c)

Deep Learning

d)

Traditional Learning

24.

What device below is not an example of Machine Learning?

a)

Wearable fitness tracker

b)

Google Assistant

c)

Speech to Text

d)

Google Search

e)

None of the above

25.

_______________________ is a category of an algorithm that allows software applications to become more accurate in predicting outcomes without being explicitly programmed.

a)

Artificial Intelligence

b)

Machine Learning

c)

Deep Learning

d)

Traditional Learning

26.

Who is the Chess grand master beaten in a game by I.B.M.'s system?

a)

Gary Kapov

b)

Garry Kasper

c)

Gary Kasparov

d)

Gary Kerpov

27.

What are the three types of Machine Learning? Choose three.

a)

Supervised Learning

b)

Learning Differentiated

c)

Unsupervised Learning

d)

Reinforcement Learning

e)

Technical Learning

28.

What are the two types of Supervised Learning?

a)

Classification

b)

Declassification

c)

Progression

d)

Regression

29.

What are the two types of Unsupervised Learning?

a)

Loitering

b)

Clustering

c)

Association

d)

Dissociation

30.

In this type of Machine Learning, an AI system is presented with unlabeled, uncategorized data and the system’s algorithms act on the data without prior training. The output is dependent upon the coded algorithms.

a)

Supervised Learning

b)

Unsupervised Learning

c)

Reinforcement Learning

d)

Technique Learning

31.

Tom Mitchell of Carnegie Mellon University said that, "A computer program is said to learn from experience E with respect to some "T" and some performance measure P, if its performance on T, as measured by P, improves with experience E." What is "T"?

a)

Time

b)

Test

c)

Task

d)

Temper

32.

What is Machine Learning? (Choose 3 Answers)

a)

Artificial Intelligence

b)

Machine Learning

c)

Data Statistics

d)

Deep Learning

33.

What kind of learning algorithm for "Future stock prices or currency exchange rates"?

a)

Recognizing Anomalies

b)

Prediction

c)

Generating Patterns

d)

Recognition Patterns

34.

Which of the following is not type of learning?

a)

Semi-unsupervised Learning

b)

Unsupervised Learning

c)

Supervised Learning

d)

Reinforcement Learning

35.

This picture shows an application of ...

a)

Supervised Learning: Classification

b)

Unsupervised Learning: Clustering

c)

Unsupervised Learning: Prediction

d)

Supervised Learning: Regression

36.

Field of study that gives computers the ability to learn without being explicitly programmed.

a)

Deep Learning

b)

Machine Learning

c)

Data Science

37.
Artificial Intelligence is the process that allows computers to learn and make decisions like humans
a)
True
b)
False
38.

What would make a robot intelligent?

a)

It responds to the environment.

b)

It responds to the environment according to previous experiences.

c)

It calculates mathematical problems faster than human minds.

d)

It can jump 1.5 meters higher than humans.

39.

A major benefit of an machine with AI is

a)

it could do a job too dangerous for a human

b)

it could love you like a brother

c)

it could chop up your vegetables

40.

A major benefit of an machine with AI is

a)

it could do a job too dangerous for a human

b)

it could love you like a brother

c)

it could chop up your vegetables

41.

A major benefit of an machine with AI is

a)

it could do a job too dangerous for a human

b)

it could love you like a brother

c)

it could chop up your vegetables

42.

A major benefit of an machine with AI is

a)

it could do a job too dangerous for a human

b)

it could love you like a brother

c)

it could chop up your vegetables

43.
Artificial Intelligence is the process that allows computers to learn and make decisions like humans
a)
True
b)
False
44.
In computer science what does AI stand for?
a)
Artificial Instrument
b)
Artificial Intelligence
45.

What would make a robot intelligent?

a)

It responds to the environment.

b)

It responds to the environment according to previous experiences.

c)

It calculates mathematical problems faster than human minds.

d)

It can jump 1.5 meters higher than humans.

46.

A major benefit of an machine with AI is

a)

it could do a job too dangerous for a human

b)

it could love you like a brother

c)

it could chop up your vegetables

47.

What is Machine Learning? (Choose 3 Answers)

a)

Artificial Intelligence

b)

Machine Learning

c)

Data Statistics

d)

Deep Learning

48.

What kind of learning algorithm for "Future stock prices or currency exchange rates"?

a)

Recognizing Anomalies

b)

Prediction

c)

Generating Patterns

d)

Recognition Patterns

49.

What kind of learning algorithm for "Facial identities or facial expressions"?

a)

Recognizing Anomalies

b)

Prediction

c)

Generating Patterns

d)

Recognition Patterns

50.

Which of the following is not type of learning?

a)

Semi-unsupervised Learning

b)

Unsupervised Learning

c)

Supervised Learning

d)

Reinforcement Learning

51.

This picture shows an application of ...

a)

Supervised Learning: Classification

b)

Unsupervised Learning: Clustering

c)

Unsupervised Learning: Prediction

d)

Supervised Learning: Regression

52.

Field of study that gives computers the ability to learn without being explicitly programmed.

a)

Deep Learning

b)

Machine Learning

c)

Data Science

53.

What is Machine learning?

a)

The autonomous acquisition of knowledge through the use of computer programs

b)

The autonomous acquisition of knowledge through the use of manual programs

c)

The selective acquisition of knowledge through the use of computer programs

d)

The selective acquisition of knowledge through the use of manual programs

54.

Different learning methods does not include?

a)

Memorization

b)

Analogy

c)

Deduction

d)

Introduction

55.

Machine Learning is a branch of..

a)

AI

b)

Java

c)

c

d)

c++

56.

ANN is related to ...

a)

ML

b)

AI

c)

Deep Learning

d)

Java

57.

____is responsible for 2D structures

a)

Numpy

b)

panda

c)

matplotlib

d)

sklearn

58.

The equation of line is ...

a)

y=mx+c

b)

m=ab+cf

c)

p=ann

d)

AI=DL+ML

59.

The most widely used metrics and tools to assess a classification model are:

a)

Confusion matrix

b)

Cost-sensitive accuracy

c)

Area under the ROC curve

d)

All of the above - answer

60.

A computer system can use it to perform a task without using instructions from us, relying on patterns and inference instead.

a)

Algorithm

b)

Machine Learning

c)

Deep Learning

d)

Neural Network

61.

What would make a robot intelligent?

a)

It responds to the environment.

b)

It calculates mathematical problems faster than human minds.

c)

It responds to the environment according to previous experiences.

d)

It can jump 2 meters higher than humans.

62.

Type of machine learning algorithm used to infer information from data without input from humans. In other words, learning without a teacher.

a)

Dataset

b)

Supervised learning

c)

Unsupervised learning

d)

Classifiers

63.

All data is labeled and the algorithms learn to predict the output from the input data. In other words, giving concrete known examples to the computer.

a)

Dataset

b)

Supervised learning

c)

Unsupervised learning

d)

Classifiers

64.

In a classification problem, the outputs are

a)

categorical or discrete

b)

numerical or continuous

65.

In a regression problem, the outputs are

a)

categorical or discrete

b)

numerical or continuous

66.

The data is split according to a certain requirements

a)

Sentiment analysis

b)

Reinforcement learning

c)

Decision tree learning

d)

Predictive models

67.

To identify and categorize opinions in text, in order to work out if the writer's attitude is positive, negative, or neutral.

a)

Predictive model

b)

Reinforcement learning

c)

Sentiment analysis

d)

Decision tree learning

68.

To validate a model, you use the (a)   dataset.

69.

In visualization shown above, fit of three different models (in blue line) on same training data. What can you conclude from these visualizations?

1) The training error in first model is higher when compared to second and third model.

2) The best model for this regression problem is the last (third) model, because it has minimum training error.

3) The second model is more robust than first and third because it will perform better on unseen data.

4) The third model is overfitting data as compared to first and second model.

5) All models will perform same because we have not seen the test data.

a)

1 and 3

b)

1 and 2

c)

1, 3 and 4

d)

Only 5

70.

The Goal of model tuning is to find a model _______

a)

That is at least 95% accurate on the training data set

b)

That takes less than 30 minutes to train and validate

c)

That makes you feel like you are a true machine learning expert

d)

That is at the sweet spot between a simple working model and a very complex one

71.

The Ideal model have : ….. (you may select multiple answers)

a)

Low variance

b)

High variance

c)

Low bias

d)

High bias

72.

A collection of individual models that learn to predict a target by combining their strengths and avoiding the weaknesses of each is called ________

a)

A Collection

b)

An Ensemble

c)

A Group

d)

A Fusion

73.

Which among the below options are types of Feature engineering? (May choose multiple answers)

a)

Replacing missing value

b)

Getting mean value from a group of entities

c)

Extracting city from home address

d)

Changing hyper-parameter values

74.

Confusion matrix gives you a more complete picture of how your classifier is performing.

Compute the following from the confusion matrix: Accuracy

a)

87.54

b)

92.12

c)

90.90

d)

91.16

75.

Compute the following from the confusion matrix: Sensitivity

a)

95.23

b)

91.78

c)

85.91

d)

87.51

76.

Compute the following from the confusion matrix: Specificity

a)

81.52

b)

83.89

c)

82.78

d)

83.33

77.

Compute the following from the confusion matrix: Precision

a)

90.90

b)

91.86

c)

91.87

d)

93.42

78.

Compute the following from the confusion matrix: F-measure

a)

92.97

b)

92.48

c)

91.85

d)

93.02

79.

How do you reduce both types I and II errors from occurring?

a)

It can't be reduced

b)

Increase the sample size

c)

Redo the tests

d)

Tamper with the data

80.

If you use data 1990-2013 to fit the model and then you forecast for 2011-2013, it's _________ prediction. But if you only use 1990-2010 for fitting the model and then you predict 2011-2013, then its __________ prediction.

a)

out-of-sample, in-sample

b)

in-sample, out-of-sample

c)

time series sample, test sample

d)

training sample, out-of-range sample

81.

______ is the process of identifying unexpected items in datasets, which differ from the norm.

a)

Reinforcement learning

b)

Classification

c)

Clustering

d)

Anomaly detection

82.

According to Tom Mitchell, what is the requirement for the computer system to learn

a)

Data set

b)

Task

c)

Performance measure

d)

Knowledge

83.

Machine learning is mostly used when

a)

Human expertise doesn't exist

b)

Model must be customised to personal need

c)

Model use huge amount of data

d)

Interpreting the insight from descriptive data such as mean, median etc

84.

Select a possible application of the machine learning

a)

Fraud detection

b)

Recognising a happy face

c)

Differentiate X-ray image

d)

Recognise your lecturer's hand writing

85.

To recognise the face as an object, the image of face is breakdown into combination of edges, edges, and pixel.

a)

True

b)

False

86.

What is the implication of "false positive" increase to the precision measure

a)

increase precision

b)

decrease precision

c)

doesn't has any effect to precision

87.

What is the implication of decreasing "false negative" to the recall measure

a)

decreasing recall

b)

increasing recall

c)

doesn't have any effect to recall

88.

In the case of pregnancy prediction, if the predictor output is always "pregnant" what is the recall value?

a)

1

b)

0

c)

0.1

d)

Undefined

89.

In the case of pregnancy prediction, if the predictor output is always "not pregnant" what is the precision value?

a)

1

b)

0

c)

0.5

d)

Undefined

90.

The unsupervised learning is better used for prediction

a)

True

b)

False

91.

Artificial neural network consists of following fundamental components

a)

Neurons as nodes

b)

Synapses as weight

c)

Neurons as weight

d)

Synapses as nodes

92.

Supervised learning used rewards, training data, and desired output

a)

True

b)

False

93.

Suppose your email program watches which emails you do or do not mark as spam, and based on that learns how to better filter spam. What is the task T in this setting?

a)

Classifying emails as spam or not spam

b)

Watching you label emails as spam or not spam

c)

The number of emails correctly classified as spam/not spam

d)

None of the above

94.

You are running a company and you want to develop learning algorithms to address each of two problems.

Problems 1: you have a large inventory of identical items. you want to predict how many of these items will sell over the next 3 months.

Problem 2: you would like software to examine individual customer accounts and for each account decide if it has been hacked/compromised.

Should you treat these as classification or as regression problems?

a)

Treat both as classification problems

b)

Treat problem 1 as classification and problem 2 as regression

c)

Treat problem 1 as regression and problem 2 as classification

d)

Treat both as regression problems

95.

Of the following examples, which would you address using an unsupervised learning algorithm? check all that apply

a)

Given email labeled as spam/not spam, learn a spam filter

b)

Given a set of news articles found on the web, group them into set of articles about the same story

c)

Given a database of customer data, automatically discover market segments and group customers into different market segments

d)

Given a dataset of patients diagnosed as either having diabetes or not, learn to classify new patients as having diabetes or not

96.

In the "model representation", Andrew Ng uses variable "m" to represent

a)

number of training example

b)

input variable

c)

output variable

d)

feature

97.

Which keyword is used to define a function in Python?

a)

def

b)

function

c)

define

d)

func

98.

Which of these is better suited to be solved using regression?

a)

The price of a house based on its area and distance from metro

b)

Whether a house is closer than 5Kms based on its price and area.

99.

What is the primary goal of using a confusion matrix in classification problems?

a)

To determine the feature importance

b)

To calculate the accuracy of a model

c)

To optimize hyperparameters

d)

To visualize the performance of a model

100.

What is the primary goal of reinforcement learning?

a)

To group similar data points

b)

To maximize cumulative reward

c)

To predict future outcomes

d)

To classify data into categories