Merge Sort Quiz DAA TASK3

Merge Sort Quiz DAA TASK3

University

10 Qs

quiz-placeholder

Similar activities

GCSE Computer Science 9-1: Sorting Algorithms

GCSE Computer Science 9-1: Sorting Algorithms

10th Grade - University

10 Qs

Sorting in Data Structures

Sorting in Data Structures

University

15 Qs

DSA - Practice Quiz - 1

DSA - Practice Quiz - 1

University - Professional Development

15 Qs

Basic Computer Quiz

Basic Computer Quiz

University

11 Qs

Selection Sort & Exhaustive Search

Selection Sort & Exhaustive Search

University

15 Qs

NSCC-CODE TO COIN

NSCC-CODE TO COIN

University

15 Qs

Searching and Sorting

Searching and Sorting

University - Professional Development

15 Qs

Episode 12 DSA Thursdays Sorting Algo

Episode 12 DSA Thursdays Sorting Algo

University

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