Quiz on Algorithm Analysis

Quiz on Algorithm Analysis

University

10 Qs

quiz-placeholder

Similar activities

Parts of the Letter and Letter Format)

Parts of the Letter and Letter Format)

University

10 Qs

Mastering Scientific Notation: Add & Convert Like a Pro!

Mastering Scientific Notation: Add & Convert Like a Pro!

6th Grade - University

10 Qs

Adding and Converting Scientific Notation in Real Life

Adding and Converting Scientific Notation in Real Life

7th Grade - University

10 Qs

सीखना कैसे सीखें

सीखना कैसे सीखें

1st Grade - University

7 Qs

JavaScript

JavaScript

University

15 Qs

IMPORTANCE OF EFFECTIVE COMMUNICATION AT SEA

IMPORTANCE OF EFFECTIVE COMMUNICATION AT SEA

University

15 Qs

Dieses Titelbild ist eigentlich urheberrechtlich geschützt. Bestimmt.

Dieses Titelbild ist eigentlich urheberrechtlich geschützt. Bestimmt.

University - Professional Development

12 Qs

introduction to C++ programming PQ1

introduction to C++ programming PQ1

University

15 Qs

Quiz on Algorithm Analysis

Quiz on Algorithm Analysis

Assessment

Quiz

English

University

Medium

Created by

Dr.P.Shanmuga Dept

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which notation is used to describe the upper bound of an algorithm's growth rate?

Theta Notation

Big-Oh Notation

Big-Omega Notation

Little-Oh Notation

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does 'Worst case complexity' refer to?

The minimum time an algorithm can take to complete

The maximum time an algorithm can take to complete

The best possible scenario for an algorithm

The average performance of an algorithm

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a type of asymptotic notation?

Linear Notation

Little-Omega Notation

Big-Oh Notation

Tilde Notation

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many passes does an insertion sort algorithm consist of?



a) N

b) N-1

c) N+1

d) N2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the average case running time of an insertion sort algorithm?

O(N)

O(NlogN)

O(logN)

O(N2)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the running time of an insertion sort algorithm if the input is pre-sorted?


O(N2)


O(N log N)

O(N)

O(M log N)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For the following question, how will the array elements look like after second pass?
34, 8, 64, 51, 32, 21

8, 21, 32, 34, 51, 64

8, 32, 34, 51, 64, 21


8, 34, 51, 64, 32, 21


8, 34, 64, 51, 32, 21

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?