Sorting Algorithms Quiz

Sorting Algorithms Quiz

University

14 Qs

quiz-placeholder

Similar activities

EXP-9(VIVA_VOCE)

EXP-9(VIVA_VOCE)

University

17 Qs

ITCC104: QUIZ 2 (Finals Term)

ITCC104: QUIZ 2 (Finals Term)

University

15 Qs

CST306 Topic 3

CST306 Topic 3

University

10 Qs

Data Visualization and Exploration Quiz

Data Visualization and Exploration Quiz

University

10 Qs

DSA (Quiz 1) Arrays and Linked Lists

DSA (Quiz 1) Arrays and Linked Lists

University

15 Qs

css quiz

css quiz

University

16 Qs

Adding Interactive Elements in HTML

Adding Interactive Elements in HTML

12th Grade - University

15 Qs

PAW.09 - DOM Javascript

PAW.09 - DOM Javascript

University

10 Qs

Sorting Algorithms Quiz

Sorting Algorithms Quiz

Assessment

Quiz

Information Technology (IT)

University

Easy

Created by

Yumi undefined

Used 1+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of Bubble Sort?

O(N^2)

O(N log N)

O(1)

O(N)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm is based on the divide-and-conquer approach?

Merge Sort

Insertion Sort

Selection Sort

Bubble Sort

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main characteristic of In-place Sorting algorithms?

They are always faster than other sorts.

They sort using the original array.

They cannot handle large datasets.

They require additional space.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which order does the Selection Sort algorithm arrange elements?

Descending order

Ascending order

Non-decreasing order

Random order

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in the Selection Sort algorithm?

Swap the first two elements.

Find the smallest element.

Sort the array in reverse.

Find the largest element.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a characteristic of Heap Sort?

It can be seen as an optimization over Selection Sort.

It requires more than one pass.

It is a comparison-based sorting technique.

It uses a binary heap data structure.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the term 'Non-Decreasing Order' refer to?

Elements are sorted randomly.

Elements can be equal or greater than the previous element.

Elements are sorted in ascending order.

Elements are sorted in descending order.

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?