Operating System - File System

16:  

Number of minimal set of required file operations are

A.

two

B.

four

C.

five

D.

six

 
 

Option: D

Explanation :

Six basic file operations

  1. Creating a file.

  2. Writing a file. 

  3. Reading a file. 

  4. Repositioning within a file. 

  5. Deleting a file. 

  6. Truncating a file. 

Click on Discuss to view users comments.

Write your comments here:



17:  

Which types of file organization are supported by magnetic tape?

A.

random files

B.

contiguous sequential file

C.

indexed sequential file

D.

all of these

 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Gokulnath said: (4:05pm on Sunday 30th April 2017)
Answer C:The entire tape had to be written before it was rewoundand read, because tapes are by nature sequential-access devices. Disk systemseliminated this problem by being random-access devices.

Write your comments here:



18:  

Shared sub-directories and files are example of

A.

a cyclic graph directory

B.

tree structured direction

C.

one level directory

D.

none of these

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



19:  

Consider six files : F1, F2, F3, F4, F5, F6 with corresponding sizes 100, 200, 70, 40, 250 and 50 respectively, the files are to be stored on a sequential device in such a way that as to optimize access time. In what order should the files be stored?

A.

F6, F5, F4, F3, F2, F1

B.

F1 F2, F3, F4, F5, F6

C.

F5, F2, F1, F3, F6 , F4

D.

F4, F6, F3, F1 F2, F5

 
 

Option: D

Explanation :

Files are arranged according to ascending order of size.

Click on Discuss to view users comments.

Write your comments here:



20:  

Which type of design problem in file system?

A.

How the file system should look to the user

B.

Algorithm and data structure must be created to map the logical file system onto the secondary storage device

C.

Both (a) and (b)

D.

None of these

 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Write your comments here: