Question 10826 – Algorithm-Paradigms
February 13, 2024Functions
February 13, 2024Question 10827 – Algorithm-Paradigms
Consider a large disk file containing records each of considerable size and an identification key. Which of the following methods is suitable to organize the file for faster access to a record given its key?
Correct Answer: A
Question 4 Explanation:
Using Primary key indexing all records can be accessed faster.Primary key indexing is based on a key attribute where all the elements of key attribute are arranged in sorted manner.
Apply Keysorting and maintain an index to the randomly ordered disk file
Sort the records of the disk file using Merge sort
Sort the records of the disk file using Quick sort
Apply keysorting and accordingly sort the records of the disk file
