2.1 Linear and Binary Searching Algorithms

2.1 Linear and Binary Searching Algorithms

8th - 10th Grade

16 Qs

quiz-placeholder

Similar activities

Algorithms Review

Algorithms Review

10th Grade

18 Qs

Binary Search

Binary Search

9th Grade

17 Qs

Y10D/Computer Science GCSE - Algorithms - Linear & Binary

Y10D/Computer Science GCSE - Algorithms - Linear & Binary

10th Grade

14 Qs

Ulangkaji ASK T3 (Bab 3)

Ulangkaji ASK T3 (Bab 3)

9th - 11th Grade

20 Qs

AP CSP Unit 6

AP CSP Unit 6

9th - 12th Grade

17 Qs

Searching and Sorting Algorithms

Searching and Sorting Algorithms

6th - 8th Grade

20 Qs

Algorithms 1A   J277

Algorithms 1A J277

9th Grade

20 Qs

Searching and Sorting Algorithms

Searching and Sorting Algorithms

9th - 10th Grade

16 Qs

2.1 Linear and Binary Searching Algorithms

2.1 Linear and Binary Searching Algorithms

Assessment

Quiz

Computers

8th - 10th Grade

Medium

Used 845+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Define what is meant by the term 'algorithm'
Step by step instructions or rules to solve a problem.
Code for a specific task.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of lists or data sets are linear searching algorithms used for?
Unsorted lists or data sets
Sorted lists or data sets

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of lists or data sets are binary searching algorithms used for?
Unsorted lists or data sets
Sorted lists or data sets

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the best description to explain what a linear search algorithm is.
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

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the best description to explain what a binary search algorithm is.

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

30 sec • 1 pt

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

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A binary search is to be performed on the list:
3  5  9  10  23
How many comparisons would it take to find number 9?
0-1
2-3
4-5
I can't find the number 9

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?