T-Level DPDD: Searching & Sorting Algorithms Quiz

T-Level DPDD: Searching & Sorting Algorithms Quiz

11th Grade

27 Qs

quiz-placeholder

Similar activities

Computer Algorithm

Computer Algorithm

9th - 12th Grade

23 Qs

Understanding Algorithms

Understanding Algorithms

9th - 12th Grade

23 Qs

Crash Course Computer Science

Crash Course Computer Science

9th - 12th Grade

23 Qs

Algorithm in Computer Science

Algorithm in Computer Science

9th - 12th Grade

23 Qs

Searching and Sorting

Searching and Sorting

10th Grade - University

25 Qs

GCSE - Mixed question computer science revision

GCSE - Mixed question computer science revision

10th - 11th Grade

24 Qs

SKT5 : Bab 3 : a) Bahasa Penskripan Klien

SKT5 : Bab 3 : a) Bahasa Penskripan Klien

10th - 12th Grade

26 Qs

Common Algorithms

Common Algorithms

9th - 12th Grade

25 Qs

T-Level DPDD: Searching & Sorting Algorithms Quiz

T-Level DPDD: Searching & Sorting Algorithms Quiz

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Sara Burton

Used 1+ times

FREE Resource

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the simplest method of searching a data set, often referred to as a 'serial' search?

Binary search

Linear search

Hash search

Tree search

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a linear search, what happens if the item being searched for is not found in the data set?

The search continues indefinitely

The algorithm must be able to deal with this

The search starts over from the beginning

The search ends immediately

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a benefit of using a linear search?

The list must be ordered

It is very slow when searching lists with vast quantities of data items

It can carry out a search on any type of data

It requires complex program code

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a key requirement for a binary search to work as intended?

The data should be in a sorted format

The data should be in a random format

The data should be in a reverse order

The data should be in a tree structure

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a binary search, what happens if the search value is lower than the middle of the array interval?

The interval is changed to the upper half of the array

The interval is changed to the lower half of the array

The search ends immediately

The search starts over from the beginning

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a drawback of using a binary search?

Faster performance than a linear search

Data must be sorted (ordered) first

Can carry out a search on any type of data

Simpler to write program code

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a benefit of using a binary search over a linear search?

The list does not have to be ordered

It is very slow when searching lists with vast quantities of data items

Faster performance because the data that requires searching is halved at each stage

It requires complex program code

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?