Search Header Logo

50 TO 100

Authored by Vinoth Dakshnamoorthy

Other

University

Used 1+ times

50 TO 100
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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.

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?