Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

UGC-NET | UGC-NET CS 2017 Dec 2 | Question 38

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

Suppose there are six files F1, F2, F3, F4, F5, F6 with corresponding sizes 150 KB, 225 KB, 75 KB, 60 KB, 275 KB and 65 KB respectively. The files are to be stored on a sequential device in such a way that optimizes access time. In what order should the files be stored ?

(A)

F5, F2, F1, F3, F6, F4

(B)

F4, F6, F3, F1, F2, F5

(C)

F1, F2, F3, F4, F5, F6

(D)

F6, F5, F4, F3, F2, F1


Answer: (B)

Explanation:

For access time optimization sort the files in increasing order of file size. So, option (B) is correct.


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Last Updated : 13 Nov, 2022
Like Article
Save Article
Similar Reads