Quiz despre B Tree

Quiz despre B Tree

University

10 Qs

quiz-placeholder

Similar activities

DS-U3-Q1

DS-U3-Q1

University

10 Qs

Data Structures Activity - 1

Data Structures Activity - 1

University

15 Qs

Binary Search Tree (Recap 1)

Binary Search Tree (Recap 1)

11th Grade - University

13 Qs

Data Structures -Trees & Sorting

Data Structures -Trees & Sorting

University

15 Qs

DSA-Quiz1

DSA-Quiz1

University

12 Qs

Binary Tree

Binary Tree

University

12 Qs

PDS - 04225 Trees - Chapter 6

PDS - 04225 Trees - Chapter 6

University

10 Qs

ML Course Activity-II

ML Course Activity-II

University

10 Qs

Quiz despre B Tree

Quiz despre B Tree

Assessment

Quiz

Computers

University

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?