Q. Which of the following is a common challenge in model deployment?
A.
Data preprocessing
B.
Model interpretability
C.
Scalability and performance
D.
Feature selection
Show solution
Solution
Scalability and performance are common challenges in model deployment, as models must handle varying loads and respond quickly in production.
Correct Answer:
C
— Scalability and performance
Learn More →
Q. Which of the following is a common cloud ML service provider?
A.
Google Cloud AI
B.
Localhost ML
C.
Desktop ML Suite
D.
Offline AI Tools
Show solution
Solution
Google Cloud AI is a well-known provider of cloud-based machine learning services.
Correct Answer:
A
— Google Cloud AI
Learn More →
Q. Which of the following is a common criterion for splitting nodes in Decision Trees?
A.
Mean Squared Error
B.
Gini Impurity
C.
Euclidean Distance
D.
Cross-Entropy
Show solution
Solution
Gini Impurity is a common criterion used for splitting nodes in Decision Trees to measure the impurity of a node.
Correct Answer:
B
— Gini Impurity
Learn More →
Q. Which of the following is a common data structure used to represent the syntax tree in compilers?
A.
Array
B.
Linked list
C.
Binary tree
D.
Hash table
Show solution
Solution
A binary tree is commonly used to represent the syntax tree, where each node represents a construct in the source code.
Correct Answer:
C
— Binary tree
Learn More →
Q. Which of the following is a common error control method used in data transmission?
A.
Checksum
B.
Encryption
C.
Compression
D.
Segmentation
Show solution
Solution
Checksum is a common error control method used to detect errors in data transmission.
Correct Answer:
A
— Checksum
Learn More →
Q. Which of the following is a common error detected by a lexical analyzer?
A.
Syntax errors
B.
Type errors
C.
Unrecognized characters
D.
Semantic errors
Show solution
Solution
A lexical analyzer can detect unrecognized characters that do not match any defined tokens.
Correct Answer:
C
— Unrecognized characters
Learn More →
Q. Which of the following is a common evaluation metric for classification models?
A.
Mean Squared Error
B.
Accuracy
C.
Silhouette Score
D.
R-squared
Show solution
Solution
Accuracy is a common evaluation metric for classification models, measuring the proportion of correct predictions.
Correct Answer:
B
— Accuracy
Learn More →
Q. Which of the following is a common evaluation metric for classification problems?
A.
Mean Squared Error
B.
Accuracy
C.
R-squared
D.
Silhouette Score
Show solution
Solution
Accuracy is a common metric used to evaluate the performance of classification models by measuring the proportion of correct predictions.
Correct Answer:
B
— Accuracy
Learn More →
Q. Which of the following is a common evaluation metric for classification tasks in neural networks?
A.
Mean Absolute Error
B.
F1 Score
C.
Root Mean Squared Error
D.
R-squared
Show solution
Solution
F1 Score is a common metric used to evaluate the performance of classification models, balancing precision and recall.
Correct Answer:
B
— F1 Score
Learn More →
Q. Which of the following is a common evaluation metric for classification tasks?
A.
Mean Squared Error
B.
Accuracy
C.
R-squared
D.
Silhouette Score
Show solution
Solution
Accuracy is a common evaluation metric for classification tasks, measuring the proportion of correct predictions.
Correct Answer:
B
— Accuracy
Learn More →
Q. Which of the following is a common evaluation metric for image classification tasks?
A.
Mean Squared Error
B.
Accuracy
C.
F1 Score
D.
Confusion Matrix
Show solution
Solution
Accuracy is a common evaluation metric for image classification tasks, measuring the proportion of correctly classified instances.
Correct Answer:
B
— Accuracy
Learn More →
Q. Which of the following is a common evaluation metric for regression models?
A.
Accuracy
B.
F1 Score
C.
Mean Absolute Error
D.
Confusion Matrix
Show solution
Solution
Mean Absolute Error (MAE) is a common evaluation metric for regression models, measuring the average magnitude of errors in predictions.
Correct Answer:
C
— Mean Absolute Error
Learn More →
Q. Which of the following is a common evaluation metric for SVM classification performance?
A.
Mean Squared Error
B.
Accuracy
C.
Silhouette Score
D.
Confusion Matrix
Show solution
Solution
Accuracy is a common evaluation metric used to assess the performance of SVM classifiers by measuring the proportion of correctly classified instances.
Correct Answer:
B
— Accuracy
Learn More →
Q. Which of the following is a common form of intermediate code generated by syntax-directed translation?
A.
Assembly language
B.
Three-address code
C.
Bytecode
D.
Machine code
Show solution
Solution
Three-address code is a common form of intermediate code generated by syntax-directed translation.
Correct Answer:
B
— Three-address code
Learn More →
Q. Which of the following is a common loss function used for regression tasks in neural networks?
A.
Binary Cross-Entropy
B.
Categorical Cross-Entropy
C.
Mean Squared Error
D.
Hinge Loss
Show solution
Solution
Mean Squared Error (MSE) is commonly used as a loss function for regression tasks.
Correct Answer:
C
— Mean Squared Error
Learn More →
Q. Which of the following is a common loss function used in neural networks for classification tasks?
A.
Mean Squared Error
B.
Cross-Entropy Loss
C.
Hinge Loss
D.
Log-Cosh Loss
Show solution
Solution
Cross-Entropy Loss is widely used for classification tasks as it measures the difference between predicted and actual class probabilities.
Correct Answer:
B
— Cross-Entropy Loss
Learn More →
Q. Which of the following is a common method for deploying machine learning models?
A.
Batch processing
B.
Real-time inference
C.
Both batch processing and real-time inference
D.
None of the above
Show solution
Solution
Common methods for deploying machine learning models include both batch processing and real-time inference, depending on the application requirements.
Correct Answer:
C
— Both batch processing and real-time inference
Learn More →
Q. Which of the following is a common method for encoding categorical variables?
A.
Label Encoding
B.
Min-Max Scaling
C.
Standardization
D.
Feature Extraction
Show solution
Solution
Label Encoding is a common method for converting categorical variables into numerical format.
Correct Answer:
A
— Label Encoding
Learn More →
Q. Which of the following is a common method for evaluating the performance of a neural network?
A.
Confusion matrix
B.
Gradient descent
C.
Batch normalization
D.
Dropout
Show solution
Solution
A confusion matrix is used to evaluate the performance of a classification model by showing true vs. predicted classifications.
Correct Answer:
A
— Confusion matrix
Learn More →
Q. Which of the following is a common method for feature extraction?
A.
K-means Clustering
B.
Support Vector Machines
C.
Principal Component Analysis
D.
Decision Trees
Show solution
Solution
Principal Component Analysis (PCA) is a technique used to reduce dimensionality by extracting important features.
Correct Answer:
C
— Principal Component Analysis
Learn More →
Q. Which of the following is a common method for handling imbalanced datasets in classification problems?
A.
Using a larger dataset
B.
Oversampling the minority class
C.
Reducing the number of features
D.
Using a simpler model
Show solution
Solution
Oversampling the minority class is a common method to address class imbalance, helping the model learn better from the underrepresented class.
Correct Answer:
B
— Oversampling the minority class
Learn More →
Q. Which of the following is a common method for handling missing data in a dataset?
A.
Removing all rows with missing values
B.
Replacing missing values with the mean or median
C.
Ignoring the missing values during training
D.
All of the above
Show solution
Solution
Replacing missing values with the mean or median is a common method, though other methods can also be used depending on the context.
Correct Answer:
B
— Replacing missing values with the mean or median
Learn More →
Q. Which of the following is a common method for handling missing data in feature engineering?
A.
Removing all rows with missing values
B.
Imputing missing values with the mean or median
C.
Ignoring missing values during model training
D.
Using only complete cases for analysis
Show solution
Solution
Imputing missing values with the mean or median is a common method to handle missing data, allowing for the retention of more data points.
Correct Answer:
B
— Imputing missing values with the mean or median
Learn More →
Q. Which of the following is a common method for handling missing data?
A.
Removing all rows with missing values
B.
Imputing missing values with the mean or median
C.
Ignoring missing values during training
D.
Using a more complex model
Show solution
Solution
Imputing missing values with the mean or median is a common method to handle missing data.
Correct Answer:
B
— Imputing missing values with the mean or median
Learn More →
Q. Which of the following is a common method for model selection?
A.
Grid Search
B.
Data Augmentation
C.
Feature Engineering
D.
Ensemble Learning
Show solution
Solution
Grid Search is a common method for systematically searching for the best model parameters.
Correct Answer:
A
— Grid Search
Learn More →
Q. Which of the following is a common method for performing constant folding?
A.
Evaluating expressions at compile time
B.
Removing unused variables
C.
Inlining functions
D.
Rearranging code for efficiency
Show solution
Solution
Constant folding involves evaluating constant expressions at compile time to simplify the code.
Correct Answer:
A
— Evaluating expressions at compile time
Learn More →
Q. Which of the following is a common method for preventing overfitting in Decision Trees?
A.
Increasing the maximum depth of the tree.
B.
Pruning the tree after it has been fully grown.
C.
Using more features.
D.
Decreasing the number of samples.
Show solution
Solution
Pruning the tree after it has been fully grown helps to remove branches that have little importance, thus preventing overfitting.
Correct Answer:
B
— Pruning the tree after it has been fully grown.
Learn More →
Q. Which of the following is a common method for word embeddings?
A.
TF-IDF
B.
Bag of Words
C.
Word2Vec
D.
Count Vectorization
Show solution
Solution
Word2Vec is a popular method for generating word embeddings that captures semantic relationships between words.
Correct Answer:
C
— Word2Vec
Learn More →
Q. Which of the following is a common method used to represent the policy in reinforcement learning?
A.
Decision Trees
B.
Neural Networks
C.
Support Vector Machines
D.
Linear Regression
Show solution
Solution
Neural networks are often used to represent the policy in reinforcement learning due to their ability to approximate complex functions.
Correct Answer:
B
— Neural Networks
Learn More →
Q. Which of the following is a common modification to binary search for finding the first occurrence of a target?
A.
Use a linear search
B.
Continue searching in the left half even after finding the target
C.
Sort the array first
D.
Use a stack
Show solution
Solution
To find the first occurrence, continue searching in the left half even after finding the target.
Correct Answer:
B
— Continue searching in the left half even after finding the target
Learn More →
Showing 2581 to 2610 of 3237 (108 Pages)