wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Machine Learning Basics Worksheet

Total questions: 50

Worksheet time: 38mins

Name
Class
Date
1.

Aarush is a data scientist working on a project to categorize different types of fruits based on their characteristics. He needs to classify the fruits into various categories such as apples, bananas, and oranges. What is multiclass classification?

a)

Classifying data into only two categories

b)

Classifying data without labels

c)

Classifying data into more than two categories

d)

Reducing dimensionality of data

2.

Which of the following is a type of Machine Learning?

a)

Supervised Learning

b)

Unsupervised Learning

c)

Reinforcement Learning

d)

All of the above

3.

Which algorithm is used for classification problems?

a)

K-Means

b)

Linear Regression

c)

Logistic Regression

d)

PCA

4.

What does a confusion matrix show?

a)

Confusion in data

b)

Errors in model code

c)

Actual vs. predicted classifications

d)

None of the above

5.

Which of the following is a distance-based algorithm?

a)

Naive Bayes

b)

K-Nearest Neighbors (KNN)

c)

Decision Tree

d)

Logistic Regression

6.

Which of the following is used for reducing the dimensionality of data?

a)

KNN

b)

Decision Tree

c)

PCA

d)

SVM

7.

Which algorithm works best with linearly separable data?

a)

Decision Tree

b)

KNN

c)

Support Vector Machine (SVM)

d)

Naive Bayes

8.

Aisha is training a machine learning model to predict house prices based on various features. However, she notices that the model performs exceptionally well on the training data but fails to predict prices accurately on new, unseen data. This situation is known as:

a)

The model learns the noise in training data

b)

The model generalizes well

c)

The model is too simple

d)

The data is clean

9.

In a recent project, a team of data scientists was evaluating different models to predict customer churn. They were discussing various performance metrics to assess their models. During the discussion, Alisha mentioned several metrics, but Kavya pointed out one that is not typically used for performance evaluation. Which one is NOT a valid performance metric?

a)

Accuracy

b)

Recall

c)

Mean Squared Error

d)

Data Type

10.

Unsupervised learning is used when:

a)

Data is labeled

b)

Output is known

c)

No labels are available

d)

Model training is not required

11.

Saisha is looking for a new movie to watch on a streaming platform. The platform uses various techniques to recommend movies to its users. Which technique is used in recommendation systems?

a)

Clustering

b)

Regression

c)

Collaborative Filtering

d)

Classification

12.

What is the goal of regression?

a)

Group data

b)

Reduce noise

c)

Predict continuous values

d)

Split datasets

13.

Which of these is NOT a supervised learning algorithm?

a)

Decision Tree

b)

Linear Regression

c)

K-Means

d)

Naive Bayes

14.

In Reinforcement Learning, the agent learns by:

a)

Being told the correct answer

b)

Using only unsupervised methods

c)

Receiving rewards or penalties

d)

Clustering data

15.

Avni is working on a machine learning project and needs to improve her model's performance. She decides to use feature selection to:

a)

Reduce model complexity

b)

Increase noise

c)

Reduce training data

d)

Skip data preprocessing

16.

What is an epoch in training a model?

a)

One complete pass through the entire training dataset

b)

A data preprocessing step

c)

A type of model

d)

A feature reduction method

17.

Ensemble learning means:

a)

Using one model at a time

b)

Merging data

c)

Combining multiple models for better accuracy

d)

Clustering features

18.

What is the output of a classification model?

a)

Continuous value

b)

Probability or class label

c)

Unlabeled data

d)

Graph

19.

Which algorithm is best for spam detection?

a)

K-Means

b)

Naive Bayes

c)

PCA

d)

SVM

20.

Which of the following is NOT a supervised learning algorithm?

a)

Linear Regression

b)

Decision Tree

c)

K-Means Clustering

d)

Support Vector Machine

21.

Shreya is trying to decide which machine learning model to use for her project. She is considering various options and wants to know the drawbacks of using Decision Trees. Which of the following is a disadvantage of Decision Trees?

a)

Easy to interpret

b)

Handles both numerical and categorical data

c)

High accuracy

d)

Prone to overfitting

22.

What is the purpose of the training dataset in supervised learning?

a)

To predict unseen data

b)

To adjust model parameters

c)

To test the accuracy

d)

To reduce noise

23.

In Support Vector Machines (SVM), what is the purpose of the kernel function?

a)

Reduce training time

b)

Handle linear data only

c)

Transform data into higher dimensions

d)

Normalize the input data

24.

What does the K in K-Nearest Neighbors represent?

