
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
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
Similar Resources on Quizizz
10 questions
Quiz despre B Tree

Quiz
•
University
15 questions
Data Structures Activity - 1

Quiz
•
University
10 questions
Quiz on Machine Thinking

Quiz
•
University
10 questions
Quiz 2 - ASD - B

Quiz
•
University
10 questions
ML Course Activity-II

Quiz
•
University
15 questions
Knowledge Knockout[Quiz Round](2nd-4th years)

Quiz
•
University
15 questions
Linked List (Chapter 2)

Quiz
•
University
12 questions
Binary Tree

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade