Data Struct: Quiz 3

Data Struct: Quiz 3

University

10 Qs

quiz-placeholder

Similar activities

BASICS OF DATA COMMUNICATION

BASICS OF DATA COMMUNICATION

University

11 Qs

QUIZ ON SCIENCE 6

QUIZ ON SCIENCE 6

6th Grade - University

10 Qs

ECM3434 Business Analysis 1 - Business process modelling

ECM3434 Business Analysis 1 - Business process modelling

University

10 Qs

Arquitetura de computadores (Aula 2)

Arquitetura de computadores (Aula 2)

University

8 Qs

IELTS Reading - History of the Steam Engine

IELTS Reading - History of the Steam Engine

University - Professional Development

12 Qs

AI-1

AI-1

KG - University

13 Qs

STGY PPS QUIZ  TEST

STGY PPS QUIZ TEST

University

15 Qs

Data Struct: Quiz 3

Data Struct: Quiz 3

Assessment

Quiz

Science, Computers

University

Hard

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Choose a CORRECT statement about pivot in quick sort method.

A pivot divides the list evenly.

A pivot can be chosen randomly.

A pivot can be chosen by using a formula

A pivot makes the searching method becomes slow

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Identify the INCORRECT statement about searching


i. Binary search starts by testing the largest data

ii. Linear search can be done for unsorted data only

iii. Linear search starts by testing data at the middle of list

iv. Binary search can be done for sorted homogeneous data

i, ii and iii

ii, iii and iv

i, iii and iv

i, ii, iii and iv

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Identify the sorting algorithm that apply divide-and-conquer method.

Binary sort

Linear sort

Merge sort

Quick sort

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Identify the sorting method based on the given description.


· compares adjacent pairs and swaps them if they are in the wrong order

· the method is repeated until the list is sorted

Bubble sort

Insertion sort

Merge sort

Quick sort

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

List the correct TWO (2) sorting method

Insertion sort and binary sort

Merge sort and selection sort

Linear sort and bubble sort

Quick sort and searching sort

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

select the correct differences between Linear search and Binary search.

Linear: Data is searched in a linear order

Binary: Data is search using a varieties formula

Linear: Can be applied to sorted or unsorted data

Binary: Can be applied to sorted data only

Linear: It's also called half-interval search

Binary: It's also called sequential search

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Suppose a list is {2, 9, 5, 4, 8, 1}. After the first phase of bubble sort, the list becomes …

2, 9, 5, 4, 8, 1

2, 9, 5, 4, 1, 8

2, 5, 9, 4, 8, 1

2, 5, 4, 8, 1, 9

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?