Searches and Sorts

Searches and Sorts

9th - 12th Grade

34 Qs

Similar activities

AP Computer Science Principles Review

AP Computer Science Principles Review

9th - 12th Grade

34 Qs

Code.org: Unit 1 Test

Code.org: Unit 1 Test

6th - 9th Grade

34 Qs

1.3.4 Web Technologies

1.3.4 Web Technologies

12th Grade

30 Qs

Emerging Technologies Review

Emerging Technologies Review

9th - 12th Grade

32 Qs

J276 2.1 Algorithms

J276 2.1 Algorithms

9th Grade

33 Qs

end of year Quiz

end of year Quiz

12th Grade - University

35 Qs

COMPUTER SCIENCE - QUIZZ

COMPUTER SCIENCE - QUIZZ

11th Grade

30 Qs

OCR J277 GCSE Paper 1 Recap

OCR J277 GCSE Paper 1 Recap

9th Grade - University

35 Qs

Searches and Sorts

Searches and Sorts

Assessment

Quiz

Created by

Rachel Pugh

Computers

9th - 12th Grade

10 plays

Medium

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Bubble sort uses a divide-and-conquer approach.

True

False

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Which sort is the slowest and most inefficient of all?

Bubble sort

Merge sort

Selection sort

Insertion sort

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

The divide-and-conquer approach is the fastest approach in most cases

True

False

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

In an insertion sort, what would the list look like after the third pass?

1 2 5 4 3

1 2 3 4 5

1 2 4 5 3

2 5 1 4 3

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Which of the following best describes merge sort?

The original list is divided into four parts and reduced.

The original list is split in half and then sorted and combined.

The original list is broken up into sublists repeatedly until each sublist contains one element and then combined

If the number of elements is even, the list is divided into two parts and sorted but if it is odd, the list is divided into three parts and then sorted.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a searching algorithm do?
Search through a set of data
Save a set of data
Help to organise data

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be needed if searching algorithms didn't exist?
The data would need to be saved
Each item of data would need to be looked at one by one, until the searched for data was found
A new set of data to look at would be needed

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a type of searching algorithm?
Linear search
Word search
Search engine

9.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does a linear search do?
Looks at the first item of data, then each one in turn, until it finds the data item requested
Organises the data into alphabetical order
Splits the data until the requested data is found

10.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is an advantage of a linear search?
It is very quick
It only works with ordered lists
It is a simple algorithm

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?