Q. What is a common challenge when selecting features for a model?
A.
Overfitting due to too many features
B.
Underfitting due to too few features
C.
Both A and B
D.
None of the above
Show solution
Solution
Both overfitting and underfitting can occur depending on the number of features selected.
Correct Answer:
C
— Both A and B
Learn More →
Q. What is a common challenge when using K-Means clustering?
A.
It requires labeled data
B.
Choosing the right number of clusters
C.
It cannot handle large datasets
D.
It is sensitive to outliers
Show solution
Solution
Choosing the right number of clusters (K) is a common challenge in K-Means clustering.
Correct Answer:
B
— Choosing the right number of clusters
Learn More →
Q. What is a common challenge when using SVM for large datasets?
A.
High interpretability
B.
Scalability and computational cost
C.
Low accuracy
D.
Limited feature selection
Show solution
Solution
SVM can be computationally intensive and may struggle with scalability when dealing with large datasets due to the complexity of the optimization problem.
Correct Answer:
B
— Scalability and computational cost
Learn More →
Q. What is a common characteristic of intermediate code?
A.
It is always in binary format
B.
It is platform-specific
C.
It is easier to analyze than high-level code
D.
It cannot be optimized
Show solution
Solution
Intermediate code is generally easier to analyze than high-level code due to its simpler structure and reduced abstraction.
Correct Answer:
C
— It is easier to analyze than high-level code
Learn More →
Q. What is a common evaluation metric for assessing the performance of a deployed classification model?
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 made by the model.
Correct Answer:
B
— Accuracy
Learn More →
Q. What is a common evaluation metric for models using Decision Trees and Random Forests?
A.
Mean Squared Error
B.
F1 Score
C.
Accuracy
D.
Precision
Show solution
Solution
Accuracy is a common metric used to evaluate the performance of classification models like Decision Trees and Random Forests.
Correct Answer:
C
— Accuracy
Learn More →
Q. What is a common evaluation metric for sequence prediction tasks using RNNs?
A.
Accuracy
B.
Mean Squared Error
C.
F1 Score
D.
Precision
Show solution
Solution
Mean Squared Error is commonly used to evaluate the performance of RNNs in regression tasks.
Correct Answer:
B
— Mean Squared Error
Learn More →
Q. What is a common evaluation metric for SVM performance?
A.
Mean Squared Error
B.
Accuracy
C.
Silhouette Score
D.
Confusion Matrix
Show solution
Solution
Accuracy is a common metric used to evaluate the performance of SVM classifiers.
Correct Answer:
B
— Accuracy
Learn More →
Q. What is a common evaluation metric used to assess the performance of a deployed classification model?
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. What is a common initialization method for K-means clustering?
A.
Randomly selecting data points as initial centroids
B.
Using the mean of the dataset as the centroid
C.
Hierarchical clustering to determine initial centroids
D.
Using the median of the dataset as the centroid
Show solution
Solution
A common initialization method for K-means is to randomly select data points from the dataset to serve as the initial centroids.
Correct Answer:
A
— Randomly selecting data points as initial centroids
Learn More →
Q. What is a common limitation of LL parsers?
A.
They cannot handle ambiguous grammars.
B.
They require more memory than LR parsers.
C.
They can only parse regular languages.
D.
They are slower than LR parsers.
Show solution
Solution
LL parsers cannot handle ambiguous grammars, which limits their applicability.
Correct Answer:
A
— They cannot handle ambiguous grammars.
Learn More →
Q. What is a common method for feature importance evaluation in Random Forests?
A.
Permutation importance
B.
Gradient boosting
C.
K-fold cross-validation
D.
Principal component analysis
Show solution
Solution
Permutation importance is a common method used to evaluate feature importance in Random Forests by measuring the increase in prediction error when the feature's values are permuted.
Correct Answer:
A
— Permutation importance
Learn More →
Q. What is a common method for handling missing data in a dataset?
A.
Removing all rows with missing values
B.
Imputing missing values with the mean or median
C.
Ignoring the missing values
D.
All of the above
Show solution
Solution
All of the above methods can be used to handle missing data, depending on the context and the amount of missingness.
Correct Answer:
D
— All of the above
Learn More →
Q. What is a common method for monitoring a deployed machine learning model?
A.
Cross-validation
B.
A/B testing
C.
Grid search
D.
K-fold validation
Show solution
Solution
A/B testing is commonly used to compare the performance of the deployed model against a baseline or alternative model in real-time.
Correct Answer:
B
— A/B testing
Learn More →
Q. What is a common method for monitoring deployed machine learning models?
A.
Cross-validation
B.
A/B testing
C.
Grid search
D.
K-fold validation
Show solution
Solution
A/B testing is commonly used to monitor deployed models by comparing the performance of two different versions in real-world scenarios.
Correct Answer:
B
— A/B testing
Learn More →
Q. What is a common method to determine the optimal number of clusters in K-means?
A.
Elbow method
B.
Cross-validation
C.
Grid search
D.
Random search
Show solution
Solution
The Elbow method is commonly used to determine the optimal number of clusters by plotting the explained variance against the number of clusters.
Correct Answer:
A
— Elbow method
Learn More →
Q. What is a common optimization technique applied during intermediate code generation?
A.
Loop unrolling
B.
Dead code elimination
C.
Inlining
D.
All of the above
Show solution
Solution
All of the listed techniques can be applied during the optimization phase of intermediate code generation to improve performance.
Correct Answer:
D
— All of the above
Learn More →
Q. What is a common pitfall in model selection?
A.
Using too few features
B.
Overfitting the model to the training data
C.
Not validating the model
D.
All of the above
Show solution
Solution
All these factors can lead to poor model performance and generalization.
Correct Answer:
D
— All of the above
Learn More →
Q. What is a common practice to ensure the reliability of a deployed model?
A.
Regularly retraining the model with new data
B.
Using a single model version indefinitely
C.
Ignoring user feedback
D.
Deploying without monitoring
Show solution
Solution
Regularly retraining the model with new data helps ensure its reliability and accuracy in changing environments.
Correct Answer:
A
— Regularly retraining the model with new data
Learn More →
Q. What is a common real-world application of feature engineering in finance?
A.
Predicting stock prices using historical data
B.
Classifying emails as spam or not spam
C.
Segmenting customers based on purchasing behavior
D.
Identifying fraudulent transactions
Show solution
Solution
Identifying fraudulent transactions often involves feature engineering to create relevant features that can help distinguish between legitimate and fraudulent activities.
Correct Answer:
D
— Identifying fraudulent transactions
Learn More →
Q. What is a common real-world application of feature engineering?
A.
Image classification
B.
Spam detection
C.
Customer segmentation
D.
All of the above
Show solution
Solution
Feature engineering is applicable in various real-world scenarios, including image classification, spam detection, and customer segmentation.
Correct Answer:
D
— All of the above
Learn More →
Q. What is a common searching algorithm used in applications with sorted data?
A.
Linear search
B.
Binary search
C.
Depth-first search
D.
Breadth-first search
Show solution
Solution
Binary search is commonly used in applications with sorted data because it efficiently narrows down the search space.
Correct Answer:
B
— Binary search
Learn More →
Q. What is a common strategy for handling model updates in production?
A.
Immediate replacement of the old model
B.
Rolling updates
C.
No updates allowed
D.
Training a new model from scratch
Show solution
Solution
Rolling updates allow for gradual deployment of new model versions while minimizing disruption to the service.
Correct Answer:
B
— Rolling updates
Learn More →
Q. What is a common use case for balanced trees like AVL and Red-Black trees?
A.
Implementing a priority queue
B.
Maintaining a sorted list of items
C.
Storing large binary files
D.
Performing matrix operations
Show solution
Solution
Balanced trees like AVL and Red-Black trees are commonly used to maintain a sorted list of items, allowing for efficient search and update operations.
Correct Answer:
B
— Maintaining a sorted list of items
Learn More →
Q. What is a common use case for cloud ML services in business?
A.
Data storage
B.
Predictive maintenance
C.
Basic data entry
D.
Manual reporting
Show solution
Solution
Predictive maintenance is a common use case, where cloud ML services analyze data to predict equipment failures.
Correct Answer:
B
— Predictive maintenance
Learn More →
Q. What is a common use case for cloud ML services in businesses?
A.
Data storage only
B.
Real-time fraud detection
C.
Manual data entry
D.
Basic spreadsheet calculations
Show solution
Solution
Real-time fraud detection is a common use case for cloud ML services, leveraging machine learning to identify fraudulent activities.
Correct Answer:
B
— Real-time fraud detection
Learn More →
Q. What is a common use case for Random Forests in real-world applications?
A.
Image recognition
B.
Natural language processing
C.
Credit scoring
D.
Time series forecasting
Show solution
Solution
Random Forests are widely used in credit scoring due to their ability to handle large datasets and provide robust predictions.
Correct Answer:
C
— Credit scoring
Learn More →
Q. What is a common use case for Red-Black trees in computer science?
A.
Memory management
B.
Network routing
C.
Implementing associative arrays
D.
File system management
Show solution
Solution
Red-Black trees are commonly used to implement associative arrays (or maps) due to their efficient insertion, deletion, and lookup operations.
Correct Answer:
C
— Implementing associative arrays
Learn More →
Q. What is a common use case for Red-Black trees in real-world applications?
A.
Memory management
B.
Network packet routing
C.
Implementing associative arrays
D.
Sorting large datasets
Show solution
Solution
Red-Black trees are commonly used to implement associative arrays (or maps) due to their efficient search, insert, and delete operations.
Correct Answer:
C
— Implementing associative arrays
Learn More →
Q. What is a common use case for Red-Black trees?
A.
Memory management
B.
Implementing associative arrays
C.
Sorting algorithms
D.
Graph traversal
Show solution
Solution
Red-Black trees are often used to implement associative arrays due to their balanced nature.
Correct Answer:
B
— Implementing associative arrays
Learn More →
Showing 871 to 900 of 3237 (108 Pages)