Y8 Search Algorithms: End of Topic Quiz

Y8 Search Algorithms: End of Topic Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

InCube #Quiz 5

InCube #Quiz 5

Professional Development

17 Qs

Introduction to Machine Learning

Introduction to Machine Learning

University - Professional Development

20 Qs

Data Structure

Data Structure

Professional Development

20 Qs

Final Quiz

Final Quiz

Professional Development

20 Qs

Deep Learning

Deep Learning

Professional Development

10 Qs

PST Using C Part1

PST Using C Part1

Professional Development

10 Qs

DS_MOODLE_TEST_2

DS_MOODLE_TEST_2

Professional Development

20 Qs

IT ENGLISH: Technical Terminology - Algorithm

IT ENGLISH: Technical Terminology - Algorithm

Professional Development

10 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 30+ 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?