
TREES
Quiz
•
Computers
•
University
•
Hard
Gouthami Velakanti
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following data structure can provide efficient searching of the elements?
a) unordered lists
b) binary search tree
c) tree
d) 2-3 tree
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Consider a B+-tree in which the maximum number of keys in a node is 5. What is the minimum number of keys in any non-root node? (GATE CS 2010)
4
3
2
1
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Consider a B+-tree in which the maximum number of keys in a node is 5. What is the minimum number of keys in any non-root node? (GATE CS 2010)
a) logn (k+1) – 1
b) nk
c) logk (n+1) – 1
d) klogn
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is true?
a) larger the order of B-tree, less frequently the split occurs
b) larger the order of B-tree, more frequently the split occurs
c) smaller the order of B-tree, more frequently the split occurs
d) smaller the order of B-tree, less frequently the split occurs
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the special property of red-black trees and what root should always be?
a) a color which is either red or black and root should always be black color only
b) height of the tree
c) pointer to next node
d) a color which is either green or black
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is an application of Red-black trees and why?
a) used to store strings efficiently
b) used to store integers efficiently
c) can be used in process schedulers, maps, sets
d) for efficient sorting
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the below pseudo code trying to do, where pt is a node pointer and root pointer?
redblack(Node root, Node pt) :
if (root == NULL)
return pt
{
root.left = redblack(root.left, pt); root.left.parent = root }
{ root.right = redblackt(root.right, pt)
root.right.parent = root }
return root
a) insert a new node
b) delete a node
c) search a node
d) count the number of nodes
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
8 questions
Web App Programming Intro
Quiz
•
University
13 questions
DS UNIT-2 TEST-2
Quiz
•
University
10 questions
dsa-11.7.24 an
Quiz
•
University
7 questions
Final Practice
Quiz
•
University
15 questions
Let's Check!
Quiz
•
12th Grade - Professi...
9 questions
DSC119_Chap 3: Data Visualization Structure
Quiz
•
University
10 questions
computer Networks
Quiz
•
University
10 questions
Quiz Champ Level 3
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University