Operations Systems C3 Flashcards

1
Q

What are the areas of improvement addressed by virtual memory systems?

A

continuous program storage

placement of the entire program in memory during execution

enhance Memory Manager performance
( particularly with cache memory)

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

How is an incoming job handled in paged memory allocation?

A

The incoming job is divided into pages of equal size, and memory manager tasks prior to program execution include determining the number of pages, locating empty page frames in main memory, and loading all program pages into these frames.

the mem managers task is to determine the no pages thats available and locate them to the empty page frames in the main memory

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

How does demand paging differ from paged memory allocation?

A

Demand paging loads only a part of the program into memory, removing the restriction of having the entire program in memory. It requires high-speed page access and exploits programming techniques for modules that are not needed simultaneously

very similar to page mem allocation - however pages are ONLY loaded when acutally needed,It removes the restriction of having the entire program in memory

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

What are two well-known page replacement algorithms?

A

Two well-known page replacement algorithms are First-in First-out (FIFO) and Least Recently Used (LRU).

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

What do the status, referenced, and modified bits in the Page Map Table represent?

A

The status bit indicates whether the page is currently in memory. The referenced bit shows if the page has been recently referenced, and the modified bit signifies whether the page contents have been altered.

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

How is memory allocated in segmented memory allocation?

A

Each job is divided into several segments, with one segment for each module. Memory is allocated dynamically based on the program’s structural modules.

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

What does segmented/demand paged memory allocation combine from segmentation and paging?

A

Segmented/demand paged memory allocation combines the logical benefits of segmentation with the physical benefits of paging.

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

What advantages and disadvantages are associated with virtual memory?

A

Advantages of virtual memory include unrestricted job size,
efficient memory use
support for unlimited multiprogrammig.

Disadvantages include
higher processor hardware costs

increased overhead handling paging interrupts

heightened software complexity

BIG / Bigger jobs / improved memory use / great multitasking
Vs
CHI / Costly hardware / Handling delays / inc complexity

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

How does cache memory improve computer system performance?

A

Cache memory, being a small and high-speed intermediate memory unit, increases processor access speed compared to main memory. It stores frequently used data and instructions.

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

What are the main responsibilities of the Memory Manager in an operating system?

A

The Memory Manager is responsible for allocating memory storage in main memory, cache memory, and registers during program execution, and deallocating memory when the execution is completed.

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

What table is associated with page memory allocation

A

Page map table PMT
-Page No
Page Frame no

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

What are the 3 tables

A

Job Table JT
-job size
- page map table location
…………………………………………………
Page map Table PMT
-Page no
-Page Frame no
………………………………………………….
Memory map table MMT
-Page frame
-State

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