0% found this document useful (0 votes)
49 views29 pages

Artificial Intelligence Fundamentals MIDTERMS EXAM

A review docs.

Uploaded by

Marc James Año
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views29 pages

Artificial Intelligence Fundamentals MIDTERMS EXAM

A review docs.

Uploaded by

Marc James Año
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

Marks 48.00/50.

00
Grade 96.00 out of 100.00
Question 1
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the process of integrating data from multiple sources called?
Select one:

a.
Data integration

b.
Data mining

c.
Data analysis

d.
Data visualization

Question 2
Correct
Mark 1.00 out of 1.00

Flag question

Question text
The KL distance can be used to measure the information lost when approximating one
distribution with another. In this context, the distribution being approximated is known as the:
Select one:

a.
Approximation distribution
b.
Base distribution

c.
Reference distribution

d.
Target distribution

Question 3
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the Hebb rule?
Select one:

a.
A rule used to adjust the weights in a neural network

b.
A rule used to determine the structure of a neural network

c.
A rule used to determine the input to a neural network

d.
A rule used to calculate the output of a neural network

Question 4
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the main goal of the k-means algorithm?
Select one:

a.
To partition a dataset into a specified number of clusters

b.
To classify data into predefined categories

c.
To discover patterns or relationships within a dataset

d.
To predict the value of a continuous target variable

Question 5
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Hierarchical clustering can be either ______________ or ______________.
Select one:

a.
Non-parametric, parametric

b.
Iterative, recursive

c.
Agglomerative, divisive

d.
Unsupervised, supervised

Question 6
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is an example of a batch learning algorithm?
Select one:

a.
Linear regression

b.
K-nearest neighbors

c.
Support vector machine

d.
All of the above

Question 7
Correct
Mark 1.00 out of 1.00

Flag question

Question text
How is the y-intercept of the line of best fit calculated using the least squares method?
Select one:

a.
By dividing the mean of the y values by the slope

b.
By dividing the sum of the product of the x values and the y values by the sum of the x values

c.
By dividing the sum of the y values by the number of data points
d.
By subtracting the slope from the mean of the y values

Question 8
Correct
Mark 1.00 out of 1.00

Flag question

Question text
The KL distance is often used in machine learning and artificial intelligence to compare two
probability distributions, such as a model's predicted distribution and the true distribution. In this
context, the KL distance can be used as a:
Select one:

a.
Cost function

b.
Activation function

c.
Loss function

d.
Kernel function

Question 9
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Hierarchical clustering is a type of ______________ technique.
Select one:

a.
Dimensionality reduction
b.
Classification

c.
Regression

d.
Clustering

Question 10
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
What is the process of calculating the error between the desired output and the actual output of a
perceptron called?
Select one:

a.
Pruning

b.
Validation

c.
Training

d.
Testing

Question 11
Correct
Mark 1.00 out of 1.00

Flag question
Question text
The KL distance is also known as what other measure?
Select one:

a.
Joint entropy

b.
Mutual information

c.
Cross-entropy

d.
Shannon entropy

Question 12
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the main idea behind the Hebb rule?
Select one:

a.
Neurons that fire at the same time, wire together

b.
Neurons that fire together, wire together

c.
Neurons that fire in opposite directions, wire together

d.
Neurons that fire in the same direction, wire together

Question 13
Correct
Mark 1.00 out of 1.00
Flag question

Question text
Which of the following is NOT a disadvantage of the k-means algorithm?
Select one:

a.
It can be computationally expensive for large datasets

b.
It is sensitive to the initial placement of centroids

c.
It can handle categorical variables

d.
It may produce suboptimal results if the clusters are not spherical

Question 14
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the learning rule for a perceptron called?
Select one:

a.
The Delta Rule

b.
The Perceptron Learning Algorithm

c.
The Hebbian Rule
d.
The Backpropagation Algorithm

Question 15
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the technical term for a node in a directed acyclic graph (DAG)?
Select one:

a.
Edge

b.
Vertex

c.
Cycle

d.
Graph

Question 16
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is an example of a batch learning algorithm used for regression tasks?
Select one:

a.
Support vector machine

