Test: B- Tree - Computer Science Engineering (CSE) MCQ


Test Description

10 Questions MCQ Test Question Bank for GATE Computer Science Engineering - Test: B- Tree

Test: B- Tree for Computer Science Engineering (CSE) 2024 is part of Question Bank for GATE Computer Science Engineering preparation. The Test: B- Tree questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: B- Tree MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: B- Tree below.
Solutions of Test: B- Tree questions in English are available as part of our Question Bank for GATE Computer Science Engineering for Computer Science Engineering (CSE) & Test: B- Tree solutions in Hindi for Question Bank for GATE Computer Science Engineering course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: B- Tree | 10 questions in 30 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study Question Bank for GATE Computer Science Engineering for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Test: B- Tree - Question 1

Which of the following is the most widely used external memory data structure?

Detailed Solution for Test: B- Tree - Question 1

In external memory, the data is transferred in form of blocks. These blocks have data valued and pointers. And B-tree can hold both the data values and pointers. So B-tree is used as an external memory data structure.

Test: B- Tree - Question 2

A B-tree of order 4 and of height 3 will have a maximum of _______ keys.

Detailed Solution for Test: B- Tree - Question 2

A B-tree of order m of height h will have the maximum number of keys when all nodes are completely filled. So, the B-tree will have n = (mh+1 – 1) keys in this situation. So, required number of maximum keys = 43+1 – 1 = 256 – 1 = 255.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: B- Tree - Question 3

B-tree and AVL tree have the same worst case time complexity for insertion and deletion.

Detailed Solution for Test: B- Tree - Question 3

Both the B-tree and the AVL tree have O(log n) as worst case time complexity for insertion and deletion.

Test: B- Tree - Question 4

Figure shown below is B-tree of order 5. What is the result of deleting 130 from the tree?

Detailed Solution for Test: B- Tree - Question 4

Each non-root in a B-tree of order 5 must contain at least 2 keys. Here, when the key 130 is deleted the node gets underflowed i.e. number of keys in the node drops below 2. So we combine the node with key 110 with it’s brother node having keys 144 and 156. And this combined node will also contain the separator key from parent i.e. key 140, leaving the root with two keys 110 and 160.

Test: B- Tree - Question 5

Which of the following is true?

Detailed Solution for Test: B- Tree - Question 5

The average probability of the split is 1/(⌈m / 2⌉ – 1), where m is the order of B-tree. So, if m larger, the probability of split will be less.

Test: B- Tree - Question 6

B-tree of order n is a order-n multiway tree in which each non-root node contains __________

Detailed Solution for Test: B- Tree - Question 6

A non-root node in a B-tree of order n contains at least (n – 1)/2 keys. And contains a maximum of (n – 1) keys and n sons.

Test: B- Tree - Question 7

Five node splitting operations occurred when an entry is inserted into a B-tree. Then how many nodes are written?

Detailed Solution for Test: B- Tree - Question 7

If s splits occur in a B-tree, 2s + 1 nodes are written (2 halves of each split and the parent of the last node split). So, if 5 splits occurred, then 2 * 5 + 1, i.e. 11 nodes are written.

Test: B- Tree - Question 8

2-3-4 trees are B-trees of order 4. They are an isometric of _____ trees.

Detailed Solution for Test: B- Tree - Question 8

2-3-4 trees are isometric of Red-Black trees. It means that, for every 2-3-4 tree, there exists a Red-Black tree with data elements in the same order.

Test: B- Tree - Question 9

What is the best case height of a B-tree of order n and which has k keys?

Detailed Solution for Test: B- Tree - Question 9

B-tree of order n and with height k has best case height h, where h = logn (k+1) – 1. The best case occurs when all the nodes are completely filled with keys.

Test: B- Tree - Question 10

Compression techniques can be used on the keys to reduce both space and time requirements in a B-tree.

Detailed Solution for Test: B- Tree - Question 10

The front compression and the rear compression are techniques used to reduce space and time requirements in B-tree. The compression enables to retain more keys in a node so that the number of nodes needed can be reduced.

63 videos|7 docs|165 tests
Information about Test: B- Tree Page
In this test you can find the Exam questions for Test: B- Tree solved & explained in the simplest way possible. Besides giving Questions and answers for Test: B- Tree , EduRev gives you an ample number of Online tests for practice

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)