Practice Paper 3
Practice Paper 3
1. Which library in Python is commonly used for creating interactive and web-based
visualizations?
- a) Matplotlib
- b) Seaborn
- c) Plotly
- d) ggplot
**Answer: c) Plotly**
2. What type of plot is suitable for visualizing the relationship between two
continuous variables, along with their individual distributions?
- a) Line plot
- b) Histogram
- c) Scatter plot with marginal histograms
- d) Box plot
**Answer: c) Scatter plot with marginal histograms**
Linear Regression:
7. In linear regression, what is the term used to represent the predicted value?
- a) Target
- b) Feature
- c) Intercept
- d) Coefficient
**Answer: a) Target**
8. Which of the following algorithms is used to find the best-fitting line for a
given dataset in linear regression?
- a) Gradient Descent
- b) K-Means
- c) Decision Tree
- d) Random Forest
**Answer: a) Gradient Descent**
9. What is the name of the metric commonly used to evaluate the performance of a
linear regression model?
- a) Accuracy
- b) Precision
- c) Mean Squared Error (MSE)
- d) F1 Score
**Answer: c) Mean Squared Error (MSE)**
Logistic Regression:
12. In logistic regression, what function is used to map the input features to the
target variable?
- a) Sigmoid function
- b) ReLU function
- c) Softmax function
- d) Linear function
**Answer: a) Sigmoid function**
17. What is the name of the hyperplane that maximizes the margin between classes in
SVM?
- a) Decision boundary
- b) Decision surface
- c) Support vector
- d) Margin vector
**Answer: a) Decision boundary**
18. Which kernel function is commonly used in SVM for non-linear classification?
- a) Linear kernel
- b) Polynomial kernel
- c) Gaussian (RBF) kernel
- d) Sigmoid kernel
**Answer: c) Gaussian (RBF) kernel**
19. What is the term used to represent data points that lie on the margin boundary
in SVM?
- a) Decision boundary
- b) Support vectors
- c) Margin vectors
- d) Hyperplane vectors
**Answer: b) Support vectors**
Decision Trees:
23. What is the name of the feature used to split the data at each node in a
Decision Tree?
- a) Branch
- b) Leaf
- c) Node
- d) Root
**Answer: c) Node**
24. Which algorithm is used to determine the best split at each node in a Decision
Tree?
- a) ID3
- b) K-Means
- c) Gradient Descent
- d) Random Forest
**Answer: a) ID3**
25. What is the term used to describe Decision Trees that continue to split until
all leaves are pure?
- a) Overfitting
- b) Underfitting
- c) Pruning
- d) Maximum depth
**Answer: a) Overfitting**
28. In an ANN, what function is commonly used as the activation function in hidden
layers?
- a) Sigmoid
- b) Linear
- c) ReLU (Rectified Linear Unit)
- d) Softmax
**Answer: c) ReLU (Rectified Linear Unit)**
30. Which of the following is NOT a common type of Artificial Neural Network
architecture?
- a) Feedforward Neural Network
- b) Convolutional Neural Network
- c) Recurrent Neural Network
- d) Decision Neural Network
**Answer: d) Decision Neural Network**
Data Visualization:
**Answer: c) Plotly**
2. What type of plot is used to visualize the relationship between two continuous
variables along with their individual distributions?
a) Line plot
b) Scatter plot
c) Histogram
d) Box plot
**Answer: b) Seaborn**
**Answer: c) Matplotlib**
Linear Regression:
8. What is the term used to represent the predicted values in linear regression?
a) Features
b) Coefficients
c) Targets
d) Errors
**Answer: c) Targets**
10. What is the name of the line that best fits the data points in linear
regression?
a) Decision boundary
b) Regression line
c) Support vector
d) Decision surface
Logistic Regression:
**Answer: b) Classification**
12. In logistic regression, what function is used to map the input features to the
target variable?
a) Sigmoid function
b) ReLU function
c) Softmax function
d) Linear function
**Answer: c) Accuracy**
**Answer: c) Classification**
17. What is the name of the hyperplane that maximizes the margin between classes in
SVM?
a) Decision boundary
b) Decision surface
c) Support vector
d) Margin vector
18. Which kernel function is commonly used in SVM for non-linear classification?
a) Linear kernel
b) Polynomial kernel
c) Gaussian (RBF) kernel
d) Sigmoid kernel
19. What is the term used to represent data points that lie on the margin boundary
in SVM?
a) Decision boundary
b) Support vectors
c) Margin vectors
d) Hyperplane vectors
spaces
b) Memory efficient for large datasets
c) Versatile with different kernel functions
d) Robust to overfitting
Decision Trees:
**Answer: d) Classification**
23. What is the name of the feature used to split the data at each node in a
Decision Tree?
a) Branch
b) Leaf
c) Node
d) Root
**Answer: c) Node**
24. Which algorithm is used to determine the best split at each node in a Decision
Tree?
a) ID3
b) K-Means
c) Gradient Descent
d) Random Forest
**Answer: a) ID3**
25. What is the term used to describe Decision Trees that continue to split until
all leaves are pure?
a) Overfitting
b) Underfitting
c) Pruning
d) Maximum depth
**Answer: a) Overfitting**
**Answer: a) Neuron**
28. In an ANN, what function is commonly used as the activation function in hidden
layers?
a) Sigmoid
b) Linear
c) ReLU (Rectified Linear Unit)
d) Softmax
30. Which of the following is NOT a common type of Artificial Neural Network
architecture?
a) Feedforward Neural Network
b) Convolutional Neural Network
c) Recurrent Neural Network
d) Decision Neural Network