Data Structures Quiz

Data Structures Quiz

University

5 Qs

quiz-placeholder

Similar activities

Cours12-SCE10002

Cours12-SCE10002

University

10 Qs

Dzień mamy

Dzień mamy

University

9 Qs

Algorithms

Algorithms

University

8 Qs

Workshop Day 2

Workshop Day 2

University

10 Qs

Balanced trees

Balanced trees

University

7 Qs

ADS LAB Quiz-2

ADS LAB Quiz-2

University

10 Qs

DAA Quiz

DAA Quiz

University

10 Qs

ADS LAB Quiz-1

ADS LAB Quiz-1

University

10 Qs

Data Structures Quiz

Data Structures Quiz

Assessment

Quiz

Education

University

Hard

Created by

ra jadhav

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operations may cause a rotation in an AVL tree?

Search

Traversal

Insertion

Display

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst-case time complexity of insertion in a Red-Black Tree with n elements?

O(log n)

O(n)

O(1)

O(n log n)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is true about Splay Trees?

They maintain perfect balance using rotations.

Recently accessed elements are moved to the root.

They require color properties like Red-Black Trees.

They cannot be used as a binary search tree.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a B-Tree of order m, what is the maximum number of children a node can have?

m − 1

m

m + 1

2m

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the height of an AVL Tree with n nodes in the worst case?

O(log n)

O(n)

O(n log n)

O(√n)