Choose a CORRECT statement about pivot in quick sort method.
Data Struct: Quiz 3

Quiz
•
Science, Computers
•
University
•
Hard
Used 12+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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
Similar Resources on Quizizz
15 questions
07 - Map

Quiz
•
University
10 questions
DRAINER CS : Data Structures Final Review

Quiz
•
University
12 questions
Quiz-1(Div-C)

Quiz
•
University
15 questions
Logika Dan Algoritma P10

Quiz
•
University
15 questions
Data Structure

Quiz
•
University
8 questions
Trees & Binary Tree

Quiz
•
University
15 questions
ROTC Make-up Quiz

Quiz
•
University
10 questions
PSP Week 5

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade