Q. Which of the following is a common activation function used in hidden layers of neural networks?
A.
Softmax
B.
ReLU
C.
Mean Squared Error
D.
Cross-Entropy
Show solution
Solution
ReLU (Rectified Linear Unit) is commonly used in hidden layers due to its simplicity and effectiveness.
Correct Answer:
B
— ReLU
Learn More →
Q. Which of the following is a common activation function used in neural networks?
A.
Mean Squared Error
B.
ReLU
C.
Gradient Descent
D.
Softmax
Show solution
Solution
ReLU (Rectified Linear Unit) is a widely used activation function that helps mitigate the vanishing gradient problem.
Correct Answer:
B
— ReLU
Learn More →
Q. Which of the following is a common algorithm used for classification tasks?
A.
Linear Regression
B.
Logistic Regression
C.
K-Means Clustering
D.
Principal Component Analysis
Show solution
Solution
Logistic Regression is commonly used for classification tasks as it predicts the probability of a binary outcome.
Correct Answer:
B
— Logistic Regression
Learn More →
Q. Which of the following is a common algorithm used for regression tasks?
A.
K-Means
B.
Linear Regression
C.
Decision Trees
D.
Support Vector Machines
Show solution
Solution
Linear Regression is a common algorithm used for regression tasks, predicting a continuous output.
Correct Answer:
B
— Linear Regression
Learn More →
Q. Which of the following is a common application of a queue?
A.
Function call management
B.
Undo functionality in text editors
C.
Breadth-first search in graphs
D.
Expression evaluation
Show solution
Solution
Queues are commonly used in breadth-first search algorithms to manage the nodes to be explored.
Correct Answer:
C
— Breadth-first search in graphs
Learn More →
Q. Which of the following is a common application of a stack?
A.
Undo functionality in text editors
B.
Managing tasks in a queue
C.
Storing elements in sorted order
D.
Finding the shortest path in a graph
Show solution
Solution
Stacks are commonly used for undo functionality in text editors, as they allow the last action to be reversed easily.
Correct Answer:
A
— Undo functionality in text editors
Learn More →
Q. Which of the following is a common application of arrays in real-world scenarios?
A.
Storing user profiles in a database
B.
Implementing a stack data structure
C.
Managing a playlist of songs
D.
Representing a binary tree
Show solution
Solution
Arrays are often used to manage a playlist of songs because they allow for easy access and manipulation of the song list.
Correct Answer:
C
— Managing a playlist of songs
Learn More →
Q. Which of the following is a common application of AVL trees?
A.
Implementing a priority queue.
B.
Maintaining a sorted list of items.
C.
Storing data in a hash table.
D.
Implementing a stack.
Show solution
Solution
AVL trees are commonly used to maintain a sorted list of items due to their efficient search, insertion, and deletion operations.
Correct Answer:
B
— Maintaining a sorted list of items.
Learn More →
Q. Which of the following is a common application of binary search?
A.
Finding the minimum element in an array
B.
Finding an element in a sorted array
C.
Sorting an array
D.
Reversing an array
Show solution
Solution
Binary search is commonly used to find an element in a sorted array.
Correct Answer:
B
— Finding an element in a sorted array
Learn More →
Q. Which of the following is a common application of Depth-First Search (DFS)?
A.
Finding the shortest path in a graph
B.
Topological sorting of a directed acyclic graph
C.
Finding the minimum spanning tree
D.
Checking for bipartiteness in a graph
Show solution
Solution
DFS is commonly used for topological sorting in directed acyclic graphs, as it can explore all vertices and edges in a depth-first manner.
Correct Answer:
B
— Topological sorting of a directed acyclic graph
Learn More →
Q. Which of the following is a common application of dynamic programming in numerical applications?
A.
Matrix multiplication
B.
Finding the shortest path
C.
Sorting algorithms
D.
Binary search
Show solution
Solution
Finding the shortest path in a graph is a common application of dynamic programming.
Correct Answer:
B
— Finding the shortest path
Learn More →
Q. Which of the following is a common application of dynamic programming?
A.
Finding the shortest path in a graph
B.
Sorting an array
C.
Searching an element in a list
D.
Reversing a string
Show solution
Solution
Finding the shortest path in a graph, such as using Dijkstra's algorithm, is a common application of dynamic programming.
Correct Answer:
A
— Finding the shortest path in a graph
Learn More →
Q. Which of the following is a common application of greedy algorithms?
A.
Sorting data
B.
Finding the shortest path
C.
Job scheduling
D.
All of the above
Show solution
Solution
Job scheduling is a common application of greedy algorithms, particularly in maximizing resource utilization.
Correct Answer:
C
— Job scheduling
Learn More →
Q. Which of the following is a common application of linear regression?
A.
Image classification
B.
Stock price prediction
C.
Customer segmentation
D.
Anomaly detection
Show solution
Solution
Linear regression is commonly used for predicting continuous outcomes, such as stock prices based on historical data.
Correct Answer:
B
— Stock price prediction
Learn More →
Q. Which of the following is a common application of linked lists?
A.
Implementing stacks
B.
Sorting algorithms
C.
Binary search
D.
Hash tables
Show solution
Solution
Linked lists are commonly used to implement stacks due to their dynamic size and ease of adding/removing elements.
Correct Answer:
A
— Implementing stacks
Learn More →
Q. Which of the following is a common application of neural networks in case studies?
A.
Image recognition
B.
Data sorting
C.
Basic arithmetic calculations
D.
Text formatting
Show solution
Solution
Image recognition is a well-known application of neural networks, showcasing their ability to learn from visual data.
Correct Answer:
A
— Image recognition
Learn More →
Q. Which of the following is a common application of neural networks in real-world case studies?
A.
Weather forecasting
B.
Database management
C.
Web hosting
D.
File compression
Show solution
Solution
Neural networks are commonly applied in weather forecasting to analyze and predict weather patterns based on historical data.
Correct Answer:
A
— Weather forecasting
Learn More →
Q. Which of the following is a common application of neural networks?
A.
Image recognition
B.
Sorting algorithms
C.
Data encryption
D.
Web scraping
Show solution
Solution
Neural networks are widely used in image recognition tasks due to their ability to learn complex patterns in visual data.
Correct Answer:
A
— Image recognition
Learn More →
Q. Which of the following is a common application of queues?
A.
Function call management
B.
Backtracking algorithms
C.
Breadth-first search in graphs
D.
Sorting algorithms
Show solution
Solution
Queues are commonly used in breadth-first search (BFS) algorithms for traversing graphs.
Correct Answer:
C
— Breadth-first search in graphs
Learn More →
Q. Which of the following is a common application of regression analysis?
A.
Image classification
B.
Spam detection
C.
Predicting house prices
D.
Customer segmentation
Show solution
Solution
Regression analysis is commonly used to predict continuous outcomes, such as house prices based on various features.
Correct Answer:
C
— Predicting house prices
Learn More →
Q. Which of the following is a common application of reinforcement learning?
A.
Image recognition
B.
Game playing
C.
Data clustering
D.
Text classification
Show solution
Solution
Reinforcement learning is commonly applied in game playing, where an agent learns to make decisions through trial and error.
Correct Answer:
B
— Game playing
Learn More →
Q. Which of the following is a common application of RNNs?
A.
Image classification
B.
Time series prediction
C.
Clustering data
D.
Dimensionality reduction
Show solution
Solution
RNNs are commonly used for time series prediction due to their ability to process sequential data.
Correct Answer:
B
— Time series prediction
Learn More →
Q. Which of the following is a common application of stacks in numerical computations?
A.
Evaluating postfix expressions
B.
Finding the shortest path in a graph
C.
Sorting an array
D.
Searching for an element in a list
Show solution
Solution
Stacks are commonly used to evaluate postfix expressions due to their LIFO nature.
Correct Answer:
A
— Evaluating postfix expressions
Learn More →
Q. Which of the following is a common application of supervised learning?
A.
Market segmentation
B.
Spam detection
C.
Anomaly detection
D.
Data compression
Show solution
Solution
Spam detection is a common application of supervised learning, where the model is trained to classify emails as spam or not.
Correct Answer:
B
— Spam detection
Learn More →
Q. Which of the following is a common approach to implement dynamic programming?
A.
Top-down with memoization
B.
Bottom-up tabulation
C.
Both top-down and bottom-up
D.
None of the above
Show solution
Solution
Both top-down with memoization and bottom-up tabulation are common approaches to implement dynamic programming.
Correct Answer:
C
— Both top-down and bottom-up
Learn More →
Q. Which of the following is a common assumption made by linear regression models?
A.
The relationship between variables is non-linear
B.
The residuals are normally distributed
C.
The predictors are categorical
D.
There is no multicollinearity among predictors
Show solution
Solution
One common assumption of linear regression is that the residuals (errors) are normally distributed.
Correct Answer:
B
— The residuals are normally distributed
Learn More →
Q. Which of the following is a common assumption made by linear regression?
A.
The relationship between variables is non-linear
B.
The residuals are normally distributed
C.
The dependent variable is categorical
D.
There is no multicollinearity among predictors
Show solution
Solution
Linear regression assumes that there is no multicollinearity among the predictors, meaning they should not be highly correlated.
Correct Answer:
D
— There is no multicollinearity among predictors
Learn More →
Q. Which of the following is a common assumption made in linear regression?
A.
The dependent variable is categorical
B.
The residuals are normally distributed
C.
The independent variables are correlated
D.
The model is non-linear
Show solution
Solution
One common assumption in linear regression is that the residuals (errors) are normally distributed.
Correct Answer:
B
— The residuals are normally distributed
Learn More →
Q. Which of the following is a common challenge faced during model deployment?
A.
Data preprocessing
B.
Model interpretability
C.
Integration with existing systems
D.
Feature selection
Show solution
Solution
Integration with existing systems is a common challenge during model deployment, as it requires ensuring that the model can work seamlessly with other software and data pipelines.
Correct Answer:
C
— Integration with existing systems
Learn More →
Q. Which of the following is a common challenge in MLOps?
A.
Data privacy regulations
B.
Lack of data
C.
Overfitting models
D.
All of the above
Show solution
Solution
All of the above are common challenges faced in MLOps, including data privacy regulations, lack of data, and overfitting models.
Correct Answer:
D
— All of the above
Learn More →
Showing 2551 to 2580 of 3237 (108 Pages)