
Quiz despre B Tree
Authored by Natalia Burlacu
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one of the main reasons for using a B Tree?
Ability to store a large number of keys in a single node
Necessity to have a high tree height
Ability to have an unlimited number of children in a node
Necessity to have all nodes with the same number of children
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when a leaf node in a B Tree does not contain m/2 keys?
Fill the keys with elements from the right neighboring node
Fill the keys with elements from the left neighboring node
Delete the leaf node
Create a new leaf node by merging with the neighboring node and the parent node's intermediate element
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of searching for an element in a B Tree?
O(logn)
O(n)
O(1)
O(n^2)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when deleting a node from a B Tree?
Fill the keys with elements from the neighboring node to the right
Delete the node and reorganize the tree to maintain B Tree properties
Create a new leaf node by merging with the neighboring node and the intermediate element of the parent node
Delete the node without affecting the tree structure
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one of the applications of a B Tree?
Sorting data in RAM memory
Indexing data and quick access to data stored on disks
Quick calculation of complex mathematical values
Compression of large files
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when a leaf node does not contain m/2 keys and none of its neighbors contain enough keys?
The node is removed without affecting the tree structure
A new leaf node is created by merging with the neighbor node and the parent node's intermediate element
The node is removed and the tree is reorganized to maintain B Tree properties
The keys are filled with elements from the right neighbor node
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one of the properties of a B Tree?
Each node in a B Tree contains at most m children
Each node in a B Tree contains at most 2 keys
Root nodes must have at least 3 keys
All leaf nodes must have the same number of children
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?