A2 - Sorting Quiz

A2 - Sorting Quiz

University

5 Qs

quiz-placeholder

Similar activities

Binary Heap

Binary Heap

University

9 Qs

Problem solving techniques Quiz ( Team 4)

Problem solving techniques Quiz ( Team 4)

University

6 Qs

CD-1S5-26-5-22

CD-1S5-26-5-22

University

10 Qs

22CTT1-Group 10-Sorting Algorithms

22CTT1-Group 10-Sorting Algorithms

University

8 Qs

Kuis 3 - ASD (B)

Kuis 3 - ASD (B)

University

10 Qs

SEARCH-SORT

SEARCH-SORT

KG - University

10 Qs

QUIZZ 1 : DATABASE FUNDAMENTALS

QUIZZ 1 : DATABASE FUNDAMENTALS

University

10 Qs

ADS tut 3

ADS tut 3

University

10 Qs

A2 - Sorting Quiz

A2 - Sorting Quiz

Assessment

Quiz

Computers

University

Medium

Created by

A M Abirami

Used 3+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the complexity of Merge sort for the array of elements 11, 24, 36, 87, 98, 121, 1085.

O(1)

O(n log n)

O(n^2)

O(n)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the best sorting algorithm for the array of elements 11,24,36,87,98,121,1085

Insertion Sort

Quick Sort

Merge Sort

Selection Sort

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sort the best case time complexity of Heap, Insertion, Bubble, Selection sort techniques

Heap > Insertion > Bubble > Selection

Selection > Heap > Insertion > Bubble

Selection > Insertion >= Bubble > Heap

Insertion >= Bubble > Heap > Selection

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The array elements are sorted using quick sort technique and it shows the first partitioning of elements, 2 5 1 7 9 12 11 10. Which statement is correct?

The pivot could be either the 7 or the 9.

The pivot could be the 7, but it is not the 9

The pivot is not the 7, but it could be the 9

Neither the 7 nor the 9 is the pivot

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is false about merge sort?

Works better than quick sort if data is accessed from slow sequential memory.

stable sort by nature

outperforms heap sort in most of the practical situations.

Best suitable than bubble sort technique to sort ASCII values