DAA- Tutorial

DAA- Tutorial

University

73 Qs

quiz-placeholder

Similar activities

Youth and Volunteerism

Youth and Volunteerism

University

69 Qs

THC5 MIDTERM EXAM

THC5 MIDTERM EXAM

University

70 Qs

Med Admin Review

Med Admin Review

University

74 Qs

ôn tập ytkt

ôn tập ytkt

KG - University

77 Qs

midterms in web design

midterms in web design

University

68 Qs

PULMO DRUG DELI SYSTEM DR. YANG

PULMO DRUG DELI SYSTEM DR. YANG

University

72 Qs

mcyt(and other yt) god au

mcyt(and other yt) god au

7th Grade - Professional Development

68 Qs

Friday Quiz: 5th September

Friday Quiz: 5th September

9th Grade - University

68 Qs

DAA- Tutorial

DAA- Tutorial

Assessment

Quiz

Other

University

Hard

Created by

Nilotpal Pathak

Used 17+ times

FREE Resource

AI

Enhance your content in a minute

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

73 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Complexity of BUILD_MAX_HEAP function?

O(log n)

O(n log n)

O(n)

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Heap_Increase_key operation is used for

Increase the depth of the heap

to insert a new node in the heap with given key.

to increase the value of the given index with the new key value

to remove the max value from the heap

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the lower bound for comparison based sorting algorithms?

nlogn

n2

logn

n

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the order of partition algorithm in quick sort?

O(logn)

O(nlogn)

O(n)

O(1)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Order the complexity function in ascending order of their complexity

a. n

b. log n

c. n2

d. n logn

a, b, c, d

c, d, a, b

b, a, d, c

d, c, b, a

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm makes one swap per pass (possibly swapping an element with itself)?

Selection Sort
Bubble Sort
Insertion Sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm may make multiple swaps per pass?

Bubble Sort
Selection Sort
Insertion Sort

Access all questions and much more by creating a free account

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?