a)

Number of features

b)

Number of iterations

c)

Number of classes

d)

Number of nearest neighbors

25.

In supervised learning, the model is trained using:

a)

Only input data

b)

Only output data

c)

Input-output pairs (labeled data)

d)

Unlabelled data

26.

What is the main goal of ensemble learning?

a)

To reduce dataset size

b)

To increase model complexity

c)

To combine multiple models to improve performance

d)

To reduce training time

27.

Which of the following is an ensemble learning method?

a)

Linear Regression

b)

Decision Tree

c)

Random Forest

d)

K-Nearest Neighbor

28.

In Boosting, models are trained:

a)

In parallel

b)

On the same data repeatedly

c)

Sequentially, each focusing on previous errors

d)

Using unsupervised data

29.

What is the purpose of pruning in decision trees?

a)

To increase tree depth

b)

To reduce overfitting

c)

To add more branches

d)

To increase accuracy on training data

30.

Post-pruning is performed:

a)

During tree building

b)

After the entire tree is built

c)

Before splitting the nodes

d)

On training data only

31.

Overfitting in decision trees usually happens when:

a)

The tree is too shallow

b)

The tree is pruned too early

c)

The tree grows too deep without pruning

d)

The training data is small

32.

What is the basic unit of an artificial neural network?

a)

Weight

b)

Neuron (Node)

c)

Layer

d)

Activation

33.

In a neural network, the function that introduces non-linearity is called:

a)

Cost Function

b)

Gradient Function

c)

Activation Function

d)

Weight Function

34.

Which of the following is NOT a commonly used activation function?

a)

Sigmoid

b)

ReLU

c)

Tanh

d)

Euclidean

35.

What does a weight in a neural network represent?

a)

The output of a neuron

b)

The amount of learning

c)

The strength of the connection between neurons

d)

The number of hidden layers

36.

The process of adjusting weights in a neural network is called:

a)

Forward Propagation

b)

Normalization

c)

Backpropagation

d)

Pruning

37.

Which algorithm is typically used to train an artificial neural network?

a)

Naive Bayes

b)

K-Means

c)

Gradient Descent

d)

Apriori

38.

A network with more than one hidden layer is called a:

a)

Convolutional Neural Network

b)

Deep Neural Network

c)

Simple Perceptron

d)

Feedforward Network

39.

What is the role of the bias term in a neuron?

a)

To set the weight value to zero

b)

To reduce the cost function

c)

To allow shifting of the activation function

d)

To deactivate the neuron

40.

Which of the following is true about the learning rate in neural networks?

a)

A. A very high learning rate guarantees faster convergence

b)

B. A low learning rate may slow training but lead to better accuracy

c)

C. Learning rate does not affect backpropagation

d)

D. Learning rate increases with each epoch

41.

What is the role of the loss function in a neural network?

a)

Determines number of neurons

b)

Measures prediction accuracy

c)

Computes the error to be minimized

d)

Selects activation functions

42.

What does ReLU stand for in activation functions?

a)

Rectified Learning Unit

b)

Rectified Linear Unit

c)

Recursive Learning Unit

d)

Regression Line Unit

43.

Which of the following is NOT a type of layer in a neural network?

a)

Input Layer

b)

Output Layer

c)

Expansion Layer

d)

Hidden Layer

44.

Which function is used in binary classification problems in the output layer of a neural network?

a)

ReLU

b)

Tanh

c)

Softmax

d)

Sigmoid

45.

Which of the following is TRUE about a Perceptron?

a)

It can solve non-linear problems

b)

It has multiple hidden layers

c)

It is the simplest form of a neural network

d)

It requires pooling layers

46.

What technique does Random Forest use to improve accuracy and reduce overfitting?

a)

Feature scaling

b)

Bagging (Bootstrap Aggregation)

c)

Dimensionality reduction

d)

Pruning

47.

In SVM, what are support vectors?

a)

The input features

b)

Data points closest to the decision boundary

c)

Outliers

d)

Parameters of the kernel

48.

Which of the following is a key advantage of Random Forest?

a)

Requires a lot of pre-processing

b)

Performs poorly on large datasets

c)

Handles missing data well

d)

Cannot be used for classification tasks

49.

Random Forest is an ensemble of:

a)

Logistic regression models

b)

Support vector machines

c)

Decision trees

d)

Naive Bayes classifiers

50.

What is the main goal of unsupervised learning?

a)

Predict output values

b)

Train on labeled data

c)

Find patterns or structure in unlabelled data

d)

Maximize accuracy