CSC 342 Computer Operating Systems: Main Memory Study Notes

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

1/13

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:46 PM on 3/30/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

14 Terms

1
New cards

What must be done for a program to run in memory?

The program must be brought from disk into memory and placed within a process.

2
New cards

What are the only storage types that the CPU can access directly?

Main memory and registers are the only storage types that the CPU can access directly.

3
New cards

What is the purpose of the base and limit registers?

A pair of base and limit registers define the logical address space. The CPU checks memory access to ensure it is within the limits for that user.

4
New cards

What are logical and physical addresses?

A logical address is generated by the CPU (also called a virtual address), while a physical address is the actual address seen by the memory unit.

5
New cards

What is the function of the Memory-Management Unit (MMU)?

The MMU maps virtual addresses to physical addresses at runtime.

6
New cards

What is dynamic relocation?

Dynamic relocation uses a relocation register to map logical addresses to physical addresses, allowing routines to not be loaded until called.

7
New cards

What is context switch time?

Context switch time includes the time to swap out a process and swap in the target process, which can be very high, especially for large processes.

8
New cards

What is contiguous allocation in memory management?

Contiguous allocation is an early method of memory management that allocates memory in contiguous sections for OS and user processes.

9
New cards

What is fragmentation in memory allocation?

Fragmentation occurs when processes cannot be assigned to memory blocks due to their small size; it can be internal or external.

10
New cards

What is the difference between internal and external fragmentation?

Internal fragmentation occurs when allocated memory is slightly larger than requested, while external fragmentation happens when total memory exists to fulfill a request, but it is non-contiguous.

11
New cards

What is a segment in segmentation?

A segment is a logical unit of a program that can include main programs, procedures, functions, and more.

12
New cards

How does paging avoid problems of fragmentation?

Paging divides physical memory into fixed-sized blocks called frames, thus avoiding external fragmentation and the need for compaction.

13
New cards

What is a page table?

A page table is a data structure used in paging that maps logical addresses to physical addresses.

14
New cards

What is the purpose of the translation look-aside buffer (TLB)?

The TLB is a special fast-lookup hardware cache that helps solve the two memory access problem in a paging environment.

Explore top flashcards

flashcards
Cold War People
21
Updated 747d ago
0.0(0)
flashcards
Ven Conmigo 2-1
42
Updated 1232d ago
0.0(0)
flashcards
Unit 4: Ancient Greece
21
Updated 956d ago
0.0(0)
flashcards
Cold War People
21
Updated 747d ago
0.0(0)
flashcards
Ven Conmigo 2-1
42
Updated 1232d ago
0.0(0)
flashcards
Unit 4: Ancient Greece
21
Updated 956d ago
0.0(0)