File Systems Flashcards

1
Q

What is a file system?

A

A file system is a method and data structure that an operating system uses to manage files on a disk.

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

True or False: A file system only manages the storage of data.

A

False: A file system also manages metadata and provides access to files.

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

Fill in the blank: The __________ file system is commonly used in Unix and Linux operating systems.

A

ext

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

What does FAT stand for in file systems?

A

File Allocation Table

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

Which file system is known for its journaling capability?

A

NTFS (New Technology File System)

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

True or False: Simple file systems do not support complex data structures.

A

True

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

What is the main characteristic of a simple file system?

A

It uses a flat structure with minimal overhead and complexity.

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

Multiple Choice: Which of the following is a feature of simple file systems? A) Security features B) Advanced caching C) Minimal metadata D) Complex permissions

A

C) Minimal metadata

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

What is the purpose of metadata in a file system?

A

Metadata provides information about files such as size, type, and creation date.

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

Fill in the blank: In a simple file system, files are usually stored in __________.

A

a single directory

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

What does the term ‘mounting’ refer to in file systems?

A

The process of making a file system accessible at a certain point in the directory structure.

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

True or False: Simple file systems typically support multiple users.

A

False

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

What is the typical maximum file size limitation in FAT32 file systems?

A

4 GB

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

Multiple Choice: Which of the following is NOT a simple file system? A) FAT16 B) NTFS C) ext2 D) FAT32

A

B) NTFS

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

What is the role of a file descriptor?

A

A file descriptor is an integer that uniquely identifies an open file in a file system.

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

Fill in the blank: The __________ file system is designed for flash storage and is optimized for performance.

A

exFAT

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

What is a key advantage of using a simple file system?

A

Simplicity and ease of implementation.

18
Q

True or False: Simple file systems are often used in embedded systems.

19
Q

What is a limitation of simple file systems regarding file organization?

A

Limited support for hierarchical organization of files.

20
Q

Multiple Choice: Which of the following file systems is specifically designed for small devices? A) ext4 B) exFAT C) NTFS D) ZFS

21
Q

What does the term ‘fragmentation’ refer to in file systems?

A

Fragmentation occurs when files are stored non-contiguously on a disk, leading to inefficient use of space.

22
Q

Fill in the blank: In a simple file system, operations like read and write are typically __________.

A

sequential

23
Q

What is the significance of the root directory?

A

The root directory is the top-level directory in a file system hierarchy.

24
Q

True or False: Simple file systems usually implement access control mechanisms.

25
What type of data structure is commonly used in simple file systems to manage free space?
Bitmaps or linked lists.
26
Multiple Choice: Which of the following is an example of a simple file system? A) ext4 B) FAT32 C) ZFS D) APFS
B) FAT32
27
What is a typical use case for a simple file system?
Storing files on USB drives or memory cards.
28
Fill in the blank: Simple file systems often lack __________ features.
security
29
What is the main difference between FAT16 and FAT32?
FAT32 supports larger volumes and file sizes compared to FAT16.
30
True or False: Simple file systems are suitable for large-scale enterprise applications.
False
31
What is the purpose of file allocation in a file system?
To determine how and where files are stored on a storage medium.
32
What is a file directory?
A file directory is a system for organizing and storing files on a computer or device.
33
True or False: A directory can contain both files and other directories.
True
34
Fill in the blank: The top-level directory in a file system is commonly referred to as the __________.
root directory
35
Which of the following is NOT a type of file directory? A) Hierarchical B) Flat C) Circular D) Network
C) Circular
36
What command is commonly used in Unix-based systems to list the contents of a directory?
ls
37
How does a hierarchical directory structure benefit file organization?
It allows for categorization of files into nested folders, making it easier to locate and manage them.
38
True or False: A file directory can be shared over a network.
True
39
What is the purpose of a directory path?
A directory path specifies the location of a file or directory within the file system.
40
Multiple Choice: Which symbol is commonly used to denote the current directory in command-line interfaces? A) ~ B) . C) / D) ..
B) .
41
What does the term 'directory permissions' refer to?
Directory permissions refer to the access rights that determine who can read, write, or execute files within a directory.