Professional Documents
Culture Documents
Daa Quiz
Daa Quiz
Question 1
binary search
linear search
jump search
Question 2
When the list has only a few elements and When performing a single
search in an unordered list
Question 3
Linear search
Fibonacci Search
Jump search
Binary search
Question 4
jump search
binary search
interpolation search
linear search
Question 5
Which of the following is not an application of binary search?
Group of answer choices
Debugging
Union of intervals
Question 6
Which of the following sorting algorithms is the fastest for sorting
small arrays?
Group of answer choices
Shell sort
Quick sort
Heap sort
Insertion sort
Question 71 pts
Which of the following method is used for sorting in merge sort?
Group of answer choices
selection
merging
exchanging
partitioning
Question 8
Which of the following sorting algorithms is the fastest?
Group of answer choices
Quick sort
Shell sort
Insertion sort
Merge sort
Question 91 pts
What is a Rabin and Karp Algorithm?
Group of answer choices
Approximation Algorithm
19
23
15
24
It is a greedy algorithm
What is the weight of the minimum spanning tree using the Prim’s
algorithm,starting from vertex a?
Group of answer choices
27
23
28
11
Approximation algorithm
Dynamic Programming
Greedy algorithm
Network flow
Sorting
Question 161 pts
Which of the following is the most commonly used data structure for
implementing Dijkstra’s Algorithm?
Group of answer choices
Circular queue
Stack
a-c-e
a-c-d-e
a-b-e
a-c-d-b-e
Question 181 pts
Which is the correct technique for finding a maximum matching in a
graph?
Group of answer choices
DFS traversal
BFS traversal
Transitive closure
Topological sort
n-queen problem