Data Struct: Quiz 3
Quiz
•
Science, Computers
•
University
•
Hard
Used 12+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
COA - Chapter 1
Quiz
•
University
10 questions
Vocational English for Game Design
Quiz
•
University
10 questions
FISH POSTHARVEST C1
Quiz
•
University
10 questions
Human Flourishing in terms of Science and Technology
Quiz
•
University
10 questions
Algorithm analysis: divide & conquer theory
Quiz
•
University
10 questions
Information systems concepts
Quiz
•
University
10 questions
Software Engineering 1 - Quiz A
Quiz
•
University
10 questions
Neural Networks Quiz
Quiz
•
University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
