OS QUIZ1 REV

5.0(1)
studied byStudied by 9 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

Memory

is a fundamental resource of any

computing device, where it serves as storage and accessibility of data and instructions

2
New cards

memory management

In operating systems, _______________ is

another fundamental aspect of a computer system,where it ensures the efficient and effective use of a system's primary memory (RAM).

3
New cards

Main memory

also known as primary memory or random-access memory (RAM), is the main storage of computer systems that directly interacts with the CPU during the execution of the programs.

4
New cards

Main memory

It holds data and instructions temporarily and loses its data when the device power is interrupted.

5
New cards

Memory management

plays a vital role in modern operating systems, where it handles the gap between the limited memory space of the device and the demand of the user programs

6
New cards

Memory management

Where it involves handling the allocation, deallocation, and organization of data or instructions to ensure the optimization of computers memory resources.

7
New cards

Efficient Resource Utilization

optimize the memory usage to support multiprogramming.

8
New cards

Improved Performance

quick access to data and instructions.

9
New cards

System Stability

prevents crashes and memory conflicts.

10
New cards

Multitasking

enable to handle multiple applications.

11
New cards

Data Security

protects data integrity by restrictions to unauthorized access to every memory space.

12
New cards

Minimize Fragmentation Issues

to avoid unused memory space

13
New cards

Keep track of memory

monitor the status of memory space

14
New cards

Single-User Contiguous Scheme

Commercially available in 1940s and 1950s

Entire program loaded into memory

Contiguous memory space allocated as needed

Jobs processed sequentially

Memory manager performs minimal work

Registers is used to store the address

Accumulator is used to track program size

Disadvantages:

No support for multiprogramming

Not cost effective

Program size must be less than or equal to the

memory size to execute

15
New cards

Fixed Partitions

Commercially available in 1950s and 1960s

It is also called static partitions

Main memory is partitioned

At system startup

One contiguous partition per job

Permits multiprogramming

Partition sizes remain static

Must shut down computer system to reconfigure

Requires:

Protection of the job’s memory space

Matching job size with partition size

16
New cards

first fit

partition scans the memory from top to bottom and allocates the job with the first suitable or empty block that is available or large enough to accommodate the job. As a result, it allots the first sufficiently huge hole.

17
New cards

best fit

assigns a job to the partition that is the smallest and most suitable of the free partitions that are available. In order to identify the smallest hole whose size is higher than or equal to the size of the process, it scans the whole list of holes.

18
New cards

next fit

partition is similar to the first fit; however, the scan will start from the location of the last assignment of job and check the next available or sufficient block.

19
New cards

worst-fit

partition assigns the jobs to the primary memory partition that has the biggest suitable size among all the free partitions. Contrary to the best-fit algorithm, it is to identify the biggest hole and assign it to be processed; it scans the complete list of holes.

20
New cards