Y8 Search Algorithms: End of Topic Quiz

Y8 Search Algorithms: End of Topic Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

ICT rv

ICT rv

Professional Development

14 Qs

BDA Unit Test II

BDA Unit Test II

Professional Development

20 Qs

Testout ITF Databases

Testout ITF Databases

9th Grade - Professional Development

20 Qs

FDE cycle

FDE cycle

Professional Development

11 Qs

Data Structure

Data Structure

Professional Development

20 Qs

Vlookup Formula in Excel

Vlookup Formula in Excel

Professional Development

10 Qs

Online Navigation

Online Navigation

Professional Development

15 Qs

IT ENGLISH: Research Project Topics - Drones

IT ENGLISH: Research Project Topics - Drones

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 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?