b.
Linear regression

c.
K-nearest neighbors

d.
Decision tree

Question 17
Correct
Mark 1.00 out of 1.00

Flag question

Question text
How does the Naive Bayes classifier calculate the probability of a data point belonging to a
particular class?
Select one:

a.
By using the Bayes theorem

b.
By using the least squares method

c.
By using the maximum likelihood estimation

d.
By using the gradient descent algorithm

Question 18
Correct
Mark 1.00 out of 1.00

Flag question

Question text
How are batch learning algorithms typically used?
Select one:

a.
To classify data in real-time

b.
To predict continuous values in real-time

c.
To classify data in batch mode

d.
To predict continuous values in batch mode

Question 19
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is a Bayesian network used for?
Select one:

a.
To optimize the use of resources

b.
To perform machine learning tasks

c.
All of the above

d.
To model and predict the behavior of systems

Question 20
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the process of identifying and correcting errors in data called?
Select one:

a.
Sampling

b.
Filtering

c.
Cleaning

d.
Normalizing

Question 21
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the "E" step in the EM algorithm?
Select one:

a.
The step where the expectation of the latent variables is calculated

b.
The step where the likelihood of the model is maximized

c.
The step where the prediction accuracy of the model is calculated
d.
The step where the model parameters are updated

Question 22
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the process of discovering patterns in large data sets called?
Select one:

a.
Data analysis

b.
Data mining

c.
Data collection

d.
Data visualization

Question 23
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the advantage of the Naive Bayes classifier over other classifiers?
Select one:

a.
It is faster to train and predict

b.
It is able to handle large amounts of data

c.
It is more flexible

d.
It is more accurate

Question 24
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the process of adjusting the weights of a perceptron based on the output of the previous
layer in a multi-layer perceptron called?
Select one:

a.
Validation

b.
Training

c.
Testing

d.
Backpropagation

Question 25
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is a key characteristic of Bayesian networks?
Select one:

a.
They use decision trees for prediction

b.
They are trained on large amounts of data

c.
They are based on probability theory

d.
They use linear algebra for prediction

Question 26
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is a batch learning algorithm?
Select one:

a.
An algorithm that processes the training data one example at a time

b.
An algorithm that processes all of the training data at once

c.
An algorithm that processes the training data in real-time

d.
An algorithm that processes the training data in small groups or batches

Question 27
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the EM algorithm used to optimize in the "M" step?
Select one:

a.
The model parameters

b.
The latent variables

c.
The prediction accuracy of the model

d.
The likelihood of the model

Question 28
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the technical term for an edge in a directed acyclic graph (DAG)?
Select one:

a.
Vertex

b.
Edge

c.
Cycle
d.
Graph

Question 29
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the primary goal of data mining?
Select one:

a.
To create charts and graphs to visualize data

b.
To organize and structure data

c.
To extract and compile data from multiple sources

d.
To find hidden patterns and relationships in data

Question 30
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the process of selecting a subset of data for analysis called?
Select one:

a.
Cleaning

b.
Normalizing

c.
Filtering

d.
Sampling

Question 31
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What are some disadvantages of batch learning algorithms?
Select one:

a.
They require a large amount of resources

b.
They are slow to adapt to changes in the data

c.
They require a small amount of data

d.
They are prone to overfitting

Question 32
Correct
Mark 1.00 out of 1.00

Flag question

Question text
How is the slope of the line of best fit calculated using the least squares method?
Select one:
a.
By dividing the sum of the y values by the sum of the squares of the x values

b.
By dividing the sum of the product of the x values and the y values by the sum of the x values

c.
By dividing the sum of the y values by the sum of the x values

d.
By dividing the sum of the product of the x values and the y values by the sum of the squares of
the x values

Question 33
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is a directed acyclic graph (DAG)?
Select one:

a.
A graph in which the edges do not have a direction and there are cycles

b.
A graph in which the edges have a direction and there are no cycles

c.
A graph in which the edges do not have a direction and there are no cycles

d.
A graph in which the edges have a direction and there are cycles

Question 34
Correct
Mark 1.00 out of 1.00
Flag question

