Y8 Search Algorithms: End of Topic Quiz

Y8 Search Algorithms: End of Topic Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

Power Apps Introduction

Power Apps Introduction

Professional Development

10 Qs

Prova de Análise e Projeto de Sistemas

Prova de Análise e Projeto de Sistemas

Professional Development

10 Qs

NM-BIG DATA Course

NM-BIG DATA Course

Professional Development

20 Qs

3D Objects - Terms & Transfomations

3D Objects - Terms & Transfomations

6th Grade - Professional Development

20 Qs

Trg@home 1

Trg@home 1

Professional Development

10 Qs

Topic Quiz-1 : Python Basics

Topic Quiz-1 : Python Basics

Professional Development

10 Qs

Apache Spark

Apache Spark

Professional Development

10 Qs

U.T. 7: Configuración de Routers y Encaminamiento

U.T. 7: Configuración de Routers y Encaminamiento

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?