sorting techniques

sorting techniques

12th Grade

5 Qs

quiz-placeholder

Similar activities

statistika

statistika

12th Grade

7 Qs

World Diabetes Day🩸🌍

World Diabetes Day🩸🌍

9th - 12th Grade

10 Qs

Michael Mena #1

Michael Mena #1

12th Grade

10 Qs

TEKANAN CECAIR ATMOSFERA DAN GAS

TEKANAN CECAIR ATMOSFERA DAN GAS

12th Grade

10 Qs

pretes(pengaruh gaya terhadap gerak benda )

pretes(pengaruh gaya terhadap gerak benda )

9th - 12th Grade

10 Qs

Introduction to Forces 7

Introduction to Forces 7

7th Grade - University

10 Qs

Tekanan

Tekanan

9th - 12th Grade

10 Qs

Mastering Pointers in C++

Mastering Pointers in C++

12th Grade

10 Qs

sorting techniques

sorting techniques

Assessment

Quiz

Others

12th Grade

Hard

Created by

Jenifer R

FREE Resource

5 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

1. What is the time complexity of Bubble Sort in the worst-case scenario?

a. O(1)

   b. O(n log n)  

   

 O(n) 

O(n^2)

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

2. In Selection Sort, what is maintained during the execution of the algorithm?

Two subarrays - sorted and unsorted

A priority queue

Binary search tree 

A linked list

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. Which sorting algorithm is known for maintaining a sub-array that is always sorted during its execution?

Quick Sort

Merge Sort

Insertion Sort 

Non of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Insertion Sort has a better average and worst-case time complexity compared to Selection Sort.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Bubble Sort not occupies extra memory space during its execution.

True

False