File Allocation Flashcards

1
Q

What is a filing system?

A

It is like an index in the back of a book that tells the OS exactly where to find the file on the drive

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

How does an OS mark its files for the filing system?

A

If marks files so you know where they start and end, and where exactly they are stored or located

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

What is Binary?

A

a two digit counting system 0’s and 1’s, used by computers and networks

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

What is a “Bit”?

A

one binary digit, a 0 or a 1

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

What is a “Byte”?

A

a grouping of 8 bits

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

How many Bytes is 1 kilobyte?

A

1,000 Bits

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

How many Bytes is 1 Megabyte?

A

1,000,000 Bits

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

How many Bytes is 1Gigabyte?

A

1 Billion Bits

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

How many Bytes is 1 Terabyte?

A

1 Trillion Bits

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

What is Physical vs. Logical?

A

Physical is what you the user can see, Logical is what the Computer/Network can see

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

What are Sectors and Clusters?

A

Units of Storage, Indexing

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

What is a Sector?

A

512 Bytes, a Physical Representation on the drive, Physical divisions

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

What is a Cluster?

A

A Logical Concept done by the OS, clusters are decided by the OS, reducing the number of entries in our file index.

Standard is usually 8 Sectors per Cluster, or 4,096 Bytes

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

What are the 2 cardinal rules for Clusters?

A

1) All Clusters have to be the same size

2) They cannot be shared

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

What is File Fragmentation?

A

A File is fragmented when its clusters are not in consecutive order

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

**What does it mean to “Delete” a file?

A

You are telling the filing system that the spot the deleted file is in is now available, you just erase the entry in the index and wait for it to be overwritten by a new file that is stored in its place

17
Q

**What is Slack Space?

A

the space between the end of the file and the end of the cluster

18
Q

**When is data permanently gone?

A

When it is overwritten

19
Q

Why choose larger clusters? Why not choose larger Clusters?

A

Advantages:

1) less chance for fragmentation
2) Speed

Disadvantages

1) less space on your HD for other files
2) a lot more slack space