Search_N_Sort

Search_N_Sort

University

23 Qs

quiz-placeholder

Similar activities

CS 213 - Data Structures and Algorithm

CS 213 - Data Structures and Algorithm

University

25 Qs

Algorithm Design

Algorithm Design

University

25 Qs

INTRODUCTION TO TREE DATA STRUCTURE

INTRODUCTION TO TREE DATA STRUCTURE

University

20 Qs

Data Structures- Introduction

Data Structures- Introduction

University

20 Qs

C - Data Structures (Unit 1 - QUIZ)

C - Data Structures (Unit 1 - QUIZ)

University

25 Qs

Algorithm Analysis

Algorithm Analysis

University

21 Qs

CSI104-finished algorithms

CSI104-finished algorithms

University

20 Qs

computer science

computer science

KG - Professional Development

22 Qs

Search_N_Sort

Search_N_Sort

Assessment

Quiz

Computers

University

Hard

Created by

Mustafa Buzun

FREE Resource

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For a binary search to work, the following is true ...

Items must be in order

Items are not stored in any useful order

Items do not need to be stored in any useful order

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For a linear search to work, the following is true ...

Items must be in order

Items are not stored in any useful order

Items do not need to be stored in any useful order

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where does a binary search start?

The middle item

A hashing function on the key

The first item

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where does a linear search start?

The middle item

A hashing function on the key

The first item

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Linear search ...

Delivers the location of the item to be found unless there is a collision or does not exist

Halves the set items to search after each comparison until there are no more to check

Searches each item in the sequence until the item is found or there are no more items to check

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Suitable for large numbers of items

Binary search

Hash table search

Linear search

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suitable for small numbers of items

Binary search

Hash table search

Linear search

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?