Y8 Search Algorithms: End of Topic Quiz

Y8 Search Algorithms: End of Topic Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

Machine Learning

Machine Learning

5th Grade - Professional Development

16 Qs

Machine Learning Test-4

Machine Learning Test-4

Professional Development

14 Qs

PST Using C Part1

PST Using C Part1

Professional Development

10 Qs

Deep Learning Basics Quiz

Deep Learning Basics Quiz

Professional Development

10 Qs

Datastructures

Datastructures

University - Professional Development

15 Qs

Tutorial 1

Tutorial 1

Professional Development

10 Qs

Sort

Sort

University - Professional Development

15 Qs

machineLearning Test

machineLearning Test

Professional Development

20 Qs

Y8 Search Algorithms: End of Topic Quiz

Y8 Search Algorithms: End of Topic Quiz

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Jon Bridgeman

Used 31+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the linear search algorithm used for?

Searching data

Encrypting data

Deleting data

Sorting data

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in a linear search?

Examine value at counter position

Find out the length of the data set

Increment the counter by 1

Check if the value at position matches the value searched for

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a linear search, what happens if the value is found?

The counter is incremented

The search ends

The length of the data set is checked

The search continues

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How many of the following statements (1-4) are disadvantages of a linear search?

It only works on ordered data sets

It is inefficient

It is not suitable for large data sets

It is complex to implement

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these statements about a linear search is TRUE?

It is efficient

It only works if the data is in order

The data does not have to be in order

It is suitable for large data sets

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'counter' in a linear search?

To store the value being searched for

To keep track of the number of items searched

To determine the length of the data set

To check if the value is found

7.

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

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?