The University of Texas at Dallas--Computer Science Program

CS 4348.501—Quiz IV          

Name:_____________________

UTD ID Num:_________________

 

1.      Consider a file system similar to the version 6 file system. The only changes are the following: (a) Blocks are 2K Bytes in length instead of 512 bytes, (b) the addr array has 32 elements (instead of 8 elements) and all of the 32 elements can point to either direct blocks or all of them can point to indirect blocks, (c) it takes 4 bytes to represent a block address and size is stored in 32 bits. What is the maximum size of a file? Show your work.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2.      Why are FIFO and Shortest Seek Time First disk scheduling algorithms are not used in practice ?