Search & Sort Algorithms

Search & Sort Algorithms

7th - 11th Grade

18 Qs

quiz-placeholder

Similar activities

Intro to Algorithms

Intro to Algorithms

9th - 12th Grade

23 Qs

Binary Searching

Binary Searching

9th Grade

17 Qs

Binary Search C++

Binary Search C++

9th Grade

17 Qs

Berpikir Komputasional

Berpikir Komputasional

10th Grade

20 Qs

AS Computing: Data Structures

AS Computing: Data Structures

10th Grade - University

15 Qs

2.1 Algorithms

2.1 Algorithms

10th - 12th Grade

20 Qs

Searching & Sorting Algorithms

Searching & Sorting Algorithms

10th Grade - University

16 Qs

P2: Section 5 Sorting and Searching Algorithms

P2: Section 5 Sorting and Searching Algorithms

10th Grade

17 Qs

Search & Sort Algorithms

Search & Sort Algorithms

Assessment

Quiz

Computers

7th - 11th Grade

Medium

Created by

Mr Abbas

Used 838+ times

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which type of lists are linear search algorithms used for?
Unsorted lists
Sorted lists

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A binary search algorithm will only work on a list which is in order. True or False
True
False

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which one of the following is an advantage of a linear search?
It takes a long time to find the item.
It is a simple algorithm to write.
It is more efficient than a binary search.
It is a complex algorithm to write.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Using a binary search why will the number 9 never be found in the following list:
11, 8, 13, 9, 7, 3
It does not work on numbers
It only works on letters
The list is not in order

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following descriptions best describes a linear search:
Put the elements in order, check each item in turn
Put the elements in order, compare with the middle value, split the list in order and repeat
Elements do not need to be in order, check each item in turn.
Elements do not need to be in order, compare to the middle value, split the list in order and repeat.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following best describes a binary search:
Put the elements in order, check each item in turn.
Put the elements in order, compare with the middle value, split the list in order and repeat
Elements do not need to be in order, check each item in turn.
Elements do not need to be in order, compare to the middle value, split the list in order and repeat.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A linear search is to be performed on the list:
12, 6, 8, 1, 3
How many searches would it take to find the number 1?
1
2
3
4

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?