Which of the following is TRUE about splay trees?

ADS_3

Quiz
•
Gouthami Velakanti
•
Computers
•
Professional Development
•
1 plays
•
Medium
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Explore all questions with a free account
Similar Resources on Quizizz
10 questions
IoT - E7

Quiz
•
Professional Development
10 questions
IT ENGLISH: Research Project Topics - Docker vs Kubernetes

Quiz
•
Professional Development
11 questions
Hadoop

Quiz
•
Professional Development
9 questions
me-2

Quiz
•
Professional Development
14 questions
BST-SR

Quiz
•
Professional Development
10 questions
B-Trees

Quiz
•
Professional Development
14 questions
DSA + System design - 14

Quiz
•
Professional Development
13 questions
Hadoop Admin

Quiz
•
Professional Development
Popular Resources on Quizizz
19 questions
Naming Polygons

Quiz
•
3rd Grade
14 questions
Prime Factorization

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
21 questions
6th Grade Math CAASPP Practice

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
35 questions
4th Grade Math SOL Review

Quiz
•
4th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
20 questions
State Capitals

Quiz
•
Professional Development
26 questions
Guess the fast food place/Food

Quiz
•
KG - Professional Dev...
15 questions
Trivia

Quiz
•
Professional Development
10 questions
Funny Silly Trivia

Quiz
•
5th Grade - Professio...
15 questions
May Review Quiz

Quiz
•
Professional Development
20 questions
Sports trivia

Quiz
•
Professional Development
14 questions
Disney movie trivia

Quiz
•
KG - Professional Dev...