Design and Analysis of Algorithms Lab Quiz

Design and Analysis of Algorithms Lab Quiz

University

20 Qs

quiz-placeholder

Similar activities

APLIKASI KOMPUTER - EXCEL

APLIKASI KOMPUTER - EXCEL

University

15 Qs

Quiz on Standard Algorithms

Quiz on Standard Algorithms

10th Grade - University

20 Qs

C++ Searches and Sorts

C++ Searches and Sorts

University - Professional Development

15 Qs

CodeCadette

CodeCadette

University

15 Qs

Strategi Algoritmik dan Pemrograman

Strategi Algoritmik dan Pemrograman

University

15 Qs

07 - Map

07 - Map

University

15 Qs

DSA - Q1

DSA - Q1

University

25 Qs

Informatik 2: Sortierverfahren

Informatik 2: Sortierverfahren

University

24 Qs

Design and Analysis of Algorithms Lab Quiz

Design and Analysis of Algorithms Lab Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Rajesh Tripathi

Used 12+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is best case complexity of Insertion Sort?

Ω(n2)\Omega\left(n^2\right)

Ω(n)\Omega\left(n\right)

Ω(nlog2n)\Omega\left(n\log_2n\right)

Ω(1)\Omega\left(1\right)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst case complexity of Quick Sort?

O(n2)O\left(n^2\right)

O(nlog2n)O\left(n\log_2n\right)

O(n)O\left(n\right)

O(1)O\left(1\right)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst case complexity of Merge Sort?

O(n2)O\left(n^2\right)

O(nlog2n)O\left(n\log_2n\right)

O(n)O\left(n\right)

O(1)O\left(1\right)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the best case complexity of Bubble sort?

Ω(n2)\Omega\left(n^2\right)

Ω(n)\Omega\left(n\right)

Ω(nlog2n)\Omega\left(n\log_2n\right)

Ω(n2log2n)\Omega\left(n^2\log_2n\right)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst case complexity of selection sort?

O(n2)O\left(n^2\right)

O(nlog2n)O\left(n\log_2n\right)

O(n)O\left(n\right)

O(1)O\left(1\right)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the complexity of Quick sort while data is already sorted in increasing order?

O(1)O\left(1\right)

O(n)O\left(n\right)

O(nlog2n)O\left(n\log_2n\right)

O(n2)O\left(n^2\right)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the worst case complexity of Merge Sort while data is already sorted in increasing order?

O(1)O\left(1\right)

O(n)O\left(n\right)

O(nlog2n)O\left(n\log_2n\right)

O(n2)O\left(n^2\right)

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?