B+Trees

B+Trees

Professional Development

10 Qs

quiz-placeholder

Similar activities

unit-5 test-1

unit-5 test-1

Professional Development

15 Qs

Linking in Coding

Linking in Coding

Professional Development

15 Qs

Mid2 Lab Internal PPS

Mid2 Lab Internal PPS

Professional Development

10 Qs

PythonDS

PythonDS

Professional Development

13 Qs

PythonDS

PythonDS

Professional Development

12 Qs

Red Black Trees

Red Black Trees

Professional Development

10 Qs

C++ Pointers and Arrays

C++ Pointers and Arrays

University - Professional Development

10 Qs

Python_DS2

Python_DS2

Professional Development

10 Qs

B+Trees

B+Trees

Assessment

Quiz

Professional Development, Computers

Professional Development

Hard

Created by

LE210 Sankara Nayaki K

Used 11+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 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?

1

2

3

4

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which one of the following is a key factor for preferring B-trees to binary search trees for indexing database relations?

Database relations have a large number of records

Database relations are sorted on the primary key

B-trees require less memory than binary search trees

Data transfer form disks is in blocks.

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

B+ trees are preferred to binary trees in databases because

Disk capacities are greater than memory capacities

Disk access is much slower than memory access

Disk data transfer rates are much less than memory data transfer rates

Disks are more reliable than memory.

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following is FALSE about B/B+ tree

B/B+ trees grow upward while Binary Search Trees grow downward

Time complexity of search operation in B/B+ tree is better than Red Black Trees in general.

Number of child pointers in a B/B+ tree node is always equals to number of keys in it plus one.

A B/B+ tree is defined by a term minimum degree. And minimum degree depends on hard disk block size, key and address sizes.

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

A B-tree of order 4 is built from scratch by 10 successive insertions. What is the maximum number of node splitting operations that may take place?

3

4

5

6

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

The order of a leaf node in a tree B+ ? is the maximum number of (value, data record pointer) pairs it can hold. Given that the block size is 1K bytes, data record pointer is 7 bytes long, the value field is 9 bytes long and a block pointer is 6 bytes long, what is the order of the leaf node?

62

63

64

65

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The order of an internal node in a B+ tree index is the maximum number of children it can have. Suppose that a child pointer takes 6 bytes, the search field value takes 14 bytes, and the block size is 512 bytes. What is the order of the internal node?

24

25

26

27

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?