DAA- Tutorial

DAA- Tutorial

University

73 Qs

quiz-placeholder

Similar activities

APD-Exam

APD-Exam

University

71 Qs

MID Sd

MID Sd

University

75 Qs

Teste de código 003

Teste de código 003

University

70 Qs

DAA Tutorial-1

DAA Tutorial-1

University

70 Qs

Algo 1 variant

Algo 1 variant

University

71 Qs

Công nghệ 11_Luyện tập_GK1

Công nghệ 11_Luyện tập_GK1

6th Grade - University

70 Qs

1/2 của 150 câu cúi cùng TTHCM

1/2 của 150 câu cúi cùng TTHCM

University

75 Qs

DAA- Tutorial

DAA- Tutorial

Assessment

Quiz

Other

University

Hard

Created by

Nilotpal Pathak

Used 17+ times

FREE Resource

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

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?