File Access Methods Flashcards

1
Q

What are the common file access methods?

A

1) Sequential access, 2) Direct access, 3) Indexed access.

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

What is sequential file access?

A

Accessing data in a file in a specific, ordered sequence from beginning to end.

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

What is direct file access?

A

Accessing data at arbitrary locations in the file using an offset or index.

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

What is indexed file access?

A

Using a separate index to map key values to locations in the file for faster access.

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