Linear Search

Linear Search

10th Grade

14 Qs

quiz-placeholder

Similar activities

AP CSP BI 3

AP CSP BI 3

9th - 12th Grade

13 Qs

Search Algorithms Y9 Quiz

Search Algorithms Y9 Quiz

10th Grade

18 Qs

Algorithms

Algorithms

3rd - 12th Grade

15 Qs

01 Searching Algorithms

01 Searching Algorithms

9th - 12th Grade

15 Qs

Computational Thinking & Searching Algorithm

Computational Thinking & Searching Algorithm

9th - 10th Grade

12 Qs

2.1 Linear and Binary Searching Algorithms

2.1 Linear and Binary Searching Algorithms

8th - 10th Grade

16 Qs

AQA GCSE Computer Science - 3.1.3 Binary Search

AQA GCSE Computer Science - 3.1.3 Binary Search

8th - 10th Grade

19 Qs

NEW_SMP_Mls8_Quiz

NEW_SMP_Mls8_Quiz

7th - 12th Grade

18 Qs

Linear Search

Linear Search

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Ryan Coughlin

Used 28+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

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.

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image
A Linear search algorithm requires data to be ordered.
True
False

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

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

5.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

How many linear searches will it take to find the value 7 in the list [1,4,8,7,10,28]?
2
3
4
5

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What is a trace table?
A technique used to test algorithms for logical errors.
A technique used for drawing in art.
A type of sort algorithm
A type of search algorithm

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image
What will happen in a Linear search algorithm if no match is found?
It continues to search in a never ending loop.
"Item not found" is returned

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?