Quiz 8 Flashcards

1
Q

What is “file system”?

A

File systems (or filesystems) are the mechanism in OS that controls how data is stored and retrieved in storage devices

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

What are the possible major performance metrics regarding file systems?

A

How quickly access files in a storage device
How efficiently files are stored
How securely store files
How easily users access files

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

What are the essential functions a file system should provide to human users or to an operating system?

A

Storing files
Free-disk space management
Disk space allocation for each file
User interface
Access control

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

What are “executable files”? Mention one example of file extension for “executable files”.

A

They are a set of machine code the computer runs

.exe

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

What are “regular files”? Mention three examples of file extension for “regular files”. (one from each of three different categories).

A

Files that the human user creates image file .png text file .txt music file .mp3

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

What are “special files”? Mention three examples of “special files”.

A

Files that the operating system creates
.tmp .log .sys

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

What are the two major internal files organizations?

A

Character sequence, Block sequence

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

What are “sequential access files”?

A

Data in a file can be accessed from the beginning of a file to the end

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

What are “random access files”?

A

Data in a file can be accessed from anywhere within a file

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

What are the three major methods for file space allocation?

A

Contiguous allocation
Linked-List (“chained”)
Indexed

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

What is the primary advantage in using contiguous file space allocation (“the relative advantage compared to the non-contiguous allocation)? What is the primary disadvantage in using contiguous file space allocation (“the relative disadvantage compared to the non-contiguous allocation)?

A

Fast Access

Fragmentation

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

Describe how “linked-linked list non-contiguous file space allocation” works.

A

Data points to the next chunk of data until the very last disk sector

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

Describe how “index non-contiguous file space allocation” works.

A

Each file has an index block or several index blocks and index blocks contain a list of pointers that point to a file.

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

What types of file access can “sequential access files” and “random access files”? Fill “yes” or “no” for each blank in the following table

A

seq yes no
random yes yes

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