T-Level DPDD: Searching & Sorting Algorithms Quiz

T-Level DPDD: Searching & Sorting Algorithms Quiz

11th Grade

27 Qs

quiz-placeholder

Similar activities

GCSE Computer Science - 2.1: Algorithms

GCSE Computer Science - 2.1: Algorithms

9th - 11th Grade

31 Qs

APCSP Unit 5 Study Guide

APCSP Unit 5 Study Guide

9th - 12th Grade

28 Qs

Algorithms - python (GCSE)

Algorithms - python (GCSE)

10th - 12th Grade

25 Qs

Computer Science - Fundamentals of Algorithms

Computer Science - Fundamentals of Algorithms

11th Grade

30 Qs

Algorithms

Algorithms

10th - 11th Grade

32 Qs

Paper 2 Quiz 1

Paper 2 Quiz 1

10th - 11th Grade

25 Qs

Sorting Algorithm

Sorting Algorithm

9th - 12th Grade

25 Qs

Sorting Algorithms in Java

Sorting Algorithms in Java

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?