Home » Technical Questions » Database

It is necessary to sort a file before searching a particular item

Correct Answer: May or may not be true

Explanation:

If less work is involved in searching a element than to sort and then extract, then we don’t go for sort


If frequent use of the file is required for the purpose of retrieving specific element, it is more efficient to sort the file.


Thus it depends on situation


← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion