Skip to content

GATE CS File Organization and Indexing (B and B+ Trees) questions

Practise File Organization and Indexing (B and B+ Trees) questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

20 on this page
Official PYQ2026DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 2 marks
An index in a DBMS is said to be dense if an index entry appears for every search-key value in the indexed file. Otherwise it is called a sparse index. Consider the following two statements. S1\text{S1}: A hash index must be a dense index S1\text{S1}: A B+B^{+} tree index can be a sparse index Which one of the following options is correct?
Official PYQ2025DatabasesFile Organization and Indexing (B and B+ Trees)MSQ · 1 mark
Consider the following B+B^{+}tree with 55 nodes, in which a node can store at most 33 key values The value 2323 is now inserted in the B+B^{+}tree. Which of the following options(s) is/are CORRECT?
Official PYQ2025DatabasesFile Organization and Indexing (B and B+ Trees)NAT · 2 marks
In a B+\mathrm{B}^{+}- tree where each node can hold at most four key values, a root to leaf path consists of the following nodes: A=(49,77,83,−),B=(7,19,33,44),C=(20∗,22∗,25∗,26∗)\mathrm{A}=(49,77,83,-), \mathrm{B}=(7,19,33,44), \mathrm{C}=\left(20^{*}, 22^{*}, 25^{*}, 26^{*}\right) The ∗*-marked keys signify that these are data entries in a leaf. Assume that a pointer between keys k1k_{1} and …
Official PYQ2024DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
In a B+\mathrm{B}^+ tree, the requirement of at least half-full (50%)(50 \%) node occupancy is relaxed for which one of the following cases?
Official PYQ2024DatabasesFile Organization and Indexing (B and B+ Trees)MSQ · 1 mark
​​​​​Which of the following file organizations is/are I/O\text{I/O} efficient for the scan operation in DBMS\text{DBMS}?
Official PYQ2023DatabasesFile Organization and Indexing (B and B+ Trees)NAT · 2 marks
Consider a database of fixed-length records, stored as an ordered file. The database has 25,00025,000 records, with each record being 100100 bytes, of which the primary key occupies 1515 bytes. The data file is block-aligned in that each data record is fully contained within a block. The database is indexed by a primary index file, which is also stored as a …
Official PYQ2021DatabasesFile Organization and Indexing (B and B+ Trees)NAT · 1 mark
A data file consisting of 1,50,0001,50,000 student-records is stored on a hard disk with block size of 40964096 bytes. The data file is sorted on the primary key RollNo\textrm{RollNo}. The size of a record pointer for this disk is 77 bytes. Each student-record has a candidate key attribute called ANum\textrm{ANum} of size 1212 bytes. Suppose an index file …
Official PYQ2020DatabasesFile Organization and Indexing (B and B+ Trees)NAT · 2 marks
Consider a database implemented using B+B^+ tree for file indexing and installed on a disk drive with block size of 4 KB\text{4 KB}. The size of search key is 12 bytes\text{12 bytes} and the size of tree/disk pointer is 8 bytes\text{8 bytes}. Assume that the database has one million records. Also assume that no node of the B+B^+ tree and no records are present …
Official PYQ2019DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
Which one of the following statements is NOT correct about the B+B^+ tree data structure used for creating an index of a relational database table?
Official PYQ2017DatabasesFile Organization and Indexing (B and B+ Trees)NAT · 1 mark
In a B+B^+ Tree , if the search-key value is 88 bytes long , the block size is 512512 bytes and the pointer size is 2  B2\;\text{B} , then the maximum order of the B+B^+ Tree is ____
Official PYQ2016DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
B+ Trees are considered BALANCED because.
Official PYQ2015DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
A file is organized so that the ordering of the data records is the same as or close to the ordering of data entries in some index. Then that index is called
Official PYQ2015DatabasesFile Organization and Indexing (B and B+ Trees)NAT · 1 mark
With reference to the B+B^+ tree index of order 11 shown below, the minimum number of nodes (including the Root node) that must be fetched in order to satisfy the following query. "Get all records with a search key greater than or equal to 77 and less than 1515 " is ______.
Official PYQ2015DatabasesFile Organization and Indexing (B and B+ Trees)NAT · 1 mark
Consider a B+B^+ tree in which the search key is 1212 bytes\text{bytes} long, block size is 10241024 bytes\text{bytes}, record pointer is 1010 bytes\text{bytes} long and the block pointer is 88 bytes\text{bytes} long. The maximum number of keys that can be accommodated in each non-leaf node of the tree is ______.
Official PYQ2013DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
An index is clustered, if
Official PYQ2011DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
Consider a relational table rr with sufficient number of records, having attributes A1,A2,…,AnA_1, A_2, \dots ,A_n and let 1≤p≤n1 \leq p \leq n. Two queries Q1Q1 and Q2Q2 are given below. Q1:πA1,…,Ap(σAp=c(r))Q1: \pi_{A_1, \dots ,A_p} \left(\sigma_{A_p=c}\left(r\right)\right) where cc is a constant …
Official PYQ2010DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
Consider a B+B^+-tree in which the maximum number of keys in a node is 55. What is the minimum number of keys in any non-root node?
Official PYQ2009DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
The following key values are inserted into a B+B^+ - tree in which order of the internal nodes is 33, and that of the leaf nodes is 22, in the sequence given below. The order of internal nodes is the maximum number of tree pointers in each node, and the order of leaf nodes is the maximum number of data items that can be stored in it. The B+B^+ - …
Official PYQ2008DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
A B-tree of order 44 is built from scratch by 1010 successive insertions. What is the maximum number of node splitting operations that may take place?
Official PYQ2008DatabasesFile Organization and Indexing (B and B+ Trees)MCQ · 1 mark
A clustering index is defined on the fields which are of type