File Systems

Question 1
The index node (inode) of a Unix-like file system has 12 direct, one single-indirect and one double-indirect pointer The disk block size is 4 kB and the disk block addresses 32-bits long. The maximum possible file size is (rounded off to 1 decimal place) __________ GB.
A
1
B
2
C
4
D
8
GATE CSE 2019   Operating System
Question 2
In a file allocation system, which of the following allocation schemes(s) can be used if no external fragmentation is allowed?
I. Contiguous
II. Linked
III. Indexed
A
I and III only
B
II only
C
III only
D
II and III only
GATE CSE 2017 SET-2   Operating System
Question 3
A FAT (file allocation table) based file system is being used and the total overhead of each entry in the FAT is 4 bytes in size. Given a 100x10^{6} bytes disk on which the file system is stored and data block size is 10^{3} bytes, the maximum size of a file that can be stored on this disk in units of 10^{6} bytes is _______.
A
18.7
B
99.6
C
800
D
112
GATE CSE 2014 SET-2   Operating System
Question 4
A file system with 300 GByte disk uses a file descriptor with 8 direct block addresses, 1 indirect block address and 1 doubly indirect block address. The size of each disk block is 128 Bytes and the size of each disk block address is 8 Bytes. The maximum possible file size in this file system is
A
3 KBytes
B
35 KBytes
C
280 KBytes
D
dependent on the size of the disk
GATE CSE 2012   Operating System
Question 5
Using a larger block size in a fixed block size file system leads to
A
better disk throughput but poorer disk space utilization
B
better disk throughput and better disk space utilization
C
poorer disk throughput but better disk space utilization
D
poorer disk throughput and poorer disk space utilization
ISRO CSE 2009   Operating System
Question 6
The data blocks of a very large file in the Unix file system are allocated using
A
contiguous allocation
B
linked allocation
C
indexed allocation
D
an extension of indexed allocation
GATE CSE 2008   Operating System
Question 7
In a particular Unix OS, each data block is of size 1024 bytes, each node has 10 direct data block addresses and three additional addresses: one for single indirect block, one for double indirect block and one for triple indirect block. Also, each block can contain addresses for 128 blocks. Which one of the following is approximately the maximum size of a file in the file system?
A
512 MB
B
2 GB
C
8 GB
D
16 GB
GATE IT 2004   Operating System
Question 8
A unix-style I-node has 10 direct pointers and one single, one double and one triple indirect pointers. Disk block size is 1 Kbyte, disk block address is 32 bits, and 48-bit integers are used. What is the maximum possible file size?
A
2^{24}bytes
B
2^{32}bytes
C
2^{34}bytes
D
2^{48}bytes
GATE CSE 2004   Operating System
Question 9
I/O redirection
A
implies changing the name of a file
B
can be employed to use an existing file as input file for a program
C
implies connecting 2 programs through a pipe
D
None of the above
GATE CSE 1997   Operating System
Question 10
The root directory of a disk should be placed
A
at a fixed address in main memory
B
at a fixed location on the disk
C
anywhere on the disk
D
at a fixed location on the system disk
E
anywhere on the system disk
GATE CSE 1993   Operating System
There are 10 questions to complete.

Leave a Comment

Like this FREE website? Please share it among all your friends and join the campaign of FREE Education to ALL.