File Organization Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Indexed Sequential file Access

A

Ordered data within an index

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

Sequential Access

A

One record after another

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

Hashing algorithms

A

Direct computation of storage location

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

Direct/Random Access

A

Efficient data retrieval using hash function

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

How to compare hashing algorithms

A

Compare the number of collisions that occur when given an example data set

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

How is The overall efficiency of a hashing algorithm determined

A

It’s determined by the number of records placed in the same block

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

How do indexed sequential files work

A

They contain an index that groups the data into logical chunks. So when searching for a file you first only have to search for the chunk.

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

How does indexing files make the addition of files more complicated

A

Each time a record is added to a group then the start position of all subsequent chunks will be different, this means that all subsequent points will need to be updated

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

How would you make indexed files more efficient if it takes a long time to search through the index

A

Add another layer of indexing

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

What is the ultimate goal of multi-level index sequences

A

To limit the number of times a file is accessed

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