
TREES
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Gouthami Velakanti
Used 2+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
15 questions
IT 209
Quiz
•
University
15 questions
Assessment 08
Quiz
•
University
12 questions
ICT450-TOPIC 1
Quiz
•
University
7 questions
ESBrotherX_Medical AI_Lecture
Quiz
•
University
11 questions
Video Watermaking
Quiz
•
University
10 questions
NETIQUETTE AND DIGITAL FOOTPRINT
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
