Merge Sort Quiz DAA TASK3

Merge Sort Quiz DAA TASK3

University

10 Qs

quiz-placeholder

Similar activities

Qûîz

Qûîz

University

15 Qs

DS_NumPy_TEST1

DS_NumPy_TEST1

University

12 Qs

HeapSort

HeapSort

University

6 Qs

SAS Programming 1 Revision 2

SAS Programming 1 Revision 2

University

10 Qs

HEAP TREE

HEAP TREE

University

11 Qs

Data Structuer

Data Structuer

University

12 Qs

Python 101

Python 101

University

15 Qs

Time Complexity

Time Complexity

University

10 Qs

Merge Sort Quiz DAA TASK3

Merge Sort Quiz DAA TASK3

Assessment

Quiz

Computers

University

Medium

Created by

DURAI S

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of Merge Sort in the worst case?

O(n)

O(n log n)

O(n²)

O(log n)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Merge Sort is an example of which type of algorithm?

Greedy algorithm

Divide and Conquer algorithm

Dynamic Programming algorithm

Backtracking algorithm

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the space complexity of Merge Sort?

O(1)

O(n)

O(log n)

O(n²)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about Merge Sort?

It is an in-place sorting algorithm.

It is stable and maintains the relative order of equal elements.

It has a worst-case time complexity of O(n²).

It does not require additional memory for sorting.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Merge Sort, what is the purpose of the 'merge' step?

To divide the array into two halves.

To combine two sorted subarrays into one sorted array.

To swap elements to sort the array.

To select a pivot element for partitioning.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the base case for the Merge Sort recursion?

When the array is empty.

When the array has one element.

When the array is already sorted.

When the array has two elements.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following sorting algorithms is most similar to Merge Sort in terms of time complexity?

Bubble Sort

Quick Sort

Insertion Sort

Selection 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?