Q:
It is necessary to sort a file before searching a particular item
Answer & Explanation
Answer: C) 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
View Answer
Report Error
Discuss