
ADS_3

Quiz
•
Computers
•
Professional Development
•
Medium
Gouthami Velakanti
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
7 questions
Kubernetes architecture

Quiz
•
Professional Development
10 questions
last

Quiz
•
Professional Development
11 questions
ME ADS QUIZ

Quiz
•
Professional Development
15 questions
LinkedList and Its types

Quiz
•
Professional Development
10 questions
Quiz on Merkle Trees and Bitcoin

Quiz
•
Professional Development
10 questions
PRETEST MERANCANG TOPOLOGI JARINGAN

Quiz
•
Professional Development
8 questions
AWS Architect Class 8

Quiz
•
Professional Development
10 questions
B+Trees

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

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

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
5 questions
Setting goals for the year

Quiz
•
Professional Development
14 questions
2019 Logos

Quiz
•
Professional Development
6 questions
GUM Chart Scavenger Hunt

Quiz
•
Professional Development
8 questions
Understanding Government: Limited and Unlimited

Quiz
•
Professional Development
20 questions
tape measure

Quiz
•
Professional Development
24 questions
Street Signs

Quiz
•
9th Grade - Professio...