
Guess the algorithm - based on its behaviour
Authored by Ruebin Joseph
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
This sorting algorithm repeatedly compares adjacent elements and swaps them if they are in the wrong order.
Merge Sort
Bubble Sort
Insertion Sort
Quick Sort
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which algorithm uses a divide-and-conquer strategy to sort elements by picking a “pivot”?
Selection Sort
Quick Sort
Heap Sort
Bubble Sort
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which search algorithm only works on sorted arrays and divides the search space in half each time?
Linear Search
Hash Search
Binary Search
Depth-First Search
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
This pathfinding algorithm guarantees the shortest path in a weighted graph with non-negative weights.
BFS
Dijkstra's Algorithm
A* Algorithm
Bellman-Ford
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
In machine learning, which algorithm is used to group data points into k clusters based on proximity?
Decision Tree
K-Means Clustering
Naive Bayes
PCA
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What algorithm maintains a heap structure to always access the minimum (or maximum) element efficiently?
Merge Sort
Kruskal’s Algorithm
Heap Sort
Selection Sort
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which algorithm starts at the root and explores as far as possible along each branch before backtracking?
Breadth-First Search
Binary Search
Depth-First Search
Linear Search
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?