wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

BSCS 4-1 - Elective 4 - Midterm Examination - 2023

Total questions: 35

Worksheet time: 18mins

Name
Class
Date
1.

In the context of Machine Learning, what does the "Data" element refer to?

a)

The process of training a model

b)

The mathematical formula used for prediction

c)

The evaluation metrics used to measure model performance

d)

The input information used to train and test a model

2.

What does the "Loss Function" element in Machine Learning represent?

a)

The algorithm used to learn from the data

b)

The mathematical function that measures the model's performance

c)

The process of training the model

d)

The method used to evaluate the model's predictions

3.

Which element of Machine Learning focuses on updating the model's parameters based on the provided data?

a)

Learning Algorithm

b)

Model

c)

Task

d)

Evaluation

4.

Which element of Machine Learning involves choosing appropriate features from the data?

a)

Data

b)

Task

c)

Learning Algorithm

d)

Model

5.

Which of the following describes the mathematical function that establishes the connection between input data and output data?

a)

Training

b)

Algorithm

c)

Loss Function

d)

Model

6.

This concept describes the process of using input data along with corresponding output data to establish a relationship through Machine Learning, which can then be utilized to predict output for new input?

a)

Unsupervised Learning

b)

Supervised Learning

c)

Task

d)

Model

7.

One of the elements of machine learning that involves identifying the specific objective or goal that needs to be achieved using the available data. It requires asking questions like "What task can be accomplished using the given data?" or "What can be learned from the data?”

a)

Unsupervised Learning

b)

Supervised Learning

c)

Task

d)

Model

8.

Which element of machine learning is responsible for evaluating the performance of a model by measuring its accuracy in predicting the expected outcome?

a)

Training

b)

Algorithm

c)

Loss Function

d)

Model

9.

It is a set of multiple numeric features. We use it as an input to the machine learning model for training and prediction purposes.

a)

Targets

b)

Features

c)

Categorical numeric sets

d)

Feature Vector

10.

Why is machine learning considered a critical and transformative technology that plays a vital role in various aspects of our modern society?

a)

It enables the automation and optimization of complex tasks, leading to increased efficiency

b)

It enhances decision-making and strategic planning through advanced analytics and predictive modeling

c)

It empowers businesses to make data-driven decisions and optimize processes.

d)

It revolutionizes industries and drives innovation by leveraging advanced algorithms and computational power.

11.

In machine learning data analysis, why is quality data considered essential for the efficient operation and continuous improvement of the models?

a)

Quality data enhances the model's ability to generalize and make accurate predictions

b)

Quality data helps the machine learning model to learn intelligently

c)

Quality data will make the process of algorithm smooth and no interruptions

d)

Quality data will make the output more complex

12.

This type of data is sorted based on defining characteristics such as gender, social class, ethnicity, hometown, industry, or other labels.

a)

Structured data

b)

Categorical data

c)

Quantitative data

d)

Continuous data

13.

Which of the following statements best describes unsupervised learning?

a)

A machine learning technique where the model learns from labeled training data to make predictions or classify new, unseen data.

b)

A machine learning technique that involves training a model without any labeled data

c)

A machine learning technique where the model learns from unstructured data to uncover patterns and relationships

d)

A machine learning technique used exclusively for supervised tasks

14.

Which of the following statements correctly describes an advantage of supervised learning algorithms?

a)

Supervised learning algorithms can generalize well to unseen data and make accurate predictions

b)

Supervised learning algorithms are not affected by the quality or quantity of labeled training data

c)

Supervised learning algorithms can work with unlabeled data and discover hidden patterns

d)

Supervised learning algorithms require less computational resources compared to unsupervised learning algorithms

15.

Which of the following correctly describes the purpose of the validation set in the process of supervised learning?

a)

Used to train the model and optimize the weights and biases

b)

Used to measure the performance of the trained model on unseen data and tune the hyperparameters

c)

Used to evaluate the model's performance during the testing phase

d)

Used to pre-process the data and remove outliers before training the model

16.

In a supervised learning process, what is the primary purpose of the training set?

a)

To measure the model's performance on unseen data

b)

To fine-tune the model's hyperparameters

c)

To evaluate the model's performance on labeled data

d)

To optimize the model's weights and biases

17.

During the training phase of supervised learning, when the model is exposed to labeled data and iteratively adjusts its internal parameter, what is the primary objective that drives this process?

a)

To iteratively optimize the model's parameters, such as weights and biases, by minimizing the loss function, thereby aligning the model's predictions as closely as possible to the true values, and enhancing its predictive accuracy

b)

To identify intricate patterns, complex relationships, and dependencies within the data, allowing the model to capture the underlying structure and nuances

c)

To accurately classify the data into distinct and meaningful categories, leveraging the labeled examples to learn the discriminative characteristics that define each category

d)

To assess and validate the performance of the model on unseen or held-out data, ensuring its ability to generalize well beyond the training set and effectively handle real-world instances that it has not been exposed to before

18.

In a situation where the size of the training set is limited while the complexity of the model used is high, what is the anticipated outcome or behavior that is likely to occur?

a)

The model will have high bias but low variance

b)

The model will have low bias but high variance

c)

The model will have high bias but low variance

d)

The model will overfit the training data

19.

Eager Learners in the context of classification refers to the algorithms that build a classification model using the entire training dataset before making any predictions or classifications. These learners eagerly construct a general hypothesis based on the provided training data and then use this hypothesis to classify new, unseen instances. Which of the following is an example of eager learner.

a)

Case-Based Reasoning

b)

Naïve Bayes

c)

K-Nearest Neighbors

d)

Locally Weighted Learning

20.

Which of the following assumptions is NOT required for Simple Linear Regression?

a)

Linearity: The relationship between the variables is linear

b)

Independence: The residuals are independent of each other

c)

Multicollinearity: The predictor variable is not highly correlated with other

d)

Homoscedasticity: The variance of the residuals is constant across all levels of the predictor variable

21.

Which of the following scenarios is suitable for Simple Linear Regression?

a)

Predicting the type of disease based on patient symptoms

b)

Estimating the price of a car based on its features (e.g., mileage of the car (kmpl), max power, maximum power of engine, etc.)

c)

Identifying customer segments based on their purchasing behavior

d)

Classifying emails as spam or non-spam based on their content

22.

In the K-nearest neighbors’ algorithm, which method is typically used to determine the optimal value of K, representing the number of neighbors to consider for classification?

a)

It is determined based on the number of features in the dataset

b)

Based on the average distance between data points

c)

This will be determined through trial and error

d)

Using cross-validation or other model selection techniques

23.

In the K-nearest neighbors’ algorithm, what happens if the number of neighbors (K) is set to a very large value?

a)

The model becomes more sensitive to noise and outliers

b)

The model becomes more prone to overfitting

c)

The decision boundary becomes more flexible and complex.

d)

The computational complexity of the algorithm increases significantly

24.

In Naive Bayes, how are the likelihoods of the features computed?

a)

By assuming a Gaussian distribution for the features

b)

By summing the feature values for each class

c)

By estimating the probability distributions of the features

d)

By applying a logarithmic transformation to the feature values

25.

The Naive Bayes algorithm involves calculating the posterior probability of a class given the feature values. How is this probability computed?

a)

By multiplying the likelihoods of the features

b)

By applying Bayes' theorem

c)

By computing the prior probability of the class

d)

By normalizing the probabilities

26.

Known as a powerful supervised machine learning algorithm used for classification and regression tasks, which aims to find an optimal hyperplane in a high-dimensional feature space that separates the data points of different classes with the largest margin

a)

K-Nearest Neighbors

b)

Support Vector Machine

c)

Logistic Regression

d)

Naïve Bayes

27.

These are considered as data points that lie closest to the decision boundary. They play a crucial role in defining the hyperplane in support vector machine algorithm.

a)

Margins

b)

Feature Vectors

c)

Feature Spaces

d)

Support Vectors

28.

In K-Nearest Neighbor (KNN), there are different distance metrics we can use. Which of the following distance metrics is used to determine the proximity between a new data point and the existing labeled data points? This also considered as the most used distance metric in KNN, especially for continuous numerical features.

a)

Minkowski distance

b)

Manhattan distance

c)

Euclidean distance

d)

Hamming distance

29.

A term used in an algorithm to map the input data to a specific category.

a)

Classifier

b)

Target

c)

Initialize

d)

Cluster

30.

During the training phase of machine learning, what is the typical ratio in which data is split for training and testing?

a)

70/30

b)

80/20

c)

90/10

d)

60/40

31.

What type of data is fed into the model during the training phase?

a)

Only input data

b)

Only output data

c)

Both input and output data

d)

None of the above

32.

What does it mean when we say the model "learns" during the training phase?

a)

The model memorizes the training data

b)

The model applies pre-defined rules to the data

c)

The model performs calculations on the training data

d)

The model builds its own logic based on the training data

33.

What is the purpose of splitting the data into training and testing sets?

a)

To evaluate the model's performance on unseen data

b)

To prevent the model from overfitting the training data

c)

To measure the accuracy of the model's predictions

d)

All of the above

34.

What is the purpose of splitting the data into training and testing sets?

a)

To evaluate the model's performance on unseen data

b)

To prevent the model from overfitting the training data

c)

To measure the accuracy of the model's predictions

d)

All of the above

35.

Suppose you have a dataset of 100 samples, and you decide to split it into training and testing sets using an 80:20 ratio. How many samples will be included in the training set?

a)

80

b)

20

c)

60

d)

40