U2) Memory mgmt & Storage Mgmt Flashcards

(17 cards)

1
Q

What is Memory Management in OS?

A

It manages RAM allocation, tracks memory usage, and handles allocation/deallocation.

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

What is Swapping?

A

Moving inactive processes to disk temporarily to free up RAM.

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

What is Contiguous Memory Allocation?

A

Memory is divided into fixed/variable blocks; one block per process.

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

What is External Fragmentation?

A

Unused memory between allocated partitions in contiguous allocation.

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

What is Segmentation in memory management?

A

Memory divided into logical segments like code, data, stack.

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

What is Paging in OS?

A

Divides memory into fixed-size pages and frames to remove external fragmentation.

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

What does a Page Table do?

A

Maps logical pages to physical frames.

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

What is Virtual Memory?

A

Extends RAM using disk space; allows large programs to run.

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

What is Demand Paging?

A

Loads a page only when it is needed.

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

Name 3 Page Replacement Algorithms.

A

FIFO, LRU, Optimal.

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

What is File System Structure?

A

Organizes and stores data in files and directories.

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

Name 3 File Access Methods.

A

Sequential, Direct, Indexed.

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

Name 3 Directory Structures.

A

Single-level, Two-level, Tree (Hierarchical).

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

What is Disk Structure?

A

Disk is divided into sectors and tracks; must be formatted.

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

Name 3 File Allocation Methods.

A

Contiguous, Linked, Indexed.

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

What does Disk Scheduling do?

A

Decides the order in which disk I/O requests are served.

17
Q

Name 4 Disk Scheduling Algorithms.

A

FCFS, SSTF, SCAN, LOOK.