Computer Science & IT

Download Q&A
Q. Which algorithm can be used as an alternative to Dijkstra's algorithm for graphs with negative weights?
  • A. Prim's algorithm
  • B. Kruskal's algorithm
  • C. Bellman-Ford algorithm
  • D. A* algorithm
Q. Which algorithm can be used instead of Dijkstra's algorithm for graphs with negative weights?
  • A. A* Search Algorithm
  • B. Bellman-Ford Algorithm
  • C. Floyd-Warshall Algorithm
  • D. Depth-First Search
Q. Which algorithm can be used to detect cycles in a directed graph?
  • A. BFS
  • B. DFS
  • C. Dijkstra's Algorithm
  • D. Prim's Algorithm
Q. Which algorithm can be used to find the shortest path in a graph with negative weights?
  • A. Dijkstra's Algorithm
  • B. Bellman-Ford Algorithm
  • C. A* Search Algorithm
  • D. Floyd-Warshall Algorithm
Q. Which algorithm is a better choice than Dijkstra's for graphs with negative edge weights?
  • A. A* Search Algorithm
  • B. Bellman-Ford Algorithm
  • C. Floyd-Warshall Algorithm
  • D. Depth-First Search
Q. Which algorithm is an example of dynamic programming used for optimization?
  • A. Dijkstra's algorithm
  • B. Bellman-Ford algorithm
  • C. Floyd-Warshall algorithm
  • D. All of the above
Q. Which algorithm is best suited for finding connected components in a graph?
  • A. BFS
  • B. DFS
  • C. Dijkstra's Algorithm
  • D. A* Search
Q. Which algorithm is better for finding connected components in a graph?
  • A. BFS
  • B. DFS
  • C. Both are equally good
  • D. None of the above
Q. Which algorithm is commonly associated with reinforcement learning?
  • A. K-Means Clustering
  • B. Q-Learning
  • C. Linear Regression
  • D. Principal Component Analysis
Q. Which algorithm is commonly used for binary classification problems?
  • A. K-Means Clustering
  • B. Linear Regression
  • C. Logistic Regression
  • D. Principal Component Analysis
Q. Which algorithm is commonly used for binary classification tasks?
  • A. Linear Regression
  • B. Logistic Regression
  • C. K-Means Clustering
  • D. Principal Component Analysis
Q. Which algorithm is commonly used for classification tasks?
  • A. Linear Regression
  • B. K-Nearest Neighbors
  • C. Principal Component Analysis
  • D. K-Means Clustering
Q. Which algorithm is commonly used for clustering?
  • A. Linear Regression
  • B. K-Means
  • C. Support Vector Machine
  • D. Decision Tree
Q. Which algorithm is commonly used for linear regression?
  • A. K-Nearest Neighbors
  • B. Support Vector Machines
  • C. Ordinary Least Squares
  • D. Decision Trees
Q. Which algorithm is commonly used for multi-class classification problems?
  • A. Support Vector Machines
  • B. K-Means Clustering
  • C. Linear Regression
  • D. Decision Trees
Q. Which algorithm is guaranteed to find the shortest path in a graph with negative weight edges?
  • A. Dijkstra's algorithm
  • B. A* algorithm
  • C. Bellman-Ford algorithm
  • D. Floyd-Warshall algorithm
Q. Which algorithm is more memory efficient for deep graphs?
  • A. BFS
  • B. DFS
  • C. Both are equal
  • D. Neither is efficient
Q. Which algorithm is more memory efficient for large graphs?
  • A. BFS
  • B. DFS
  • C. Both are equally efficient
  • D. Neither is efficient
Q. Which algorithm is more suitable for finding the shortest path in a graph with negative weights?
  • A. Dijkstra's Algorithm
  • B. Bellman-Ford Algorithm
  • C. A* Search Algorithm
  • D. Floyd-Warshall Algorithm
Q. Which algorithm is primarily used for regression tasks in Decision Trees?
  • A. CART (Classification and Regression Trees)
  • B. ID3
  • C. C4.5
  • D. K-Means
Q. Which algorithm is typically faster for making predictions, Decision Trees or Random Forests?
  • A. Decision Trees
  • B. Random Forests
  • C. Both are equally fast
  • D. It depends on the dataset size
Q. Which algorithm is typically faster for making predictions?
  • A. Decision Trees
  • B. Random Forests
  • C. Support Vector Machines
  • D. Neural Networks
Q. Which algorithm is typically faster to train on large datasets?
  • A. Decision Trees
  • B. Random Forests
  • C. Both are equally fast
  • D. Neither, both are slow
Q. Which algorithm is typically used for binary classification tasks?
  • A. K-Means Clustering
  • B. Linear Regression
  • C. Logistic Regression
  • D. Principal Component Analysis
Q. Which algorithm is typically used for binary classification?
  • A. K-Means Clustering
  • B. Linear Regression
  • C. Logistic Regression
  • D. Principal Component Analysis
Q. Which algorithm is typically used for both regression and classification tasks?
  • A. K-Nearest Neighbors
  • B. Naive Bayes
  • C. Random Forest
  • D. Principal Component Analysis
Q. Which algorithm is typically used for finding connected components in a graph?
  • A. Dijkstra's Algorithm
  • B. Prim's Algorithm
  • C. BFS or DFS
  • D. Kruskal's Algorithm
Q. Which algorithm is typically used for finding the shortest path in a weighted graph?
  • A. DFS
  • B. BFS
  • C. Dijkstra's Algorithm
  • D. Prim's Algorithm
Q. Which algorithm is typically used for linear regression?
  • A. K-Nearest Neighbors
  • B. Support Vector Machines
  • C. Ordinary Least Squares
  • D. Decision Trees
Q. Which algorithm is typically used for multi-class classification problems?
  • A. Logistic Regression
  • B. K-Nearest Neighbors
  • C. Linear Regression
  • D. Principal Component Analysis
Showing 2101 to 2130 of 3237 (108 Pages)
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely