Operating system final

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/40

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:12 PM on 5/22/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

41 Terms

1
New cards

What is fixed partitioning?

Memory is split into fixed-size partitions ahead of time.

2
New cards

What is dynamic partitioning?

Partitions are created as needed when processes are loaded.

3
New cards

What is paging?

A process is divided into pages; physical memory is divided into equal-sized frames. Pages map to frames.

4
New cards

What is segmentation?

A process is divided into logical units (segments) of varying sizes.

5
New cards

What is internal fragmentation?

Wasted space inside an allocated memory block.

6
New cards

What is external fragmentation?

Free memory exists, but it's scattered in small holes — no single hole is large enough.

7
New cards

What does compaction do?

Reduces external fragmentation by shuffling memory contents to combine free space into one large block.

8
New cards

What is a page table?

A data structure that maps a page number to a frame number.

9
New cards

What is an inverted page table?

A page table indexed by frame number rather than page number.

10
New cards

What is a page fault?

Occurs when a process accesses a page that is not currently in physical memory — the OS must load it.

11
New cards

What is demand paging?

Only load a page into memory when it is actually needed.

12
New cards

What is prepaging?

Load the needed page plus nearby pages, anticipating future access.

13
New cards

What is the first-fit allocation strategy?

Allocate the first hole that is large enough.

14
New cards

What is the next-fit allocation strategy?

Like first-fit, but the search continues from where the last allocation was made.

15
New cards

What is the best-fit allocation strategy?

Allocate the smallest hole that is large enough

16
New cards

What is local page replacement?

Replace a page belonging to the same process that caused the fault.

17
New cards

What is global page replacement?

Replace a page from any process in memory.

18
New cards

What is a working set?

The set of pages a process is actively using at a given point in time.

19
New cards

What is PFF (Page Fault Frequency)?

A strategy that adjusts a process's memory allocation based on its page fault rate — high rate = give more frames.

20
New cards

What is the difference between a page and a frame?

A page is a fixed-size chunk of a process; a frame is a fixed-size chunk of physical memory. Pages are loaded into frames.

21
New cards

Does paging eliminate external fragmentation?

Yes. Does it eliminate internal fragmentation? No — the last page of a process may not fill its frame completely.

22
New cards

What is a field?

The smallest unit of data (e.g., a single attribute like a name or number).

23
New cards

What is a record?

A collection of related fields.

24
New cards

What is an inode?

A data structure storing a file's metadata (size, permissions, timestamps, pointers to data blocks).

25
New cards

What is a dentry?

A directory entry — maps a file name to its inode.

26
New cards

What is a superblock?

Stores metadata about the entire file system (size, free blocks, etc.).

27
New cards

What is a device driver?

OS-level software that controls a specific hardware device. It is part of the OS

28
New cards

What is logical I/O?

The user/application-level view of I/O (reading records, files).

29
New cards

What is physical I/O?

The actual transfer of bits between memory and a device.

30
New cards

What is contiguous file allocation?

A file is stored in adjacent (contiguous) blocks on disk.

31
New cards

What is a sequential file?

A file where records are accessed in order, one after another.

32
New cards

What is a direct file?

A file where any record/block can be accessed directly by its address.

33
New cards

What is an indexed file?

A file that uses an index structure to locate records.

34
New cards

What is a Type-1 hypervisor?

Runs directly on bare metal hardware — no host OS. Better performance. (e.g., VMware ESXi)

35
New cards

What is a Type-2 hypervisor?

Runs on top of a host OS. Easier to set up, lower performance.

36
New cards

What is Ring 0?

The most privileged CPU execution mode — where the OS kernel runs.

37
New cards

What is Ring 3?

The least privileged mode — where user applications run.

38
New cards

What does DRS do in VMware?

Distributes/balances workloads across hosts in a cluster.

39
New cards

What is Storage VMotion?

Migrates a VM's storage (data) to a different host while the VM is still running.

40
New cards

What is VMware Fault Tolerance?

Keeps a VM running through a hardware failure by maintaining a live shadow copy.

41
New cards

What do Linux capabilities do?

Split the all-or-nothing root privilege into smaller, more granular privileges.