Topics in File Organization and Indexing

Filter by year

File Organization and Indexing questions

Q32

GATE DA 2026 DAFile Organization and IndexingNAT1 mark

Report a problem with Q32

What is wrong?
In a relational database, a B+ Tree Index is to be constructed for a relation on a key field. In a B+ Tree, a Node Pointer points to a sub-tree and a Data Record Pointer points to a block of database records.
Let, Node size = 4096 bytes, Node Pointer size = 10 bytes, Search Key Field size = 11 bytes and Data Record Pointer size = 12 bytes.
The maximum number of Node Pointers that can be present in a non-leaf node of the B+ Tree is ________ . (Answer in integer)
Show answer without attempting

Loading the answer…

Q41

GATE DA 2026 DAFile Organization and IndexingMCQ2 marks−2/3 if wrong

Report a problem with Q41

What is wrong?
Consider a B+ Tree where the maximum number of key values in each leaf node is 2 and the maximum number of pointers in each non-leaf node is 3. Let the content of the B+ Tree be as shown in the figure.
Which of the following options denotes the key value(s) stored in the root node after inserting a key value 3 in the given B+ Tree?
Question figure
Show answer without attempting

Loading the answer…

Q55

GATE DA 2024 DAFile Organization and IndexingMSQ2 marks

Report a problem with Q55

What is wrong?
An OTT company is maintaining a large disk-based relational database of different movies with the following schema:

Movie(ID‾\underline{\text{ID}}, CustomerRating)
Genre(ID‾\underline{\text{ID}}, Name)
Movie_Genre(MovieID‾\underline{\text{MovieID}}, GenreID‾\underline{\text{GenreID}})

Consider the following SQL query on the relation database above:
SELECT *
FROM Movie, Genre, Movie_Genre
WHERE
    Movie.CustomerRating > 3.4 AND
    Genre.Name = “Comedy” AND
    Movie_Genre.MovieID = Movie.ID AND
    Movie_Genre.GenreID = Genre.ID;
This SQL query can be sped up using which of the following indexing options?
More than one option can be correct.
Show answer without attempting

Loading the answer…

0/30 correct0 marks

Related topics in Database Management and Warehousing