Quiz despre B Tree

Quiz
•
Computers
•
University
•
Easy

Natalia Burlacu
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
DS Quiz1

Quiz
•
University
8 questions
DSA Group 2 (Heaps Quiz)

Quiz
•
University
10 questions
Quiz ML Sprint

Quiz
•
University
7 questions
Binary Search Tree

Quiz
•
University
8 questions
Trees & Binary Tree

Quiz
•
University
10 questions
DRAINER CS : Data Structures Final Review

Quiz
•
University
10 questions
27Mar

Quiz
•
University
9 questions
DSC119_Chap 3: Data Visualization Structure

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade