NEW
Font size
S
M
L
XL
Worksheetssearching and sorting
Total questions: 5
Worksheet time: 4mins
Name
Class
Date
1.
What algorithm is this?
a)
Binary Search
b)
Quick Sort
c)
Depth-First Search
d)
Linear Search
e)
Breadth-First Search
2.
What algorithm is this?
a)
Binary Search
b)
Merge Sort
c)
Insertion Sort
d)
Quick Sort
e)
Linear Search
3.
What algorithm is this?
a)
Merge Sort
b)
Linear Search
c)
Bubble Sort
d)
Insertion Sort
e)
Quick Sort
4.
What algorithm is this?
a)
Quick Sort
b)
Merge Sort
c)
Insertion Sort
d)
Bubble Sort
e)
Binary Search
5.
Describe the process of bubble sort algorithm.
a)
Bubble sort algorithm involves iterating over the list multiple times, comparing adjacent elements, and swapping them if they are in the wrong order. This process continues until the list is sorted.
b)
Bubble sort algorithm selects the largest element in the list and moves it to the end in each iteration.
c)
Bubble sort algorithm sorts the list by dividing it into subarrays and merging them together.
d)
Bubble sort algorithm involves randomly shuffling the list elements until they are in order.
Reset
