COP4600 Computer Science Module 7 Lecture 3 Flashcards on Memory Allocation

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/25

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

26 Terms

1
New cards

Contiguous Allocation Acronym

All-in-a-Row

2
New cards

Linked List Allocation Acronym

Block

3
New cards

Chained Table Allocation Acronym

FAT

4
New cards

Indexed Allocation Acronym

Index Nodes

5
New cards

Chained Index Allocation Acronym

Index and Linked List

6
New cards

Multi-Level Indexed Allocation Acronym

Tree Structure

7
New cards

Contiguous Allocation

A file's contents are stored in order on the drive; all blocks of a file are kept together contiguously.

8
New cards

What may contiguous allocation suffer from?

External fragmentation.

9
New cards

Why may problems arise in contiguous allocation?

If files grow or if the exact size of a file is unknown at creation time.

10
New cards

Linked List Allocation

Each block holds a pointer to the next.

11
New cards

Why is there no external fragmentation in linked list allocation?

Because blocks of a file do not have to be contiguous, and block sizes are fixed.

12
New cards

What is linked list allocation efficient and inefficient for?

Efficient for sequential access files, but not for random access (must traverse all links).

13
New cards

What is a big problem with linked allocation?

A pointer can be lost or damaged. Doubly linked lists provide some protection, at the cost of additional overhead and wasted space.

14
New cards

Chained Table Allocation

The linked list is chain stored in a table to minimize disk accesses.

15
New cards

Indexed Allocation

Stores locations of each block in an index block referenced by the file control block.

16
New cards

What is limited in a pure index system?

The file size.

17
New cards

Multi-Level Indexed Allocation

We can use direct and indirect blocks to increase maximum file size.

18
New cards

Chained Indexed Allocation

Direct blocks can be used with an additional indirect pointer.

19
New cards

In contiguous file allocation schemes, the content of files are stored...

...purely in order on the drive.

20
New cards

(T/F) Performance of contiguous file allocation schemes are good.

TRUE

21
New cards

Contiguous file allocation may suffer from...

...fragmentation.

22
New cards

In the linked list allocation scheme, reliability partially depends on the pointers...

...not getting lost.

23
New cards

What is an improvement made in chained table allocation (FAT)?

The FAT table can be cached in memory, greatly improving random access speeds.

24
New cards

Indexed allocation stores locations of each block...

...in an index block referenced by the FCB.

25
New cards

Fill in the Blank:

We can use ______ and ________ blocks to increase maximum file size.

1. direct

2. indirect

26
New cards

Fill in the Blank:

Some systems use contiguous access for _____ _____ and an indexed scheme when ____ _____ surpass a certain _________.

1. small

2. files

3. file

4. sizes

5. threshold