
DAA Lab Quiz
Authored by bhawani pattnaik
Other
Professional Development
Used 29+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 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
What is the length of LCS for the following strings?
a. AABACDACC
b. CABBACCBC
4
5
6
7
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For Matrix Chain Multiplication what are the missing sizes of matrix in the chain?
4x3, 3x6, 6x?, 5x8, ?x2
5 and 8
6 and 8
5 and 2
6 and 2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a Divide and Conquer algorithm?
Bubble Sort
Heap Sort
Merge Sort
Counting Sort
5.
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
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the lower bound for comparison based sorting algorithms?
nlogn
n2
logn
n
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is true about Hoffman Tree?
Hoffman Tree has n Leaf Nodes and n-1 intermediate nodes
No of bits required to encode a character is its depth + 1
Hoffman Code is a lossy compression algorithm
None of the above is true
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?