Sorting Algorithms II

Sorting Algorithms II

University

18 Qs

quiz-placeholder

Similar activities

Searching & Sorting Algorithms

Searching & Sorting Algorithms

10th Grade - University

16 Qs

Estrutura de Dados - Questionário 4

Estrutura de Dados - Questionário 4

University

17 Qs

Searching and Sorting

Searching and Sorting

University

16 Qs

Quiz on Standard Algorithms

Quiz on Standard Algorithms

10th Grade - University

20 Qs

Time and Space Complexity

Time and Space Complexity

University

20 Qs

AlgoMania Quiz

AlgoMania Quiz

University

15 Qs

Revisão POTA

Revisão POTA

University

17 Qs

Quantitative Aptitude Series

Quantitative Aptitude Series

University

20 Qs

Sorting Algorithms II

Sorting Algorithms II

Assessment

Quiz

Computers

University

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?