DSA_Unit3

DSA_Unit3

University

25 Qs

quiz-placeholder

Similar activities

Sorting algorithms I

Sorting algorithms I

University

21 Qs

Algorithm Analysis

Algorithm Analysis

University

21 Qs

CSI104-finished algorithms

CSI104-finished algorithms

University

20 Qs

QUIZ

QUIZ

University

25 Qs

DATA STRUCTURES QUIZ-1

DATA STRUCTURES QUIZ-1

University

23 Qs

BUG-OFF

BUG-OFF

University

30 Qs

Data Structures and Algorithms Quiz - BATCH 1

Data Structures and Algorithms Quiz - BATCH 1

University

23 Qs

DS- UNIT-1

DS- UNIT-1

University

20 Qs

DSA_Unit3

DSA_Unit3

Assessment

Quiz

Computers

University

Hard

Created by

Amal Redge

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following sorting algorithms has the worst-case time complexity of O(n²)?

Merge Sort

Quick Sort

Bubble Sort

Radix Sort

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm works by repeatedly swapping adjacent elements if they are in the wrong order?

Quick Sort

Merge Sort

Bubble Sort

Selection Sort

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which of the following sorting algorithms does the number of swaps always remain the same for a given input?

Bubble Sort

Insertion Sort

Selection Sort

Quick Sort

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the average-case time complexity of Quick Sort?

O(n)

O(n log n)

O(n²)

O(log n)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm works by repeatedly selecting the smallest (or largest) element and placing it in its correct position?

Merge Sort

Selection Sort

Bubble Sort

Quick Sort

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm is the most efficient in terms of time complexity for large datasets?

Bubble Sort

Quick Sort

Selection Sort

Insertion Sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Merge Sort follows which algorithmic approach?

Divide and Conquer

Greedy Algorithm

Dynamic Programming

Backtracking

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?