Sorting Algorithms II

Sorting Algorithms II

University

β€’

18 Qs

quiz-placeholder

Similar activities

Algoritma Pemrograman

Algoritma Pemrograman

University

β€’

20 Qs

STS Informatika

STS Informatika

10th Grade - University

β€’

20 Qs

2.3.1 Graph Traversal & Path Finding Algorithms

2.3.1 Graph Traversal & Path Finding Algorithms

12th Grade - University

β€’

20 Qs

Fundamentos Web

Fundamentos Web

University

β€’

15 Qs

Assignment 7 - Looping

Assignment 7 - Looping

University

β€’

16 Qs

Input/Output

Input/Output

University

β€’

20 Qs

ColeΓ§Γ΅es - Python

ColeΓ§Γ΅es - Python

University - Professional Development

β€’

17 Qs

Archivos

Archivos

University

β€’

17 Qs

Sorting Algorithms II

Sorting Algorithms II

Assessment

Quiz

β€’

Computers

β€’

University

β€’

Practice Problem

β€’

Hard

Created by

Yomna Elkholy

Used 29+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec β€’ 1 pt

Merge sort uses which of the following techniques to implement sorting?

Backtracking

Greedy algorithm

Divide and conquer

Dynamic programming

2.

MULTIPLE CHOICE QUESTION

30 sec β€’ 1 pt

What is the best case time complexity of merge sort?

O(1)

O(log n)

O(n)

O(n log n)

3.

MULTIPLE CHOICE QUESTION

30 sec β€’ 1 pt

What is the worst case time complexity of merge sort?

O(n log n)

O(𝑛 2 )

O(𝑛 2 log 𝑛)

O(n log 𝑛 2 )

4.

MULTIPLE CHOICE QUESTION

30 sec β€’ 1 pt

What is the auxiliary space complexity of merge sort?

O(1)

O(log n)

O(n)

O(n log n)

5.

MULTIPLE CHOICE QUESTION

30 sec β€’ 1 pt

A stable sorting algorithm

Does not crash

Does not run out of memory

Does not change the sequence of appearance of elements

Does not exist

6.

MULTIPLE CHOICE QUESTION

30 sec β€’ 1 pt

An adaptive sorting algorithm

Adapts to new inputs

Takes advantage of already sorted elements

Takes inputs which are already sorted

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec β€’ 1 pt

Which of the following is not an in-place sorting algorithm?

Merge sort

Quick sort

Bubble sort

Insertion sort

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?