Searching and Sorting Algorithms

Searching and Sorting Algorithms

9th - 10th Grade

16 Qs

quiz-placeholder

Similar activities

Quiz on Misinformation and Bias

Quiz on Misinformation and Bias

10th Grade - University

18 Qs

Python Year 9 Quiz

Python Year 9 Quiz

8th - 10th Grade

19 Qs

Technology trends

Technology trends

7th - 12th Grade

15 Qs

Chapter 3: Storage devices and media (Part 2):

Chapter 3: Storage devices and media (Part 2):

10th - 11th Grade

15 Qs

Ulangan Harian 1 kls x 2023

Ulangan Harian 1 kls x 2023

10th Grade

20 Qs

ASAS SAINS KOMPUTER : TINGKATAN 3

ASAS SAINS KOMPUTER : TINGKATAN 3

4th Grade - University

12 Qs

Informatika Kelas 5 Bab 2

Informatika Kelas 5 Bab 2

5th Grade - University

19 Qs

Searching and Sorting Algorithms

Searching and Sorting Algorithms

Assessment

Quiz

Computers

9th - 10th Grade

Practice Problem

Medium

Created by

Tracy Mayhead

Used 50+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where can Linear Search be performed?

On letters

On Numbers

Both

None of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an advantage of the Linear search algorithm?

Performs well with small sized data sets

Is complicated to code

Can be used on data sets with more than a million elements

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a disadvantage of the Linear search algorithm?

It will only work on a sorted data set

May be too slow to process large data sets

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which of the following cases, binary search algorithm is used?​

To search an element in an unordered list.​

To search an element in a list of few elements.

To search an element in any ordered list with large number of elements.​

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Complete the sentence: The lower half of the list is discarded if the value at midpoint is …………………….. item searched.​

less than​

greater than​

equal to

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: The upper half of the list is discarded if the value at midpoint is greater than item searched.​

True

False

Access all questions and much more by creating a free account

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

Already have an account?