ADS_3

ADS_3

Professional Development

10 Qs

quiz-placeholder

Similar activities

Introduction to Hyperconverged: HCI 101

Introduction to Hyperconverged: HCI 101

Professional Development

10 Qs

IT Day Webinar 1

IT Day Webinar 1

Professional Development

13 Qs

Linux Essentials Quiz 2

Linux Essentials Quiz 2

Professional Development

11 Qs

EMERGING TECHNOLOGIES QUIZ #2 MIDTERM (IV-B)

EMERGING TECHNOLOGIES QUIZ #2 MIDTERM (IV-B)

University - Professional Development

15 Qs

R081 Pre-production documents

R081 Pre-production documents

11th Grade - Professional Development

12 Qs

everisCodeFest 4

everisCodeFest 4

Professional Development

10 Qs

Sec+ CH.3  Review Test

Sec+ CH.3 Review Test

Professional Development

15 Qs

Computer Hardware and Networking

Computer Hardware and Networking

Professional Development

15 Qs

ADS_3

ADS_3

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Gouthami Velakanti

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is TRUE about splay trees?

Splay trees implement the move-to-front heuristi

Splay trees are perfectly balanced

Inserting an entry into a splay tree has worst-case cost of O(logn)

Splay trees are proper binary trees

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following data structures are preferred in database-system implementation?

AVL tree

B-tree

B+ - tree

Splay tree

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a node N is accessed it is splayed to make it the

Root node

Parent node

Child node

Sibling node

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we impose restrictions like

. root property is black

. every leaf is black

. children of red node are black

. all leaves have same black

to get logarithm time complexity

to get linear time complexity

to get exponential time complexity

to get constant time complexity

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the operations that could be performed in O(logn) time complexity by red-black tree?

insertion, deletion, finding predecessor, successor

only insertion

only finding predecessor, successor

for sorting

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an application of Red-black trees and why?

used to store strings efficiently

used to store integers efficiently

can be used in process schedulers, maps,

sets

for efficient sorting

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When it would be optimal to prefer Red-black trees over AVL trees?

when there are more insertions or deletions

when more search is needed

when tree must be balanced

when log(nodes) time complexity is needed

Create a free account and access millions of resources

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?