COMP3101-Tutorial9 (1)
COMP3101-Tutorial9 (1)
2. The head of a disk is at track 100 and moving toward the last (innermost) track. There are
requests for cylinders 80, 123, 45, 79, and 130 (in that order. Calculate the average seek length
under each of the following scheduling algorithms:
a. FIFO
b. SSTF
c. SCAN
3. A computer file system uses a 32-bit block address with a block size of 512 bytes. What is the
largest partition this system can support?
4. Windows and Linux use the NTFS and ext2 file systems respectively. Identify which of these
two file systems support(s)neach of the following features:
a. create, open or delete a file
b. tree structured directories
c. case sensitive file and folder names
d. ability to mount one file system onto another file system
e. access control mechanisms
5. A file system uses a 1 KB block size. Each file is identified by an index nodes(i-node) which has
14 pointers. Each of the first 12 pointers points to 1 block of that that the file stores. The 13 th
pointer points to a block that contains 64 pointers each of which points to a block of data. The
14th pointer in an i-node uses double indirect addressing by which the block stores 64 pointers
each of which points to another block of 64 pointers. What is the largest file that this file
system can support?