QUIZ3:-DATA STRUCTURE
Quiz
•
Other
•
University
•
Practice Problem
•
Hard
hayfa Haiza
Used 197+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following sorting algorithms has the lowest worst-case complexity?
Quick sort
Merge sort
Selection sort
Bubble sort
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the number of records to be sorted is small, identify the suitable sorting to be used
Quick sort
Merge sort
Selection sort
Bubble sort
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The worst case occurs in linear search algorithm when ______________________
Item is not in the array at all
Item is somewhere in the middle of the array
Item is the last element in the array or item is not there at all
Item is the last element in the array
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Recognize the algorithm that does not divide the list.
Merge sort
Binary Search
Linear Search
Quick sort
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the types of sorting that used the concept of divide and conquer.
Insertion sort
Merge sort
Selection sort
Bubble sort
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose we are sorting an array of eight integers using quick sort, and we have just finished the first partitioning with the array looking like this:
2 5 1 7 9 12 11 10
Identify the correct statement?
Neither the 7 nor the 9 is the pivot.
The pivot could be either the 7 or the 9.
The pivot is not the 7, but it could be the 9.
The pivot could be the 7, but it is not the 9.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many steps needed to sort the following numbers using a selection sort.
5 1 12 -5 16 2 12 14
8
6
7
5
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
UK Knowledge Test
Quiz
•
University
10 questions
Alien Hand Syndrome
Quiz
•
University
10 questions
Introduction to CSS
Quiz
•
University
10 questions
QUIZ 1
Quiz
•
University
10 questions
SHINE
Quiz
•
University
10 questions
EFFECTIVE GROUP DISCUSSION
Quiz
•
9th Grade - University
10 questions
Business Ethics
Quiz
•
University
10 questions
CALCITONIN (MUSCULOSKELETAL)
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
