50 TO 100

50 TO 100

University

49 Qs

quiz-placeholder

Similar activities

Biology 1

Biology 1

University

50 Qs

TECHNICAL QUIZ

TECHNICAL QUIZ

University

45 Qs

Mock Exam

Mock Exam

University

50 Qs

Tsukunomey

Tsukunomey

University

45 Qs

CS6515 Exam 2

CS6515 Exam 2

University

45 Qs

医疗词汇 - 词根词缀练习

医疗词汇 - 词根词缀练习

University

50 Qs

Deep Learning

Deep Learning

University

52 Qs

FINAL PREVENTIVA 02

FINAL PREVENTIVA 02

University

50 Qs

50 TO 100

50 TO 100

Assessment

Quiz

Other

University

Medium

Created by

Vinoth Dakshnamoorthy

Used 1+ times

FREE Resource

49 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the worst-case time complexity for searching for a node in an unbalanced Binary Search Tree (BST)?
O(n)
O(log n)
O(n^2)
O(log log n)

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the main advantage of a B Tree over a Binary Search Tree (BST)?
B Trees are always balanced.
B Trees allow searching in O(log n) time.
B Trees store more than one element in each node.
All of the above.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In a 2-3 Tree, what is the maximum number of children that any node can have?
1
2
3
4

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is true for a 2-3-4 Tree?
It is a balanced tree with a variable number of children in each node.
It is not a type of balanced tree.
It allows up to 4 children per node.
Both a and c.

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is an application of Binary Search Trees?
Implementing a priority queue
Implementing dynamic sets
Storing unique elements
All of the above

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following statements is true for an AVL tree after an insertion operation?
It may need to be rebalanced.
It is always balanced after insertion.
The height of the tree increases by 2.
No balancing is necessary after insertion.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which traversal is used for printing the elements of a tree in post-order?
Visit left subtree, visit right subtree, visit root.
Visit root, visit left subtree, visit right subtree.
Visit root, visit right subtree, visit left subtree.
Visit left subtree, visit root, visit right subtree.

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?