Which of the following statement is/are correct?
Which of the following statement is/are correct?
Answer: B. An indexed allocation policy affords faster information retrieval than the chained allocation policy.; C. Absolute path names begin by identifying path from the root. — Correct statements: The following statements are correct. An indexed allocation policy affords faster information retrieval than the chained allocation…
- A.
A contiguous allocation is the best allocation policy.
- B.
An indexed allocation policy affords faster information retrieval than the chained allocation policy.
- C.
Absolute path names begin by identifying path from the root.
- D.
None of the above
Attempted by 62 students.
Show answer & explanation
Correct answer: B, C
Correct statements: The following statements are correct.
An indexed allocation policy affords faster information retrieval than the chained allocation policy.
Absolute path names begin by identifying path from the root.
Explanations:
Indexed vs chained allocation: Indexed allocation stores all block addresses of a file in an index block, enabling direct access to any file block. Chained allocation stores a pointer to the next block inside each block, so accessing a specific block often requires traversing pointers sequentially, making random access slower.
Absolute path names: An absolute path gives the full path beginning at the root directory (for example, /home/user/file), so it always starts from the root.
Contiguous allocation is not the best overall: Although contiguous allocation can provide fast sequential and direct access, it suffers from external fragmentation and makes file growth difficult. Other policies (indexed, extent-based) are more flexible and avoid these problems.
Why 'None of the above' is incorrect: Because there are correct statements among the options (the indexed allocation vs chained allocation statement and the absolute path statement), the choice 'None of the above' is not valid.
Final answer: The correct statements are the ones about indexed allocation being faster than chained allocation and about absolute path names beginning at the root.
A video solution is available for this question — log in and enroll to watch it.