Flashcards - Computer Systems Week 10_ Operating Systems

1
Q

What does the OS need memory for?

A

Instructions, Static data, Dynamic data (heap or stack)

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

What does the Memory Management subsystem handle?

A

Relocation, Allocation, Protection, Sharing, Logical organisation, Physical organisation

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

What are the three types of address binding?

A

Compile time, Load time, Run-time

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

What does the MMU do?

A

Maps logical memory addresses to physical memory addresses

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

What is fragmentation?

A

Occurs when the hole is not big enough for the program

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

What does paging allow for in memory management?

A

Clear separation between user and system view

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

What is a page fault?

A

Type of exception raised when a process can’t map to a memory page

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

What is the purpose of the Translation Lookaside Buffer (TLB)?

A

To speed up memory reference checking

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

What is Virtual Memory?

A

Memory that appears to exist in main memory but is partially held in secondary storage

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

What is the stack arrangement in memory management?

A

Last In First Out (LIFO)

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

What is a file in terms of non-volatile storage?

A

Basic unit containing meta-data to identify file type or format of data

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

What does a directory service do?

A

Handles file access and maps from names to file ID

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

What kind of data structures do file systems store on the disk?

A

Boot-control block, volume control block, File Control Block, Inodes

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

What is a Directory in computing?

A

A file that contains information about other files and their organisation

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

What is the requirement for directory namespace efficiency?

A

Must allow for quick access

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

What are the advantages of a hierarchical directory structure?

A

Helps solve grouping problems and prevents naming conflicts

17
Q

What is the main disadvantage of single-level directory naming?

A

Naming problems due to different users using the same file name

18
Q

What is dynamic partitioning in memory allocation?

A

OS determines the location in memory as process(es) arrive

19
Q

What is the role of the File Control Block (FCB)?

A

Contains details about ownership, size, permissions, and dates

20
Q

What does the stack in memory management represent?

A

An arrangement created by the OS handed to program for faster access