Question text
How is the final set of clusters determined in the k-means algorithm?
Select one:

a.
By selecting the set of clusters that minimize the sum of squared errors

b.
By selecting the set of clusters that maximize the sum of squared errors

c.
By selecting the set of clusters that minimize the within-cluster variance

d.
By selecting the set of clusters that maximize the within-cluster variance

Question 35
Correct
Mark 1.00 out of 1.00

Flag question

Question text
How can the sensitivity to the initial placement of centroids be addressed in the k-means
algorithm?
Select one:

a.
By using a hierarchical clustering approach

b.
By normalizing the data prior to clustering

c.
By using the k-means++ initialization method
d.
By using a different clustering algorithm

Question 36
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the disadvantage of the Naive Bayes classifier?
Select one:

a.
It is slower to train and predict

b.
It is unable to handle large amounts of data

c.
It is less accurate

d.
It is inflexible

Question 37
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the Naive Bayes classifier used for?
Select one:

a.
To predict the probability of an event occurring
b.
All of the above

c.
To classify data into different categories based on certain features

d.
To predict the value of a continuous variable

Question 38
Correct
Mark 1.00 out of 1.00

Flag question

Question text
How can users access the KNIME Marketplace?
Select one:

a.
From the KNIME forum

b.
From the KNIME interface

c.
All of the above

d.
From the KNIME website

Question 39
Correct
Mark 1.00 out of 1.00

Flag question

Question text
The KL distance is often used in machine learning to evaluate the performance of a classification
model. In this context, a low KL distance indicates that the model's predicted class probabilities
are:
Select one:

a.
Very different from the true class probabilities

b.
Somewhat similar to the true class probabilities

c.
Somewhat different from the true class probabilities

d.
Very similar to the true class probabilities

Question 40
Correct
Mark 1.00 out of 1.00

Flag question

Question text
The ______________ linkage criterion is a popular choice for hierarchical clustering, which
merges the two clusters based on the mean distance between their points.
Select one:

a.
Average

b.
Complete

c.
Centroid

d.
Single

Question 41
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the process of visualizing data using charts and graphs called?
Select one:

a.
Data visualization

b.
Data analysis

c.
Data modeling

d.
Data mining

Question 42
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the EM algorithm used to estimate in the "E" step?
Select one:

a.
The model parameters

b.
The prediction accuracy of the model

c.
The likelihood of the model
d.
The latent variables

Question 43
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is an example of a batch learning algorithm used for feature selection tasks?
Select one:

a.
Mutual information

b.
Variance threshold

c.
Recursive feature elimination

d.
All of the above

Question 44
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What are some advantages of batch learning algorithms?
Select one:

a.
They can learn from streaming data in real-time
b.
They can learn from very large datasets

c.
They can learn from a limited amount of resources

d.
They can learn from a small amount of data

Question 45
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
Can the least squares method be used for nonlinear data sets?
Select one:

a.
Yes

b.
It depends on the method used to transform the data set

c.
It depends on the data set

d.
No

Question 46
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is an example of a regression task in supervised learning?
Select one:

a.
Determining whether an email is spam or not

b.
Predicting the price of a house based on its characteristics

c.
Grouping customers into different segments based on their spending habits

d.
Predicting the stock price for the next day based on historical data

Question 47
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the process of using a training dataset to adjust the weights of a perceptron called?
Select one:

a.
Batch learning

b.
Online learning

c.
Unsupervised learning

d.
Semi-supervised learning

Question 48
Correct
Mark 1.00 out of 1.00
Flag question

Question text
The ______________ linkage criterion is a popular choice for hierarchical clustering, which
merges the two clusters that have the maximum distance between them.
Select one:

a.
Centroid

b.
Average

c.
Complete

d.
Single

Question 49
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the main goal of the EM algorithm?
Select one:

a.
To minimize the error between the predicted and actual values of the data

b.
To minimize the cost or loss function of a model

c.
To maximize the prediction accuracy of the model
d.
To maximize the likelihood of a model given the data

Question 50
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the process of removing unnecessary weights from a trained perceptron called?
Select one:

a.
Training

b.
Validation

c.
Testing

d.
Pruning

You might also like