Q. Which evaluation metric is most useful for a model predicting rare events?
A.
Accuracy
B.
Recall
C.
Precision
D.
F1 Score
Show solution
Solution
Recall is crucial for rare event prediction as it focuses on capturing as many positive instances as possible.
Correct Answer:
B
— Recall
Learn More →
Q. Which evaluation metric is NOT typically used for clustering algorithms?
A.
Silhouette Score
B.
Davies-Bouldin Index
C.
Accuracy
D.
Inertia
Show solution
Solution
Accuracy is not applicable to clustering since it is an unsupervised learning method without labeled data.
Correct Answer:
C
— Accuracy
Learn More →
Q. Which evaluation metric is NOT typically used for clustering?
A.
Silhouette Score
B.
Davies-Bouldin Index
C.
Adjusted Rand Index
D.
F1 Score
Show solution
Solution
F1 Score is used for classification tasks, not for evaluating clustering performance.
Correct Answer:
D
— F1 Score
Learn More →
Q. Which evaluation metric is often used to assess the performance of neural networks in classification tasks?
A.
Mean Squared Error
B.
Accuracy
C.
R-squared
D.
F1 Score
Show solution
Solution
Accuracy is a common evaluation metric for classification tasks, measuring the proportion of correct predictions made by the neural network.
Correct Answer:
B
— Accuracy
Learn More →
Q. Which evaluation metric is often used to assess the quality of clustering?
A.
Accuracy
B.
Silhouette score
C.
F1 score
D.
Mean squared error
Show solution
Solution
The silhouette score is a common metric used to evaluate the quality of clustering by measuring how similar an object is to its own cluster compared to other clusters.
Correct Answer:
B
— Silhouette score
Learn More →
Q. Which evaluation metric is particularly useful for ranking predictions?
A.
Accuracy
B.
Mean Absolute Error
C.
Mean Squared Error
D.
Normalized Discounted Cumulative Gain (NDCG)
Show solution
Solution
Normalized Discounted Cumulative Gain (NDCG) is used to evaluate the quality of ranked lists, making it suitable for ranking tasks.
Correct Answer:
D
— Normalized Discounted Cumulative Gain (NDCG)
Learn More →
Q. Which evaluation metric is used to assess the performance of a recommendation system?
A.
Root Mean Squared Error
B.
F1 Score
C.
Mean Average Precision
D.
Silhouette Score
Show solution
Solution
Mean Average Precision is commonly used to evaluate the performance of recommendation systems.
Correct Answer:
C
— Mean Average Precision
Learn More →
Q. Which evaluation metric is used to measure the performance of regression models?
A.
F1 Score
B.
Mean Absolute Error
C.
Confusion Matrix
D.
ROC Curve
Show solution
Solution
Mean Absolute Error measures the average magnitude of errors in a set of predictions, without considering their direction.
Correct Answer:
B
— Mean Absolute Error
Learn More →
Q. Which feature scaling technique centers the data around zero?
A.
Min-Max Scaling
B.
Standardization
C.
Normalization
D.
Log Transformation
Show solution
Solution
Standardization centers the data around zero by subtracting the mean and dividing by the standard deviation.
Correct Answer:
B
— Standardization
Learn More →
Q. Which feature transformation technique is used to normalize the range of features?
A.
One-Hot Encoding
B.
Min-Max Scaling
C.
Label Encoding
D.
Feature Extraction
Show solution
Solution
Min-Max Scaling normalizes the range of features to a specified range, typically [0, 1].
Correct Answer:
B
— Min-Max Scaling
Learn More →
Q. Which greedy algorithm is used to solve the activity selection problem?
A.
Dijkstra's algorithm
B.
Kruskal's algorithm
C.
Interval scheduling maximization
D.
Prim's algorithm
Show solution
Solution
The activity selection problem is solved using the interval scheduling maximization greedy algorithm.
Correct Answer:
C
— Interval scheduling maximization
Learn More →
Q. Which HTTP method is idempotent and safe?
A.
POST
B.
GET
C.
PUT
D.
DELETE
Show solution
Solution
The GET method is considered idempotent and safe, meaning it can be called multiple times without changing the state of the resource.
Correct Answer:
B
— GET
Learn More →
Q. Which HTTP method is idempotent, meaning it can be called multiple times without different outcomes?
A.
POST
B.
GET
C.
PUT
D.
DELETE
Show solution
Solution
The PUT method is idempotent, meaning that making the same request multiple times will not change the outcome beyond the initial application.
Correct Answer:
C
— PUT
Learn More →
Q. Which HTTP method is used to request data from a server?
A.
POST
B.
GET
C.
PUT
D.
DELETE
Show solution
Solution
The GET method is used to request data from a specified resource on the server.
Correct Answer:
B
— GET
Learn More →
Q. Which HTTP method is used to request data from a specified resource?
A.
POST
B.
GET
C.
PUT
D.
DELETE
Show solution
Solution
The GET method is used to request data from a specified resource, allowing clients to retrieve information from the server.
Correct Answer:
B
— GET
Learn More →
Q. Which HTTP method is used to retrieve data from a server?
A.
POST
B.
GET
C.
PUT
D.
DELETE
Show solution
Solution
The GET method is used to retrieve data from a server, while POST is used to send data to the server.
Correct Answer:
B
— GET
Learn More →
Q. Which HTTP method is used to submit data to be processed to a specified resource?
A.
GET
B.
POST
C.
PUT
D.
DELETE
Show solution
Solution
The POST method is used to submit data to a specified resource for processing.
Correct Answer:
B
— POST
Learn More →
Q. Which HTTP status code indicates a successful request?
A.
200
B.
404
C.
500
D.
301
Show solution
Solution
HTTP status code 200 indicates that the request was successful and the server returned the requested resource.
Correct Answer:
A
— 200
Learn More →
Q. Which HTTP status code indicates that a resource has been successfully created?
A.
200
B.
201
C.
204
D.
404
Show solution
Solution
The HTTP status code 201 indicates that a resource has been successfully created, typically in response to a POST request.
Correct Answer:
B
— 201
Learn More →
Q. Which HTTP status code indicates that a resource was not found?
A.
200
B.
301
C.
404
D.
500
Show solution
Solution
The HTTP status code 404 indicates that a resource was not found on the server.
Correct Answer:
C
— 404
Learn More →
Q. Which industry commonly uses Decision Trees for risk assessment?
A.
Healthcare
B.
Retail
C.
Insurance
D.
Manufacturing
Show solution
Solution
The insurance industry uses Decision Trees to assess risk based on various customer attributes.
Correct Answer:
C
— Insurance
Learn More →
Q. Which IP address class is used for large networks with a significant number of hosts?
A.
Class A
B.
Class B
C.
Class C
D.
Class D
Show solution
Solution
Class A IP addresses are used for large networks, allowing for a vast number of hosts.
Correct Answer:
A
— Class A
Learn More →
Q. Which IP address class is used for large networks with many hosts?
A.
Class A
B.
Class B
C.
Class C
D.
Class D
Show solution
Solution
Class A IP addresses are used for large networks, allowing for a significant number of hosts due to their large address space.
Correct Answer:
A
— Class A
Learn More →
Q. Which IP address class is used for large networks?
A.
Class A
B.
Class B
C.
Class C
D.
Class D
Show solution
Solution
Class A IP addresses are used for large networks, allowing for a significant number of hosts.
Correct Answer:
A
— Class A
Learn More →
Q. Which IP address is reserved for the loopback interface?
A.
192.168.1.1
B.
127.0.0.1
C.
10.0.0.1
D.
172.16.0.1
Show solution
Solution
The IP address 127.0.0.1 is reserved for the loopback interface, allowing a device to communicate with itself.
Correct Answer:
B
— 127.0.0.1
Learn More →
Q. Which kernel function is commonly used in Support Vector Machines?
A.
Linear kernel
B.
Polynomial kernel
C.
Radial basis function (RBF) kernel
D.
All of the above
Show solution
Solution
Support Vector Machines can utilize various kernel functions, including linear, polynomial, and radial basis function (RBF) kernels.
Correct Answer:
D
— All of the above
Learn More →
Q. Which kernel function is commonly used in SVM for non-linear classification?
A.
Linear kernel
B.
Polynomial kernel
C.
Radial basis function (RBF) kernel
D.
Sigmoid kernel
Show solution
Solution
The Radial Basis Function (RBF) kernel is popular for handling non-linear classification problems.
Correct Answer:
C
— Radial basis function (RBF) kernel
Learn More →
Q. Which kernel function is commonly used in SVM to handle non-linear data?
A.
Linear kernel
B.
Polynomial kernel
C.
Radial basis function (RBF) kernel
D.
Sigmoid kernel
Show solution
Solution
The Radial Basis Function (RBF) kernel is commonly used in SVM to handle non-linear data by mapping it into a higher-dimensional space.
Correct Answer:
C
— Radial basis function (RBF) kernel
Learn More →
Q. Which kernel is commonly used in SVM for non-linear data?
A.
Linear kernel
B.
Polynomial kernel
C.
Radial Basis Function (RBF) kernel
D.
Sigmoid kernel
Show solution
Solution
The Radial Basis Function (RBF) kernel is commonly used in SVM to handle non-linear data effectively.
Correct Answer:
C
— Radial Basis Function (RBF) kernel
Learn More →
Q. Which layer in a CNN is primarily responsible for feature extraction?
A.
Pooling layer
B.
Fully connected layer
C.
Convolutional layer
D.
Activation layer
Show solution
Solution
The Convolutional layer is responsible for feature extraction by applying filters to the input data.
Correct Answer:
C
— Convolutional layer
Learn More →
Showing 2311 to 2340 of 3237 (108 Pages)