Sorting Algorithms II

Quiz
•
Computers
•
University
•
Hard
Yomna Elkholy
Used 27+ 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
20 questions
DSA quiz

Quiz
•
University
20 questions
SMARTICUS

Quiz
•
University
15 questions
Searching and Sorting

Quiz
•
University - Professi...
20 questions
Algorithm questions

Quiz
•
12th Grade - University
20 questions
Sorting algorithms (Y11)

Quiz
•
8th Grade - University
15 questions
AlgoMania Quiz

Quiz
•
University
20 questions
Quantitative Aptitude Series

Quiz
•
University
15 questions
ANALYSIS OF ALGORITHMS

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Computers
36 questions
USCB Policies and Procedures

Quiz
•
University
4 questions
Benefits of Saving

Quiz
•
5th Grade - University
20 questions
Disney Trivia

Quiz
•
University
2 questions
Pronouncing Names Correctly

Quiz
•
University
15 questions
Parts of Speech

Quiz
•
1st Grade - University
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
26 questions
Parent Functions

Quiz
•
9th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University