Sorting Algorithms II

Quiz
•
Computers
•
University
•
Hard
Yomna Elkholy
Used 26+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Merge sort uses which of the following techniques to implement sorting?
Backtracking
Greedy algorithm
Divide and conquer
Dynamic programming
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the best case time complexity of merge sort?
O(1)
O(log n)
O(n)
O(n log n)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst case time complexity of merge sort?
O(n log n)
O(𝑛 2 )
O(𝑛 2 log 𝑛)
O(n log 𝑛 2 )
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the auxiliary space complexity of merge sort?
O(1)
O(log n)
O(n)
O(n log n)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A stable sorting algorithm
Does not crash
Does not run out of memory
Does not change the sequence of appearance of elements
Does not exist
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An adaptive sorting algorithm
Adapts to new inputs
Takes advantage of already sorted elements
Takes inputs which are already sorted
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not an in-place sorting algorithm?
Merge sort
Quick sort
Bubble sort
Insertion sort
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
DS - Linked List - S1

Quiz
•
University
15 questions
Knowledge Knockout[Quiz Round](2nd-4th years)

Quiz
•
University
16 questions
Linked List and Arrays in JAVA

Quiz
•
University
15 questions
Strategi Algoritmik dan Pemrograman

Quiz
•
University
20 questions
Quiz 1_DSA

Quiz
•
University
20 questions
Algorithm questions

Quiz
•
12th Grade - University
15 questions
ANALYSIS OF ALGORITHMS

Quiz
•
University
20 questions
Data Structures

Quiz
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade