Quiz 9 Flashcards

1
Q

What are the contents in “a file directory”?

A

A list of file names and subdirectories present in the directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

There is no difference between (file) directories and regular files. Then, how do most of the operating systems know which files are regular files and directories?

A

It will specify the file type in the meta data and have specific permissions for a directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What type of file allocation method does MS FAT file systems use (contiguous, linked-list non-contiguous, or indexed non-contiguous)? Justify your solution.

A

Indexed non-contiguous because the File Allocation Table is an index for all the files that exist in the same hard drive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What type of file allocation method does UNIX I-node file systems use (contiguous, linked-list non-contiguous, or indexed non-contiguous)? Justify your solution.

A

Non-Contiguous Indexed The inode (index node) contains pointers (or indices) to these disk blocks, enabling random access to any part of the file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the primary motivations (mention two) of using “clusters” in FAT-16 file system?

A

Speed, takes less time to access as long as they are in the same cluster
Reduced FAT table size

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the primary advantage of UNIX i-node file system (compared to MS FAT-16)?

A

Better disk space utilization MS FAT takes up more space for a small file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the primary advantage of MS FAT-16 file system (compared to UNIX I-node)?

A

Access Speed is Better than UNIX I-node worst case is only 2 disk access while worst case for UNIX is 5 disk access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly